LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 08-16-2007, 04:27 AM   #1
Orangutanklaus
Member
 
Registered: May 2006
Posts: 89

Rep: Reputation: 15
Question DNS problem


Hello folks!

I started to build a custom NAS system based on a GBit network and Slackware 12. The first step after the installation was to check the internal network with the ping command. Well, it worked. The next step was to ping an external IP but I got no response. So I restarted netconfig and verified the correct gateway entry.

eth0 down/up => second test => no response!

I opened the inet1.conf file. Crazy! The gateway entry for was eth0 empty but the IP an netmask were available. So I entered the gateway manually.

eth0 down/up => third test => no response!

Then I checked the route output and registered a default gateway.

eth0 down/up => fourth test => succsessfully!

Ok, I don't know the difference between the gateway entry in inet1.conf and also the missing gateway entry in inet1.conf after the netconfig procedure but now this part is working.

The next test should be a ping to an external URL but the result was a "no response" message. And now I really don't know what I have to do.

The ping command to an external IP works and I have a valid resolve.conf. What's the problem?

Thanks in advance,
Orangutanklaus
 
Old 08-16-2007, 04:57 AM   #2
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 384

Rep: Reputation: 34
You do have an approriate DNS entry in resolv.conf?
 
Old 08-16-2007, 05:30 AM   #3
Orangutanklaus
Member
 
Registered: May 2006
Posts: 89

Original Poster
Rep: Reputation: 15
I tested several IPs. From my local gateway which can act as an DNS too, to the IPs I got form my ISP. The current entry contains the two valid DNS-IPs from my ISP.

Regards,
Orangutanklaus
 
Old 08-16-2007, 05:41 AM   #4
digen
Member
 
Registered: Dec 2005
Location: India
Distribution: Ubuntu Feisty Fawn
Posts: 107

Rep: Reputation: 15
Well, if you're unable to ping a private/public IP address then it isn't even a DNS name resolution issue.

Are you able to ping your gateway/router private IP address ?

What is the output of the following commands ?
Quote:
#route -n
Quote:
# ping 4.2.2.1
Quote:
# ifconfig -a
 
Old 08-16-2007, 05:45 AM   #5
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 384

Rep: Reputation: 34
My resolv.conf only contains one DNS entry which is my router. The router itself is configured with the provider-side servers, because it's the router/gateway that decides to route your queries internally or externally, obviously based on the adress.

Last edited by General Failure; 08-16-2007 at 05:51 AM.
 
Old 08-16-2007, 06:04 AM   #6
Orangutanklaus
Member
 
Registered: May 2006
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by digen View Post
Well, if you're unable to ping a private/public IP address then it isn't even a DNS name resolution issue.

Are you able to ping your gateway/router private IP address ?

What is the output of the following commands ?
I never had a problem with internal IPs and haven't a problem with external IPs anymore.
My only existing problem is to ping an URL.

Now I'm sorry because I have to break this conversion until sunday (short holiday).
Thanks for your replies so far. I hope we can figure out the problem at sunday.

Regards,
pace
 
Old 08-20-2007, 03:19 PM   #7
Orangutanklaus
Member
 
Registered: May 2006
Posts: 89

Original Poster
Rep: Reputation: 15
Exclamation Problem solved

I had to enter the keyword nameserver and then the IP address of the nameserver or my router (both work). I can't remember that I had to enter this keyword into the resolv.conf anytime in previous Slackware versions.

However, it works.

Regards,
Orangutanklaus
 
  


Reply

Tags
dns, nameserver


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS Problem csdhiman Linux - Server 6 07-18-2007 08:37 AM
DNS Problem ballistic509 Debian 5 12-20-2006 08:38 AM
DNS problem maginotjr Linux - Networking 2 10-29-2005 04:18 AM
Possible DNS Problem? Hootah Linux - Networking 2 07-04-2004 03:12 PM
DNS problem Cubiq Linux - Networking 12 09-06-2002 04:42 AM


All times are GMT -5. The time now is 03:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration