how to know what DNS server is being used

Dan Nelson dnelson at allantgroup.com
Mon Jan 22 21:42:35 UTC 2007


In the last episode (Jan 22), patrick said:
> On 10/28/06, Matthew Seaman <m.seaman at 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 at vix.com> / ISC
 MFC After:      1 week

Apparently the MFC never happened :)

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list