From owner-freebsd-net@FreeBSD.ORG Wed Aug 11 08:31:35 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 6960A1065689; Wed, 11 Aug 2010 08:31:35 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id CAF5A8FC22; Wed, 11 Aug 2010 08:31:34 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id o7B8VWY1057283 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 Aug 2010 10:31:33 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.4/8.14.4) with ESMTP id o7B8VMdE094839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Aug 2010 10:31:22 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id o7B8VMYc084512; Wed, 11 Aug 2010 10:31:22 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id o7B8VM3e084511; Wed, 11 Aug 2010 10:31:22 +0200 (CEST) (envelope-from ticso) Date: Wed, 11 Aug 2010 10:31:22 +0200 From: Bernd Walter To: Doug Barton Message-ID: <20100811083121.GE72720@cicely7.cicely.de> References: <4C5E33BB.50809@ukr.net> <4C5F5532.6050204@ukr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-net@freebsd.org, "Vladislav V. Prodan" 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 Reply-To: ticso@cicely.de List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 08:31:35 -0000 On Sun, Aug 08, 2010 at 06:22:56PM -0700, Doug Barton wrote: > On Mon, 9 Aug 2010, Vladislav V. Prodan wrote: > > >09.08.2010 3:51, Doug Barton ??????????: > >>If you are trying to do something else, let us know and we'll try to > >>help you with it. :) > > > > > >First, remove the output "Invalid argument" > >And instead of an error ";; connection timed out; no servers could be > >reached" give something: "8.8.8.8 is not ipv6 address, make request > >without options -6" It is no timeout - for your system configuration it is just an invalid address. The request isn't send at all, so how can it timeout? > That's a request you'll want to make to ISC who actually writes the BIND > software. I wouldn't make that modification to our local copy. The message is not from bind and it is correct. The IPv4 address is correcty translated into IPv6 address space, but the kernel has no ipv6_ipv4mapping enabled so it correclt refuses sending data to the embedded IPv4 address via IPv6 socket with an "Invalid argument". -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.