From owner-freebsd-current@FreeBSD.ORG Tue May 26 18:39:52 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 BBFA3106564A for ; Tue, 26 May 2009 18:39:52 +0000 (UTC) (envelope-from clkroot@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 0BD688FC14 for ; Tue, 26 May 2009 18:39:51 +0000 (UTC) (envelope-from clkroot@gmail.com) Received: by bwz9 with SMTP id 9so4114870bwz.43 for ; Tue, 26 May 2009 11:39:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=XPOG+7OoZL4DUz3R6Gc+YyRVpMqtqXl5Mo2PnwtHDmg=; b=wrJYdKNIlGr8pmaJM9Tte0RTeowR/A5Z80n5vRd9TvC3bnM2RSn8xS7XUoKIcisguk KU6xlNKA9iQRxwX8hR59qZ6mR+kspv32ajtssK/MryIlEDiH551WAD8XV8NOVxfVqtt3 /jOGbk0+p5vcqLdXBKv0HfyzSJyosTNEI5TOU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=GcKBvmCAOjOF9WmMzAzr3NaGSSlTygxppCWG6Nl0c/YIC+bwNmycTGV9IvO6JBHke3 kshoApZyk5wANQzrjYsQxQe1qSNlhSGDhrDfYUIW2a9Dok1K9EIw/5YFGIHVHlfZYTWF 0rCyFlZj6OHDzrXyXuSXT/ZpPQTDw4q9czagU= MIME-Version: 1.0 Sender: clkroot@gmail.com Received: by 10.204.97.140 with SMTP id l12mr8462720bkn.133.1243363191053; Tue, 26 May 2009 11:39:51 -0700 (PDT) In-Reply-To: <4A1C32D8.5010202@FreeBSD.org> References: <7061d9f50905261034l39077a73j1cb0bf7b59b54723@mail.gmail.com> <4A1C32D8.5010202@FreeBSD.org> Date: Tue, 26 May 2009 14:39:51 -0400 X-Google-Sender-Auth: 8f29a92e770bd2e9 Message-ID: <7061d9f50905261139i6ce4035fi541530f82c1e500f@mail.gmail.com> From: Nicolas Blais To: Doug Barton Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:39:53 -0000 On Tue, May 26, 2009 at 2:20 PM, Doug Barton wrote: > 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 > My bad then. Oddly enough, I can resolve correctly ipv6-only domains (from the ipv4 dns list in resolv.conf), so I was wondering why dig couldn't give me the output I asked. Thanks, Nicolas.