Summary: | resolver cannot use link-local IPV6 servers | ||
---|---|---|---|
Product: | Base System | Reporter: | clint |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | New --- | ||
Severity: | Affects Some People | CC: | ae, clint, des, slw |
Priority: | --- | ||
Version: | 10.0-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
clint
2014-07-27 15:45:22 UTC
The drill(1) command also doesn't support IPv6 LLA for @server. As I see, ldns_str2rdf_aaaa() function uses inet_pton(3) function to convert IPv6 address from string into uint8_t[] representation. It should use getaddrinfo(3) function, which supports scope zone ids. The problem is that libdns doesn't use sockaddr_in6 structure (where sin6_scope_id field used to store zone id) and it looks isn't easy to convert ldns_str2rdf_aaaa() to use it. |