dig -6 causes bind9 error
Nicolas Blais
nicblais at clkroot.net
Tue May 26 18:39:53 UTC 2009
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.
More information about the freebsd-current
mailing list