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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to