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

Re: resolv.conf file is written over on reboot.



So I installed resolvconf, and then reentered the values for the network. I rebooted and now resolv.conf is this:

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#    DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

There is no mention of glibc in the resolvconf README file.
What is this telling me?


Jhair Tocancipa Triana wrote:
jdaues  writes:

The etc/resolv.conf file is being written over when i reboot.
I have setup for static ip address, NOT dhcp.  The outside word sees
the static ip address, and inside on the NAT, each machine is
192.168.0.x. In KDE, System -> Networking, I set up the ip address,
subnet mask, gateway address, DNS, Search domains. Host, Hostname and
Domain. When I do a more /etc/resolv.conf, it looks good. When I
restart, all the info I entered is gone.

What is happening? How do I prevent this?

Different programs are able to change /etc/resolv.conf behind your
back. You need to tell those programs don't to change your resolv.conf
file.

Try to install the resolvconf package and take a look at the

/usr/share/doc/resolvconf/README.gz

file. There is valuable information there.

HTH,




Reply to: