Date: Sun, 08 Aug 2010 13:56:05 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: universite@ukr.net Cc: freebsd-net@FreeBSD.org Subject: Re: Does not work resolving IPv6 addresses via IPv4 DNS-server Message-ID: <20100808.135605.22069970.hrs@allbsd.org> In-Reply-To: <4C5E33BB.50809@ukr.net> References: <4C5E33BB.50809@ukr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Sun_Aug__8_13_56_05_2010_945)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Vladislav V. Prodan" <universite@ukr.net> wrote in <4C5E33BB.50809@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 ----Security_Multipart(Sun_Aug__8_13_56_05_2010_945)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkxeOOYACgkQTyzT2CeTzy1BHgCglRUDyPPoMrNsmKILD+Ra6ENl HfEAn1DCekNotwbpdrQZq617P8R0+Aj/ =VNmA -----END PGP SIGNATURE----- ----Security_Multipart(Sun_Aug__8_13_56_05_2010_945)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100808.135605.22069970.hrs>