Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 2004 15:06:40 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Mipam <mipam@ibb.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: options in /etc/resolv.conf
Message-ID:  <20040510140640.GA32519@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <Pine.LNX.4.33.0405101349460.6283-100000@ux1.ibb.net>
References:  <Pine.LNX.4.33.0405101349460.6283-100000@ux1.ibb.net>

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

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



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