Feature proposal: use names instead of IPv6 addresses

Piotr Sikora piotr.sikora at frickle.com
Wed Jan 13 20:47:32 MSK 2010

> I'm, however, able to specify the IPv6 address directly::
>    listen [1111:2222:3333::1]:80;
> But using the name inside the brackets yields an "invalid IPv6 address" 
> error::
>    listen [www.example.com]:80;
> So, wouldn't it be nicer if nginx supported this syntax?  Or maybe I'm 
> missing

You are missing the fact that [1111:2222:3333::1] is valid IP address, while 
[www.example.com] is invalid hostname, therefore this proposition is simply 

But yeah, it seems that nginx's internal resolver doesn't process AAAA 

Best regards,
Piotr Sikora < piotr.sikora at frickle.com >

More information about the nginx mailing list