Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2007 15:42:32 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        patrick <gibblertron@gmail.com>
Cc:        Robert Huff <roberthuff@rcn.com>, FreeBSD Questions <questions@freebsd.org>
Subject:   Re: how to know what DNS server is being used
Message-ID:  <20070122214232.GB4120@dan.emsphone.com>
In-Reply-To: <b043a4850701220857p682048bdycc1bd069326f2e5e@mail.gmail.com>
References:  <20061028025626.GA39172@skytracker.ca> <2B8A4ACE-ACE3-44D0-B40B-26D96D43A4E8@shire.net> <17731.22324.706536.159980@jerusalem.litteratus.org> <45436449.4020509@infracaninophile.co.uk> <b043a4850701220857p682048bdycc1bd069326f2e5e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 22), patrick said:
> On 10/28/06, Matthew Seaman <m.seaman@infracaninophile.co.uk> wrote:
> >On recent FreeBSD, the resolver actually iterates through the listed
> >nameserver lines in order, sending the query out to each in turn
> >until it gets a response.  It used to be that the resolver would
> >wait for the full 30s DNS timeout before trying the next server
> >(hence the cry dreaded by sysadmins everywhere that "the Internet is
> >slow today"), but nowadays
> 
> Is there any way to configure this 30 second delay for older versions
> of FreeBSD (eg. 4.11)?

You should be able to apply the changes made in rev1.31 of
/usr/src/lib/libc/net/res_init.c ; the commit log for that revision is

 revision 1.31
 date: 2003/12/07 12:32:24;  author: murray;  state: Exp;  lines: +20 -0

 Add support for timeout: and attempts: resolver options.

 Submitted by:   Paul Vixie <paul@vix.com> / ISC
 MFC After:      1 week

Apparently the MFC never happened :)

-- 
	Dan Nelson
	dnelson@allantgroup.com



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