Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 13:28:35 -0800
From:      Beech Rintoul <akbeech@anchoragerescue.org>
To:        Jason Hunt <jason.hunt@niicommunications.com>, freebsd-questions@freebsd.org
Subject:   Re: /etc/resolv.conf /etc/dhclient question
Message-ID:  <01051013283500.02395@galaxy.anchoragerescue.org>
In-Reply-To: <3AFB04F6.9F2CB159@niicommunications.com>
References:  <3AFB04F6.9F2CB159@niicommunications.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01051013283500.02395>