From owner-freebsd-questions Sat Apr 28 13:40:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nebula.anchoragerescue.org (cable-115-7-237-24.anchorageak.net [24.237.7.115]) by hub.freebsd.org (Postfix) with ESMTP id 44B3B37B422 for ; Sat, 28 Apr 2001 13:40:18 -0700 (PDT) (envelope-from akbeech@anchoragerescue.org) Received: from galaxy.anchoragerescue.org (galaxy.anchoragerescue.org [24.237.7.95]) by nebula.anchoragerescue.org (Postfix) with SMTP id 0B50A4BE; Sat, 28 Apr 2001 12:40:11 -0800 (AKDT) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul To: Simon Maycock , freebsd-questions@FreeBSD.ORG Subject: Re: DHCP and resolv.conf Date: Sat, 28 Apr 2001 12:40:11 -0800 X-Mailer: KMail [version 1.2] References: <3AEB1F80.9010709@earthlink.net> In-Reply-To: <3AEB1F80.9010709@earthlink.net> MIME-Version: 1.0 Message-Id: <01042812401100.22027@galaxy.anchoragerescue.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday 28 April 2001 11:52, Simon Maycock wrote: > Dear all, > > When I use DHCP on the interface I connect to Sprint broadband it sets > up a new resolv.conf each time. How can I disable this feature, while > still getting my IP dynamically assigned? I want the host to be able to > use my internal DNS! > > Many thanks, > > Hagar > > P.S. Running 4.2 release. > Add the following to /etc/dhclient.conf: interface "ep0" { supersede domain-name "your.domain.com"; supersede domain-name-servers 123.456.789; } Change ep0 to whatever your outside interface is. Take a look at man dhclient.conf for more options. Beech ------------------------------------------------------------------- Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission \ / - NO HTML/RTF in e-mail | P.O. Box 230510 X - NO Word docs in e-mail | Anchorage, AK 99523-0510 / \ ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message