Welcome! Log In Create A New Profile

Advanced

Re: Resolver not re-resolving new ip address of an AW ELB

November 02, 2017 06:06AM
On Tue, Oct 31, 2017 at 01:26:45PM -0400, RKGood wrote:
> Thank you for your replies. I think we have found the root cause. We have
> found below:
>
> When you are using variables in a proxy_pass directive, nginx will use
> runtime resolving except if :
> the target server is declared as an IP address

There's nothing to resolve if it's an address.

> the target server name is part of an upstream server group

Not part, but the upstream group name. This is documented in the
http://nginx.org/r/proxy_pass directive as follows:

: Parameter value can contain variables. In this case, if an address
: is specified as a domain name, the name is searched among the
: described server groups, and, if not found, is determined using
: a resolver.

> the target server name has already been resolved (e.g. it matches a
> server name in another server block)

nginx has its own resolver cache. By default, nginx uses DNS TTL.
If that's not desirable for some reasons, you can control the validity
of cached entries by using the "valid" parameter of the "resolver"
directive, please see http://nginx.org/r/resolver for details.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Resolver not re-resolving new ip address of an AW ELB

RKGood October 27, 2017 02:58PM

Re: Resolver not re-resolving new ip address of an AW ELB

RKGood October 27, 2017 03:00PM

Re: Resolver not re-resolving new ip address of an AW ELB

RKGood October 30, 2017 11:54AM

Re: Resolver not re-resolving new ip address of an AW ELB

Nishikubo Minoru October 30, 2017 09:14PM

Re: Resolver not re-resolving new ip address of an AW ELB

pankaj@releasemanager.in October 30, 2017 11:25PM

Re: Resolver not re-resolving new ip address of an AW ELB

RKGood October 31, 2017 01:26PM

Re: Resolver not re-resolving new ip address of an AW ELB

ru@nginx.com November 02, 2017 06:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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