Welcome! Log In Create A New Profile

Advanced

how to disable nginx internal dns cache?

May 04, 2013 08:42AM
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.

i have searched on google, somebody said that nginx will cache the dns entry for 300 seconds(5minutes), but after 5 minutes ,event after 5 hours , the proxy server1(nginx) still has old ip address,

please help me, any ideas will be appreciated.

thank you
SubjectAuthorPosted

how to disable nginx internal dns cache?

nevernetMay 04, 2013 08:42AM

Re: how to disable nginx internal dns cache?

Francis DalyMay 04, 2013 09:06AM

Re: how to disable nginx internal dns cache?

nevernetMay 06, 2013 09:31AM

RE: how to disable nginx internal dns cache?

Lukas TribusMay 06, 2013 09:54AM

Re: how to disable nginx internal dns cache?

Maxim DouninMay 06, 2013 10:00AM

Re: how to disable nginx internal dns cache?

nevernetMay 07, 2013 04:51AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 64
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 156 on March 20, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready