Does not work resolving IPv6 addresses via IPv4 DNS-server

Hiroki Sato hrs at FreeBSD.org
Sun Aug 8 04:58:40 UTC 2010


"Vladislav V. Prodan" <universite at ukr.net> wrote
  in <4C5E33BB.50809 at ukr.net>:

un> # host -6 2001:5c0:1000:b::599b 8.8.8.8
un> socket.c:1859: internal_send: ::ffff:8.8.8.8#53: Invalid argument
un> socket.c:1859: internal_send: ::ffff:8.8.8.8#53: Invalid argument
un> ;; connection timed out; no servers could be reached

 The above command specifies IPv4 as the transport to 8.8.8.8.  I
 guess that is not what you want to do.  If you want to resolve an
 IPv6 address by using a name server 8.8.8.8 via IPv4, the following
 should be enough:

 # host 2001:5c0:1000:b::599b 8.8.8.8

 The two options -4 and -6 are useful when the name server is
 specified as a domain name which has both A and AAAA RR.

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20100808/427071e1/attachment.pgp


More information about the freebsd-net mailing list