Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th February 2006, 18:05
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Arrow 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?

Last edited by Hans; 25th February 2006 at 20:07.
Reply With Quote
Sponsored Links
  #2  
Old 26th February 2006, 10:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
Default

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
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 26th February 2006, 12:18
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Smile

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?

Last edited by Hans; 26th February 2006 at 14:43.
Reply With Quote
  #4  
Old 26th February 2006, 16:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Please post /etc/resolv.conf here.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 26th February 2006, 19:13
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

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
Reply With Quote
  #6  
Old 26th February 2006, 19:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 26th February 2006, 20:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 26th February 2006, 20:37
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Thumbs up

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISP Services wouldn't restart any service, possibly Domain Host configuration issue. Kamran Shah Installation/Configuration 20 17th August 2006 17:33
Nameserver configuration teleriddler Installation/Configuration 14 28th January 2006 16:13
host site at same domain as ISPConfig server? amoswright Installation/Configuration 2 13th January 2006 22:43
Server Not Autorative for Domain Error drbista Installation/Configuration 10 20th December 2005 16:41
postfix config jmroth Installation/Configuration 6 18th September 2005 15:58


All times are GMT +2. The time now is 00:32.


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