Welcome! Log In Create A New Profile

Advanced

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 8.8.8.8 valid=5s;
and or
resolver_timeout 1s;

Any recommendation to solve it ?

-- shay

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 107
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