PDA

View Full Version : Changed lost when editing resolv.conf


tristanlee85
4th January 2008, 23:35
I'm following this tutorial to setup reverse DNS on my server:

http://howtoforge.com/linux_bind9_and_caching_nameserver_p2

In step 6 where it tells me to modify resolv.conf, I do so and save the changes, but whenever I restart named, the changes are back to default with only # generated by NetworkManager, do not edit!

; Use a local caching nameserver controlled by NetworkManager


nameserver 127.0.0.1 in the file. How can I get around this?

falko
5th January 2008, 15:31
Did you edit /etc/resolv.conf as root?

tristanlee85
7th January 2008, 16:13
Yes I did. I also read that using DHCP will result in reverting to the default file upon reboot or restart of the named service, but the IPs of the two network cards are static.

The changes are saved up until I restart named.

falko
8th January 2008, 19:10
# generated by NetworkManager, do not edit!

; Use a local caching nameserver controlled by NetworkManager


nameserver 127.0.0.1Do you use a tool called NetworkManager?

tristanlee85
8th January 2008, 20:24
No. I have no idea what it is nor do I know where to find it. I've looked.

falko
9th January 2008, 17:58
Do you have a desktop on that system? Network Manager sounds like a desktop app.

tristanlee85
9th January 2008, 18:32
X is installed and I tried going into it, but the only thing I knew to try would be system-config-network (something like that). I didn't find anything useful there.

falko
10th January 2008, 17:15
Can you go into your package manager and find that app?
Is it maybe hidden somewhere in your System menu in GNOME or on the taskbar?