Hi, Maxim thanks for you replies. i have already checked out the problem. Yes ,the nginx will re-resolve the domains unless reload the configuration. this is my problem. because i am using Dynamic IP address. thank you. Danielby nevernet - Nginx Mailing List - English
i have resolver define, see below configuration: server { listen 80; server_name xx.com; access_log /var/log/nginx/xx-nginx.access.log; error_log /var/log/nginx/xx-nginx_error.log debug; # resolver 8.8.8.8; # resolver_timeout 1s; #set your default location location / { # resolver 8.8.8.8 valid=5s; # i have defined resolver at here ,and also tried to add it in "httby nevernet - Nginx Mailing List - English
my network structure is: proxy server 1(nginx)-->proxy server2(nginx)-->web server proxy server2 has dynamic ip address. the ip address will be changed untime. so i use one domain for it: p2.domain.com. but proxy server1(nginx) has been cached the ip of domain: p2.domain.com. so when the new ip was assigned to p2.domain.com, but proxy server1(nginx) still has old ip address.by nevernet - Nginx Mailing List - English