From owner-freebsd-questions Thu May 10 14:28:39 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 F31ED37B422 for ; Thu, 10 May 2001 14:28:36 -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 CFAA263; Thu, 10 May 2001 13:28:35 -0800 (AKDT) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul To: Jason Hunt , freebsd-questions@freebsd.org Subject: Re: /etc/resolv.conf /etc/dhclient question Date: Thu, 10 May 2001 13:28:35 -0800 X-Mailer: KMail [version 1.2] References: <3AFB04F6.9F2CB159@niicommunications.com> In-Reply-To: <3AFB04F6.9F2CB159@niicommunications.com> MIME-Version: 1.0 Message-Id: <01051013283500.02395@galaxy.anchoragerescue.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday 10 May 2001 13:15, Jason Hunt wrote: > greetings, > > I have the following in my /etc/dhclient.conf file: > > upersede domain-name-servers 192.168.xxx.xxx > > however, my ISP's nameserver info is still be placed > in my /etc/resolv.conf file. What am I doing wrong > here? Thanks for any help - I checked the man pages > built I couldn't find a clear example of this. > Like this: interface "ep0" { supersede domain-name "your.domain.com"; prepend domain-name-servers 192.168.xxx.xxx; } Of course put your interface in place of "ep0". Use prepend, that way if your DNS is down you can still resolve outside addresses. 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