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

Re: /etc/resolv.conf replaced!



On 17:25 Tue 06 Dec     , Hal Vaughan wrote:
> During the past two days I've had power flickers and outages from snow.  I 
> have not yet been able to attach a new system to a UPS (too many things to 
> move), and it's lost power a few times.  When it reboots, it cannot 
> communicate with the network.  I checked, and /etc/resolv.conf is no longer 
> there.  It has been replaced by a link to /etc/resolvconf/run/resolv.conf, 
> and /etc/resolvconf/run is linked to /dev/shm/resolvconf.  There is no 
> corresponding file in /dev/shm/resolvconf to work with.
> 
> I've found references to the other files on Google, but nothing clear telling 
> what is going on.  There are references that make me think some program 
> *thinks* it is supposed to do this (so I doubt it's a virus), but I need to 
> find out what is going on so I can either stop it or make sure it does it 
> right.
> 
> So how can I stop this from happening at reboot?  What is doing it?  Is it a 
> boot thing, or a re-configure thing?

dpkg -l resolvconf will show you now have resolvconf installed. This is
actually a good thing as it will dynamically create a new
/etc/resolv.conf file if the nameserver info is updated by some server program
like dhcp-client.

You proably need to edit /etc/network/interfaces and set the dns-* lines.
Then run /etc/init.d/resolvconf reload.



Reply to: