Changed lost when editing resolv.conf

Discussion in 'Server Operation' started by tristanlee85, Jan 4, 2008.

  1. tristanlee85

    tristanlee85 New Member

    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
    Code:
    # 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?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Did you edit /etc/resolv.conf as root?
     
  3. tristanlee85

    tristanlee85 New Member

    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.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Do you use a tool called NetworkManager?
     
  5. tristanlee85

    tristanlee85 New Member

    No. I have no idea what it is nor do I know where to find it. I've looked.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Do you have a desktop on that system? Network Manager sounds like a desktop app.
     
  7. tristanlee85

    tristanlee85 New Member

    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.
     
  8. falko

    falko Super Moderator Howtoforge Staff

    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?
     

Share This Page