From owner-freebsd-stable@FreeBSD.ORG Mon Jun 5 12:51:55 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00DA916ABDA for ; Mon, 5 Jun 2006 12:51:55 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from orchid.homeunix.org (avj31.neoplus.adsl.tpnet.pl [83.27.43.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7568143D55 for ; Mon, 5 Jun 2006 12:51:52 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from [192.168.1.66] (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.6/8.13.6) with ESMTP id k55CpiZM072744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 5 Jun 2006 14:51:50 +0200 (CEST) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <448428D8.5030501@orchid.homeunix.org> Date: Mon, 05 Jun 2006 14:51:36 +0200 From: Karol Kwiatkowski User-Agent: Thunderbird 1.5.0.4 (X11/20060605) MIME-Version: 1.0 To: "Thomas T. Veldhouse" References: <44842282.6050409@veldy.net> In-Reply-To: <44842282.6050409@veldy.net> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig35B6E9CEE2B7C343F69E03D6" X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on orchid.homeunix.org X-Virus-Status: Clean Cc: freebsd-stable@freebsd.org Subject: Re: resolv.conf and dhclient X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 12:52:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig35B6E9CEE2B7C343F69E03D6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/06/2006 14:24, Thomas T. Veldhouse wrote: > What is the best approach to keep dhclient from overwriting > /etc/resolv.conf every time it gets a new lease on an IP address? This= > has been a frustrating search as Google has turned up next to nothing o= n > the issue other than a hack into a script file which should be > overwritten when world is rebuilt. If I'm getting your question right - isn't 'supersede' option in dhclient.conf(5) what you want? Something like: interface "int0" { supersede domain-name "example.com" supersede domain-name-servers "127.0.0.1" } HTH, Karol > Thanks in advance, >=20 > Tom Veldhouse --=20 Karol Kwiatkowski OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc --------------enig35B6E9CEE2B7C343F69E03D6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEhCjgezeoPAwGIYsRAlS5AJwIS05IA8bKOSU5I0XkfZc/Z4cLDQCeI3zW TK2tZPInHh1NTEaTBUBSgOw= =WVJ2 -----END PGP SIGNATURE----- --------------enig35B6E9CEE2B7C343F69E03D6--