Host /DNS

Matthew Seaman m.seaman at infracaninophile.co.uk
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
http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/net/res_init.c?f=u&only_with_tag=RELENG_4&logsort=date

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
file:///usr/local/share/doc/bind9/arm/Bv9ARM.ch06.html#AEN2127

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

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         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 : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030410/a4149ca5/attachment.bin


More information about the freebsd-questions mailing list