options in /etc/resolv.conf

Mipam mipam at ibb.net
Wed May 12 02:08:52 PDT 2004


On Mon, 10 May 2004, Matthew Seaman wrote:

> 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=1.7&content-type=text/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_init.c?rev=1.1.1.8&content-type=text/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?

I have tried the options.
options timeout:60
I added it to /etc/resolv.conf
However, it doesnt seem to work, because the timeout period is still 40
seconds. Weird enough are nowhere errors detectable that the options isnt
possible or anything.
Bye,

Reinoud.



More information about the freebsd-questions mailing list