From owner-freebsd-questions@FreeBSD.ORG Mon May 31 00:20: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 1A4E116A4CE for ; Mon, 31 May 2004 00:20:53 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5201C43D46 for ; Mon, 31 May 2004 00:20:52 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i4V7KXxF050603 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 May 2004 08:20:33 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i4V7KXsd050602; Mon, 31 May 2004 08:20:33 +0100 (BST) (envelope-from matthew) Date: Mon, 31 May 2004 08:20:33 +0100 From: Matthew Seaman To: Giorgos Keramidas Message-ID: <20040531072033.GB50113@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Giorgos Keramidas , adp , freebsd-questions@freebsd.org References: <036501c44668$3b35ef30$6501a8c0@yourqqh4336axf> <20040531031209.GA3089@gothmog.gr> <016f01c446bf$29bdf7f0$6501a8c0@yourqqh4336axf> <20040531033857.GB3260@gothmog.gr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GID0FwUMdk1T2AWN" Content-Disposition: inline In-Reply-To: <20040531033857.GB3260@gothmog.gr> User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040525, clamav-milter version 0.71 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: adp cc: freebsd-questions@freebsd.org 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 07:20:53 -0000 --GID0FwUMdk1T2AWN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2004 at 06:38:58AM +0300, Giorgos Keramidas wrote: > On 2004-05-30 22:26, adp wrote: > >"Giorgos Keramidas" wrote: > >>On 2004-05-30 12:04, adp wrote: > >>> Is there a way to override this timeout value? I know it is possible > >>> on other UNIX systems, such as AIX. > >>> > >>> Basically, we want to get a response within 3 seconds or the resolver > >>> should try the second DNS server. > >> > >> Look at resolv.conf(5). More specifically at the "options timeout" op= tion. > > > > I did in fact look at the manpage and did not find that option. I just > > looked again and I still can't find it. > > > > # man resolv.conf | grep -i timeout > > # uname -r > > 4.10-BETA > > > > Are you running FreeBSD 5.x perhaps? > > > > If the option is available and my manpage is wrong then that's fine. > > Just let me know. :) >=20 > 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. 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 --GID0FwUMdk1T2AWN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAutzBiD657aJF7eIRAgm+AJ4z8vTcuVO/UphkdTeeuGDzisYvlgCgmCjn OLL7X00DBaJPMduRfuhl1UY= =TUeY -----END PGP SIGNATURE----- --GID0FwUMdk1T2AWN--