On 10:51 Fri 27 Oct     , Matthew R. Lee wrote:
> Every time I boot my resolv.conf reverts to the original file with no name 
> servers in it.  Because I use my laptop in various places I have a series of 
> resolv.conf files (resolv.conf.xx1, resolv.conf.xx2, etc)  When I use a 
> different network I just cp /etc/resolv.conf.xx1 /etc/resolv.conf  Now I'm 
> having to do this every morning after boot even though I'm on the same 
> network.  Why does it keep reverting to this old file?  How do I stop it?  
> I've looked in the directory /etc/ but I cant see any file like 
> resolv.conf.old or resolv.conf.tmp  Where is it getting this empty file from?

i had the similar problem. actually every time the system is booted
'dhcp' overwrites dnsinfo in /etc/resolv.conf.

i added,

dns_servers_eth0=( "144.16.192.55" "10.128.2.2" )

to my /etc/conf.d/net, where the ips are dns for my network, and it
worked for me. now everytime i reboot resolv.conf is written with these
values.

-- 
The disks are getting full; purge a file today.

-- 
[email protected] mailing list

Reply via email to