From owner-freebsd-questions@FreeBSD.ORG Mon May 31 01:16:47 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 2397916A4CE for ; Mon, 31 May 2004 01:16:47 -0700 (PDT) Received: from thalia.otenet.gr (thalia.otenet.gr [195.170.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B63043D3F for ; Mon, 31 May 2004 01:16:46 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a117.otenet.gr [212.205.215.117]) by thalia.otenet.gr (8.12.10/8.12.10) with ESMTP id i4V8GPVn019707; Mon, 31 May 2004 11:16:31 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.11/8.12.11) with ESMTP id i4V8GOLd035602; Mon, 31 May 2004 11:16:24 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.11/8.12.11/Submit) id i4V8GHhD035601; Mon, 31 May 2004 11:16:17 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 31 May 2004 11:16:17 +0300 From: Giorgos Keramidas To: Matthew Seaman , adp , freebsd-questions@freebsd.org Message-ID: <20040531081617.GA35577@gothmog.gr> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040531072033.GB50113@happy-idiot-talk.infracaninophile.co.uk> Subject: Re: Can I specify the resolver timeout? 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, 31 May 2004 08:16:47 -0000 On 2004-05-31 08:20, Matthew Seaman 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