[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/resolv.conf keeps getting overwritten



Nori Heikkinen <nori@sccs.swarthmore.edu> wrote:

<snip>
> i don't changed anything as root between relapses, so i can't figure
> out what's causing this.  any ideas?
>
> thanks,
>
> </nori>


Hi,

If you're using dhclient, check out /etc/dhclient-script.  There's a
function make_resolv_conf() in there which overwrites /etc/resolv.conf
whenever there's a dhcp update.  You could probably just comment it out, or
change this routine to add your custom search information.  If you do
disable it though, remember that if your ISP changes your DNS settings, they
won't be reflected here. :)

David.



Reply to: