From owner-freebsd-questions@FreeBSD.ORG Mon May 10 07:06:53 2004 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 19C7516A4CE for ; Mon, 10 May 2004 07:06:53 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8719843D2F for ; Mon, 10 May 2004 07:06:51 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i4AE6fNF032703 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 May 2004 15:06:41 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i4AE6foo032702; Mon, 10 May 2004 15:06:41 +0100 (BST) (envelope-from matthew) Date: Mon, 10 May 2004 15:06:40 +0100 From: Matthew Seaman To: Mipam Message-ID: <20040510140640.GA32519@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Mipam , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040504, clamav-milter version 0.70u X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: options in /etc/resolv.conf 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: Mon, 10 May 2004 14:06:53 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 10, 2004 at 01:53:01PM +0200, Mipam wrote: > I wish to use the following option in /etc/resolv.conf >=20 > options timeout:40 >=20 > However in man resolv.conf(5) i notice that this option isnt available. > But i read here: >=20 > http://ops.ietf.org/lists/namedroppers/namedroppers.199x/msg03798.html >=20 > that this option is available from bind 8.2 > named -v yields: >=20 > named 8.3.7-REL > Does freebsd use a modified version with not all options which comes in > bind 8.3? FreeBSD uses a pretty standard version of BIND-8.3.7, and it uses the BIND resolver code in libc -- See: http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libbind/Makefile?rev=3D1.= 7&content-type=3Dtext/x-cvsweb-markup The part you're interested in is handled by the code in res_init.c: look for the res_setoptions() function in: http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/bind/lib/resolv/res_i= nit.c?rev=3D1.1.1.8&content-type=3Dtext/x-cvsweb-markup Which suggests that the functionality you require is available, and that the man page is somewhat lacking. Note that the man page isn't supplied with the BIND sources, so it may well have got out of synch. Have you tried using those options in your /etc/resolv.conf? Do they work? 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 --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAn4xwiD657aJF7eIRAt8WAKCX9HYbY8iX3l5Gb6nkwhV8uQVqvACgnIkS RxuTraU8slG1iIeVz2t8GyY= =vijn -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--