Host /DNS

Matthew Seaman m.seaman at
Thu Apr 10 04:36:31 PDT 2003

On Thu, Apr 10, 2003 at 10:06:03AM +0000, Tiago Andre wrote:

>    I have a ipv6 network whit a dns server...
>    How do i say to a host in the my network the location of the dns
>    server

Interesting.  The resolver(5) man page makes no mention of IPv6 --- by
implication it expects IPv4 dot notation addresses in
/etc/resolv.conf.  That would seem to be contradicted by the libc
source code in src/lib/libc/net/res_init.c, and the change logs at

Although there is also src/contrib/bind/lib/resolv/res_init.c
which isn't compiled into the default libc as far as I can tell.

Documentation seems to be in src/share/examples/IPv6/USAGE.  However,
in summary it seems that adding

    options edns0
    nameserver abcd:ef00::001       <- your nameserver address here..

to your /etc/resolv.conf and querying against a BIND9 server
configured using the listen-on-v6 directive in named.conf should be
sufficient.  If you've installed tha BIND9 port, look at

I haven't got access to a setup with sufficient IPv6 capability to be
able to test that properly though.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list