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

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


Hello!

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

Yes.

> 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).

No.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list