From owner-freebsd-questions@FreeBSD.ORG Tue Apr 20 04:16:18 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 28CC216A4CE for ; Tue, 20 Apr 2004 04:16:18 -0700 (PDT) Received: from idoru.mine.nu (cpc3-cdif2-3-0-cust202.cdif.cable.ntl.com [81.103.32.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id C996743D54 for ; Tue, 20 Apr 2004 04:16:17 -0700 (PDT) (envelope-from rasputin@idoru.mine.nu) Received: from rasputin by idoru.mine.nu with local (Exim 4.22) id 1BFtEf-0003Xz-1t; Tue, 20 Apr 2004 12:16:17 +0100 Date: Tue, 20 Apr 2004 12:16:17 +0100 From: Dick Davies To: Jonathon McKitrick Message-ID: <20040420111616.GA18460@lb.tenfour> References: <20040416175916.GB91692@dogma.freebsd-uk.eu.org> <20040416180648.72146.qmail@web14609.mail.yahoo.com> <20040416181258.GC91692@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040416181258.GC91692@dogma.freebsd-uk.eu.org> User-Agent: Mutt/1.4.2.1i Sender: Rasputin cc: FreeBSD Questions Subject: Re: How do I eliminate resolver delay?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dick Davies List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 11:16:18 -0000 * Jonathon McKitrick [0414 19:14]: > On Fri, Apr 16, 2004 at 11:06:48AM -0700, peter lageotakes wrote: > : FYI: If I remember correctly, running dhcpd > : overwrites the resolve.conf. > > That's what caused my problem. I need a way to restore it when using the > other network with assigned IPs. > -- > My other computer is your Windows box. I recognize that sig, how's it going boy? Still selling your soul to GNUstep? :) I walked in halfway through this, am I right in thinking you want to use a particular nameserver no matter where you are? If you don't want dhclient to whack your resolver, you can tell it to append your DNS to resolv.conf: 1rasputin@lb:rasputin$ cat /etc/dhclient.conf interface "cue0" { prepend domain-name-servers 127.0.0.1; supersede domain-name "tenfour"; supersede host-name "lb"; } 1rasputin@lb:rasputin$ Drop me a mail off list when you get five, we'll have a cuppa. -- How long a minute is depends on which side of the bathroom door you're on. Rasputin :: Jack of All Trades - Master of Nuns