DNS cache in nginx
shay at peretz.in
Sat Jul 4 06:42:06 UTC 2015
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 126.96.36.199 valid=5s;
Any recommendation to solve it ?
More information about the nginx