Re: dig -6 causes bind9 error

From: Nicolas Blais <nicblais_at_clkroot.net>
Date: Tue, 26 May 2009 14:39:51 -0400
On Tue, May 26, 2009 at 2:20 PM, Doug Barton <dougb_at_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.
Received on Tue May 26 2009 - 16:39:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:48 UTC