Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2004 11:16:17 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>, adp <dap99@i-55.com>, freebsd-questions@freebsd.org
Subject:   Re: Can I specify the resolver timeout?
Message-ID:  <20040531081617.GA35577@gothmog.gr>
In-Reply-To: <20040531072033.GB50113@happy-idiot-talk.infracaninophile.co.uk>
References:  <036501c44668$3b35ef30$6501a8c0@yourqqh4336axf> <20040531031209.GA3089@gothmog.gr> <016f01c446bf$29bdf7f0$6501a8c0@yourqqh4336axf> <20040531033857.GB3260@gothmog.gr> <20040531072033.GB50113@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-05-31 08:20, Matthew Seaman <m.seaman@infracaninophile.co.uk> wrote:
> On Mon, May 31, 2004 at 06:38:58AM +0300, Giorgos Keramidas wrote:
> > Hmmm, I *am* running 5.X.  Looking at the manpage source I see that this
> > option's missing from the 4.X sources :(
>
> This came up on the list quite recently.  The source for the FreeBSD
> resolver.5 man page (/usr/src/share/man/man5/resolver.5) is maintained
> separately from the equivalent BIND source contributed from the ISC
> (/usr/src/contrib/bind/doc/man/resolver.5) The 'timeout:' and
> 'attempts:' entries in the FreeBSD man page are there in HEAD and have
> been for 5 months, but (despite the CVS comment on version 1.10 of the
> page) haven't been MFC'd to RELENG_4 or RELENG_5_2 yet.
>
> Whether this means that support is available in the underlying
> resolver libraries is another question.

I just looked at the sources of src/lib/libc/net/res_init.c and it seems
that support for "timeout:" only exists in CURRENT.  RELENG_4,
RELENG_5_0, RELENG_5_1 and RELENG_5_2 lack the part of res_init.c that
sets the timeout to the value configured in the `resolv.conf' file.

I'm not sure if there are any plans to merge this back to 4.X or the
release branches of 5.X though.

- Giorgos



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