DNS Caching Issue For community version

Mihai Vintila unixro at gmail.com
Thu May 12 09:51:36 UTC 2016


 From Manual:

By default, nginx caches answers using the TTL value of a response. An 
optional|valid|parameter allows overriding it:

    resolver 127.0.0.1 [::1]:5353 valid=30s;

    Before version 1.1.9, tuning of caching time was not possible, and
    nginx always cached answers for the duration of 5 minutes.

Best regards,
Vintila Mihai Alexandru

On 5/12/2016 12:36 PM, RT.Nat wrote:
> Troubled up in DNS caching of the IP address for a given DNS name.
>
> Adding the solution given below does not solve the problem of DNS caching in
> NGINX.
>
> resolver 8.8.8.8;
> set $upstream_endpoint https://example.net:8080;
> location / {
>      proxy_pass $upstream_endpoint;
> }
>
> Is there any solutions?
>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266857,266857#msg-266857
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160512/893fb339/attachment.html>


More information about the nginx mailing list