Welcome! Log In Create A New Profile

Advanced

how to force DNS lookups

Posted by fancyladd 
how to force DNS lookups
June 02, 2011 07:58PM
Hi,

From what I have observed as well as been told is that nginx performs DNS resolution only once, upon startup. Is there some way to forge nginx to perform DNS lookups at a defined interval? The problem is that the ip addresses of our upstream servers change from time-to-time and this obviously causes problems. We don't have an option of making the upstream ip addresses static and having to restart nginx to fix these issues is something we are hoping we won't have to do.

Thanks
Re: how to force DNS lookups
June 15, 2011 06:08AM
Well you got interesting point please some one please answer
Re: how to force DNS lookups
February 20, 2012 06:48AM
Although I imagine you've resolved this already, for more info have a look at http://gc-taylor.com/blog/2011/11/10/nginx-aws-elb-name-resolution-resolvers/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 303
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