can not resolve ip-adresses from domain-names

Discussion in 'Server Operation' started by Hans, Feb 25, 2006.

  1. Hans

    Hans Moderator ISPConfig Developer

    I discovered that my server with Debian Sarge can not resolve ip-adresses from domain-names.

    What can i do about this?

    For example: when i do:
    ping ftp.nl.debian.org

    i will receive an answer like:
    ping: unknown host ftp.nl.debian.org

    How can i solve this problem?
     
    Last edited: Feb 25, 2006
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try to add these lines at the end of the file /etc/resolv.conf

     
  3. Hans

    Hans Moderator ISPConfig Developer

    Dear Till,
    Thank you for your instruction.
    It works now for me to reach the Debian ftp-site i mentioned,
    but i still do not understand why this happens:

    Command:
    ping google.com

    Answer:
    ping: unknown host google.com

    Google is up, so why i can not reach it?
     
    Last edited: Feb 26, 2006
  4. falko

    falko Super Moderator ISPConfig Developer

    Please post /etc/resolv.conf here.
     
  5. Hans

    Hans Moderator ISPConfig Developer

    Falko,
    Hereby you receive the contents of my /etc/resolv.conf file:

    search server
    #nameservers at TransIP:
    nameserver 80.69.66.67
    nameserver 80.69.67.66

    #nameservers according Till Brehm:
    nameserver 145.253.2.75
    nameserver 193.174.32.18
    nameserver 194.25.0.60

    ---
    Note:
    My server is located in the Redbus Datacenter in Amsterdam and is in the network of the TransIP company (www.transip.nl). They told me that the DNS resolvers for my server are as mentioned above.

    Hans
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe your provider blocks pings in his network.

    You can try this:

    wget http://www.google.com/

    If this safes the google index page to your harddisk, the nameservers resolve corrcetly.
     
  7. falko

    falko Super Moderator ISPConfig Developer

    I'd change your /etc/resolv.conf to
    Code:
    search server
    nameserver 145.253.2.75
    nameserver 193.174.32.18
    nameserver 194.25.0.60
    and try again.
     
  8. Hans

    Hans Moderator ISPConfig Developer

    Till,

    I have done:
    wget http://www.google.com in my /tmp directory succesfully.

    Falko,

    I have changed my /etc/resolv.conf file to:

    search server
    nameserver 145.253.2.75
    nameserver 193.174.32.18
    nameserver 194.25.0.60

    Up until now everything seems to be working!

    Thank you both, very much!

    Hans
     

Share This Page