PDA

View Full Version : can not resolve ip-adresses from domain-names


Hans
25th February 2006, 19:05
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?

till
26th February 2006, 11:21
Please try to add these lines at the end of the file /etc/resolv.conf

nameserver 145.253.2.75
nameserver 193.174.32.18
nameserver 194.25.0.60

Hans
26th February 2006, 13:18
Please try to add these lines at the end of the file /etc/resolv.conf

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?

falko
26th February 2006, 17:12
Please post /etc/resolv.conf here.

Hans
26th February 2006, 20:13
Please post /etc/resolv.conf here.
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

till
26th February 2006, 20:32
Answer:
ping: unknown host google.com

Google is up, so why i can not reach it?

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.

falko
26th February 2006, 21:13
I'd change your /etc/resolv.conf to search server
nameserver 145.253.2.75
nameserver 193.174.32.18
nameserver 194.25.0.60and try again.

Hans
26th February 2006, 21:37
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