Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2002 00:35:39 -0500
From:      "Eric Thornton" <ETHORNTON@nc.rr.com>
To:        "Paulo Roberto" <nirv199@yahoo.com>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: dhcp option to *not* overwrite /etc/resolv.conf
Message-ID:  <001c01c27f0d$03c575d0$0200a8c0@Nicoya>
References:  <20021028221148.4304.qmail@web14909.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
add this to your /etc/dhclient.conf

interface "(outside interface)" {
    supersede domain-name-servers (preferred DNS);
}

you can alternately use prepend domain-name-servers to add your DNS to the
TOP of the resolv.conf list.



----- Original Message -----
From: "Paulo Roberto" <nirv199@yahoo.com>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Monday, October 28, 2002 5:11 PM
Subject: dhcp option to *not* overwrite /etc/resolv.conf


> Hi,
>
> I have read the man pages, searched a few forums, but I did not found a
> way to prevent dhcp to do not change my /etc/resolv.conf. I do not have
> access to the dhcp server configuration, so I need to change it on my
> client. I also tried to chmod it to only read mode, but that did not
> work out. Any tips?
>
> thanks
>
> Paulo
>
> __________________________________________________
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site
> http://webhosting.yahoo.com/
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>



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?001c01c27f0d$03c575d0$0200a8c0>