[ 
https://issues.apache.org/jira/browse/TS-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080528#comment-13080528
 ] 

Alan M. Carroll commented on TS-592:
------------------------------------

The DNS logic is now fully IPv6 compatible. Currently this only lets you use 
IPv6 addresses for DNS servers but these changes should be sufficient to 
support further IPv6 changes.

Note on notation: Because IPv6 addresses use ':' internally, and ':' is also 
used by DNS configuration to indicate a port, there is a conflict. The 
recommendation in this RFC[1] was used, specifically that the address portion 
can be enclosed in brackets, e.g. [FE80::1234:ABCD:5678]:53 for the address 
FE80::1234:ABCD:5678 on port 53. An IPv6 address used for a DNS server must 
always have surrounding brackets or it will fail to parse. An IPv4 address may 
use brackets or not.

Note on binding link local addresses: This applies to both DNS server addresses 
and local binding (see TS-907). If the address type is link local, it must be 
associated with an interface or it can't be used to bind or connect. You can 
use a trailing '%' followed by an interface name to create this association. 
For instance, [FE80::1234:ABCD:5678%eth0]:53 to for address 
FE80::1234:ABCD:5678 via interface eth0 to port 53.[2]

[1] http://tools.ietf.org/html/rfc5952

[2] I don't know of any official documentation for this but getaddrinfo 
supports it directly.

> request for support of IPV6 AAAA host name resolve
> --------------------------------------------------
>
>                 Key: TS-592
>                 URL: https://issues.apache.org/jira/browse/TS-592
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: DNS
>    Affects Versions: 2.1.5
>            Reporter: Zhao Yongming
>            Assignee: Alan M. Carroll
>             Fix For: 3.1.1
>
>         Attachments: patch-592.txt
>
>
> when we want to make IPV6 OS connections, we definitely need a DNS module 
> that can resolve any hostname to IPV6 address, and we should take care of the 
> HostDB caching too.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to