From owner-freebsd-current@FreeBSD.ORG Tue May 26 18:20:18 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3C7E106566B for ; Tue, 26 May 2009 18:20:18 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 744C38FC14 for ; Tue, 26 May 2009 18:20:18 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 26826 invoked by uid 399); 26 May 2009 18:20:13 -0000 Received: from localhost (HELO ?192.168.1.6?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 26 May 2009 18:20:13 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4A1C32D8.5010202@FreeBSD.org> Date: Tue, 26 May 2009 11:20:08 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Nicolas Blais References: <7061d9f50905261034l39077a73j1cb0bf7b59b54723@mail.gmail.com> In-Reply-To: <7061d9f50905261034l39077a73j1cb0bf7b59b54723@mail.gmail.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: dig -6 causes bind9 error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 18:20:19 -0000 Nicolas Blais wrote: > Hi again, > > On a 8-CURRENT machine and a 7.2-STABLE machine, whenever the command "dig > -6 xxxx" is issued, the following error is printed: Given that you appear to only have an IPv4 server in your /etc/resolv.conf file, why would you expect that to work? The -4 and -6 flags are only relevant when you are using a name server hostname that has both A and AAAA records. That said, I agree that the error message is less than graceful, although dig is apparently trying to be helpful in converting what you've given it into the best IPv6 format it can think of to try and do what you told it to do. hth, Doug