Re: /etc/resolv.conf keeps getting overwritten
Your DHCP client is probably overwriting /etc/resolv.conf. Do a "man
dhclient.conf" for details how to configure. Possibly adding the
following line to /etc/dhclient.conf will do it.
append domain-name "domain1.com domain2.com";
HTH,
Jeffrey
Quoting Nori Heikkinen <nori@sccs.swarthmore.edu>:
> as root, i modified the "search" line in my new box's /etc/resolv.conf
> to include a few more domains i want searched. the changes persist
> anywhere from two minutes to two hours, but it always seems to get
> overwritten with the initial one! this is really obnoxious, as i don't
> want to have to keep typing in full domain names.
>
> i don't changed anything as root between relapses, so i can't figure out
> what's causing this. any ideas?
>
> thanks,
>
> </nori>
>
Reply to: