How Nginx behaves with "proxy_bind" and DNS resolver with non matching ip versions between bind ip and resolved ip?

Maxim Dounin mdounin at
Mon Jan 5 06:04:45 UTC 2015


On Tue, Dec 30, 2014 at 06:58:51AM -0500, shmulik wrote:

> Thank you.
> So if i understood correctly:
> When i bind an ipv6 address, and the resolver returns 1 ipv4 address and 1
> ipv6 address - if the first attempted address is the ipv4 address, the
> result will be an error + sending back to the client a "500 Internal Server
> Error"?


> In such scenarios, is there any way i can tell Nginx to skip the non
> matching ip version? (i.e. in the above example, to skip directly to the
> resolved ipv6 address).


Maxim Dounin

More information about the nginx mailing list