From owner-freebsd-net@FreeBSD.ORG Sun Aug 8 04:58:40 2010 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AC06106566C for ; Sun, 8 Aug 2010 04:58:40 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id F1E0B8FC0A for ; Sun, 8 Aug 2010 04:58:39 +0000 (UTC) Received: from alph.d.allbsd.org (p2176-ipbf406funabasi.chiba.ocn.ne.jp [124.86.72.176]) (authenticated bits=128) by mail.allbsd.org (8.14.4/8.14.3) with ESMTP id o784wHuD097240; Sun, 8 Aug 2010 13:58:28 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.4/8.14.4) with ESMTP id o784wFOv091331; Sun, 8 Aug 2010 13:58:17 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sun, 08 Aug 2010 13:56:05 +0900 (JST) Message-Id: <20100808.135605.22069970.hrs@allbsd.org> To: universite@ukr.net From: Hiroki Sato In-Reply-To: <4C5E33BB.50809@ukr.net> References: <4C5E33BB.50809@ukr.net> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sun_Aug__8_13_56_05_2010_945)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [133.31.130.32]); Sun, 08 Aug 2010 13:58:33 +0900 (JST) X-Spam-Status: No, score=-99.7 required=13.0 tests=AWL,CONTENT_TYPE_PRESENT, RCVD_IN_CHINA, RCVD_IN_CHINA_KR, RCVD_IN_PBL, RCVD_IN_TAIWAN, SPF_SOFTFAIL, USER_IN_WHITELIST,X_MAILER_PRESENT autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gatekeeper.allbsd.org Cc: freebsd-net@FreeBSD.org Subject: Re: Does not work resolving IPv6 addresses via IPv4 DNS-server X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 04:58:40 -0000 ----Security_Multipart(Sun_Aug__8_13_56_05_2010_945)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Vladislav V. Prodan" 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)----