Does url resolve support ipv6?

Maxim Dounin mdounin at mdounin.ru
Mon Feb 21 15:05:44 MSK 2011


Hello!

On Mon, Feb 21, 2011 at 02:46:30AM -0500, speedfirst wrote:

> I have several upstream servers, which are configured like this:
> 
> upstream backend {
>   ip_hash;
>   server   backend1.example.com;
>   server   backend2.example.com;
>   server   backend3.example.com  down;
>   server   backend4.example.com;
> }
> 
> each server has ONLY IPv6 address. But seems nginx can't parse it to
> that address, and report an error like this "[error] host not found".
> 
> Is this a bug or meant not to be supported yet?

IPv6 currently only supported in listen directive.  That is, there 
is more than one issue when trying to proxy to IPv6 addresses.

Maxim Dounin



More information about the nginx mailing list