Re: how to disable nginx internal dns cache?

2013-05-07 Thread nevernet
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. Daniel Posted at Nginx Forum: http://forum.nginx.org/read.php?2,23

Re: how to disable nginx internal dns cache?

2013-05-06 Thread nevernet
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

how to disable nginx internal dns cache?

2013-05-04 Thread nevernet
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