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

2002-10-29 Thread Dan Pelleg
> 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 You can write a script to fix resolv.conf right after dhclient ruined it. The way to do it is to hook it from /etc/dhclient-exit-hooks (whic

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

2002-10-28 Thread Eric Thornton
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 PROTECTE

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

2002-10-28 Thread Robin Damm
On Mon, Oct 28, 2002 at 02:11:48PM -0800, Paulo Roberto wrote: > 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 > clien

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

2002-10-28 Thread Steve Wingate
> > 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

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

2002-10-28 Thread Philip Hallstrom
Never tried it, but you could look for the spot in the various rc* files that setup dhcp and once it's done re-write /etc/resolv.conf with what you want it to be... ? On Mon, 28 Oct 2002, Paulo Roberto wrote: > Hi, > > I have read the man pages, searched a few forums, but I did not found a > way