Quantcast
Viewing all articles
Browse latest Browse all 23908

DNS cache in nginx

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

Viewing all articles
Browse latest Browse all 23908

Trending Articles