Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2009 14:39:51 -0400
From:      Nicolas Blais <nicblais@clkroot.net>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: dig -6 causes bind9 error
Message-ID:  <7061d9f50905261139i6ce4035fi541530f82c1e500f@mail.gmail.com>
In-Reply-To: <4A1C32D8.5010202@FreeBSD.org>
References:  <7061d9f50905261034l39077a73j1cb0bf7b59b54723@mail.gmail.com> <4A1C32D8.5010202@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 26, 2009 at 2:20 PM, Doug Barton <dougb@freebsd.org> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7061d9f50905261139i6ce4035fi541530f82c1e500f>