Re: resolv.conf gets reset
On Sun, Jun 20, 2004 at 09:11:40AM -0700, Brenden wrote:
> Hi all, new debian user here with some basic questions.
>
> My resolv.conf file keeps getting reset to nothing (well, just the two comment
> lines warning me not to change things manually) everytime I reboot. I just
> plain don't have any idea what could be causing this. Ideas? Help?
>
> To set resolv.conf, I su then type "echo 'nameserver 10.0.0.1'
> | /sbin/resolvconf -a eth0" which takes care of the problem for one session.
>
> How do I make this permanent?
I noticed this too on a new Sid install on my laptop.
What I did is add "nameserver 10.0.0.1" to this file:
/etc/resolvconf/resolv.conf.d/tail
and it appends the nameserver to resolv.conf properly during boot up.
Andy
Reply to: