Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: DNS problem

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    DNS problem

    Hi everybody, I'm having problem with the DNS connection using a server with voyage, a debian distribution.

    Here's the problem: I need to use a static IP, but doing so I cannot connect to the internet, only to the internal LAN, because there is something wrong with the DNS connection.
    If I modify /etc/resolv.conf in the line "nameserver" and I put the DNS IP in the xxx, then I got connection to the internet, but the modification isn't permanent, since resolv.conf is re-written at every boot.
    Before modifying I find nameserver

    Even using wicd-curses and setting the DNS I cannot connect to the internet.

    So, how can I connect to the right DNS?

  2. #2
    try editing /etc/network/interfaces

    and for your interface add:-


    And then restart your networking:

    /etc/init.d/networking restart

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Santa Cruz, California
    If you are already using Network Manager to set the static IP for your Internet port, you can set one or more DNS addresses for that port in the same dialog where you set the IP and mask etc. Network Manager will transfer that to resolv.conf when it starts.

    Then you don't have to edit /etc/network/interfaces

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts