Welcome! Log In Create A New Profile


DNS cache in nginx

July 04, 2015 02:44AM
Hello ,

I have an A record which resolve to 2 CNAME's , the DNS failover will
make the switch if something go wrong .

The problem is that after a change the nginx stick to the OLD IP
unless I reload it ..
any way the Caching can be disabled ?
I tried the following with no success :
add valid for the resolver ,
resolver valid=5s;
and or
resolver_timeout 1s;

Any recommendation to solve it ?

-- shay

nginx mailing list
Subject Author Posted

DNS cache in nginx

shyperetz July 04, 2015 02:44AM

Re: DNS cache in nginx

Maxim Dounin July 06, 2015 10:32AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 319
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