Announcement

Collapse
No announcement yet.

/etc/resolv.conf and nameservers

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    /etc/resolv.conf and nameservers

    I need to put in two nameservers every time I log on the internet.
    But my manually inserted nameservers are deleted with every boot of the machine.
    How do I put them in so that they stay there always?

    #2
    Re: /etc/resolv.conf and nameservers

    Hi,

    I would find out why they keep getting removed first. Maybe a cron job somewhere? But you can always set up an rc.local to add it back in on boot.

    Comment


      #3
      Re: /etc/resolv.conf and nameservers

      It is NetworkManager that does it. How do I configure it manually in stead of through the applet knetworkmanager?

      Comment


        #4
        Re: /etc/resolv.conf and nameservers

        You can add your name servers (DNS) manually to the /etc/resolv.conf file. I suggest removing knetworkmanger, use you /etc/network/interfaces file to set up your connection, and manually edit your resov.conf file.

        Comment


          #5
          Re: /etc/resolv.conf and nameservers

          Hi,

          I dislike network manager in whatever form it comes in. I use "WICD" and have not had any issue's either with wired or wireless when using it. If it's not in the repo's it can be found on sourceforge. One thing though you have to remove (uninstall) networkmanager so download it first.



          Originally posted by Claus Ladekjær Wilson
          It is NetworkManager that does it. How do I configure it manually in stead of through the applet knetworkmanager?

          Comment


            #6
            Re: /etc/resolv.conf and nameservers

            Please follow the instructions HERE (substituting your DNS servers for Opendns). Or, you could try Opendns. I think it's great.

            Comment


              #7
              Re: /etc/resolv.conf and nameservers

              Originally posted by askrieger
              Or, you could try Opendns. I think it's great.
              It's what I use. Here's my /etc/resolv.conf

              nameserver 208.67.222.222
              nameserver 208.67.220.220
              nameserver 192.168.0.1


              I don't use any network manager on my system.

              Comment

              Working...
              X