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
Subject Author Posted

how to disable nginx internal dns cache?

nevernet May 04, 2013 08:42AM

Re: how to disable nginx internal dns cache?

Francis Daly May 04, 2013 09:06AM

Re: how to disable nginx internal dns cache?

nevernet May 06, 2013 09:31AM

RE: how to disable nginx internal dns cache?

Lukas Tribus May 06, 2013 09:54AM

Re: how to disable nginx internal dns cache?

Maxim Dounin May 06, 2013 10:00AM

Re: how to disable nginx internal dns cache?

nevernet May 07, 2013 04:51AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 261
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready