Re: dhcp option to *not* overwrite /etc/resolv.conf

[ Available lists | Index of freebsd-questions | Month of Oct 2002 | Week of 28 Oct 2002 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Eric Thornton <ETHORNTON@nc.rr.com>
Date
28 Oct 2002 21:35:49
Subject
Re: dhcp option to *not* overwrite /etc/resolv.conf
Message-ID
001c01c27f0d$03c575d0$0200a8c0@Nicoya

References to

[ Hide this part ]
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



Elapsed time: 0.071 seconds