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?
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?