Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2003 12:36:24 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        questions@freebsd.org
Subject:   Re: Host /DNS
Message-ID:  <20030410113624.GA73660@happy-idiot-talk.infracaninophi>
In-Reply-To: <F50iB0AQxHs7UJEsG1X00063ee3@hotmail.com>
References:  <F50iB0AQxHs7UJEsG1X00063ee3@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

>    I have a ipv6 network whit a dns server...
>=20
>    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=3Du&onl=
y_with_tag=3DRELENG_4&logsort=3Ddate

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

--=20
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

--UlVJffcvxoiEqYs2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+lVc4dtESqEQa7a0RAmrjAJ4iH1M+rahquTHeIqds/QBDyUKKRgCfbdHu
fIPLjyWHt88f/IZuWKOZTbs=
=afeJ
-----END PGP SIGNATURE-----

--UlVJffcvxoiEqYs2--



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