From owner-freebsd-questions@FreeBSD.ORG Thu Apr 10 04:36:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6071837B401 for ; Thu, 10 Apr 2003 04:36:31 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DCFD43F85 for ; Thu, 10 Apr 2003 04:36:29 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h3ABaOHF074311 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 10 Apr 2003 12:36:24 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h3ABaOP3074310 for questions@freebsd.org; Thu, 10 Apr 2003 12:36:24 +0100 (BST) Date: Thu, 10 Apr 2003 12:36:24 +0100 From: Matthew Seaman To: questions@freebsd.org Message-ID: <20030410113624.GA73660@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-38.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) Subject: Re: Host /DNS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 11:36:31 -0000 --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--