HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   can not resolve ip-adresses from domain-names (http://www.howtoforge.com/forums/showthread.php?t=2743)

Hans 25th February 2006 18:05

can not resolve ip-adresses from domain-names
 
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 10:21

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

Quote:

nameserver 145.253.2.75
nameserver 193.174.32.18
nameserver 194.25.0.60

Hans 26th February 2006 12:18

Quote:

Originally Posted by till
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 16:12

Please post /etc/resolv.conf here.

Hans 26th February 2006 19:13

Quote:

Originally Posted by falko
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 19:32

Quote:

Originally Posted by Hans
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 20:13

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.

Hans 26th February 2006 20: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


All times are GMT +2. The time now is 10:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.