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

shmulik nginx-forum at
Tue Dec 30 11:58:51 UTC 2014

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

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


Posted at Nginx Forum:,255814,255873#msg-255873

More information about the nginx mailing list