From owner-freebsd-questions@FreeBSD.ORG Mon Jan 22 21:42:35 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC9F716A407 for ; Mon, 22 Jan 2007 21:42:35 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 6F45F13C478 for ; Mon, 22 Jan 2007 21:42:35 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.6/8.13.8) id l0MLgWcU025060; Mon, 22 Jan 2007 15:42:32 -0600 (CST) (envelope-from dan) Date: Mon, 22 Jan 2007 15:42:32 -0600 From: Dan Nelson To: patrick Message-ID: <20070122214232.GB4120@dan.emsphone.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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 6.2-PRERELEASE User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Robert Huff , FreeBSD Questions Subject: Re: how to know what DNS server is being used X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 21:42:35 -0000 In the last episode (Jan 22), patrick said: > On 10/28/06, Matthew Seaman 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 / ISC MFC After: 1 week Apparently the MFC never happened :) -- Dan Nelson dnelson@allantgroup.com