Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-16-2007, 03:27 AM
|
#1
|
|
Member
Registered: May 2006
Posts: 86
Rep:
|
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
|
|
|
|
08-16-2007, 03:57 AM
|
#2
|
|
Member
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 384
Rep:
|
You do have an approriate DNS entry in resolv.conf?
|
|
|
|
08-16-2007, 04:30 AM
|
#3
|
|
Member
Registered: May 2006
Posts: 86
Original Poster
Rep:
|
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
|
|
|
|
08-16-2007, 04:41 AM
|
#4
|
|
Member
Registered: Dec 2005
Location: India
Distribution: Ubuntu Feisty Fawn
Posts: 107
Rep:
|
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 ?
|
|
|
|
08-16-2007, 04:45 AM
|
#5
|
|
Member
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 384
Rep:
|
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 04:51 AM.
|
|
|
|
08-16-2007, 05:04 AM
|
#6
|
|
Member
Registered: May 2006
Posts: 86
Original Poster
Rep:
|
Quote:
Originally Posted by digen
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
|
|
|
|
08-20-2007, 02:19 PM
|
#7
|
|
Member
Registered: May 2006
Posts: 86
Original Poster
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
DNS Problem
|
csdhiman |
Linux - Server |
6 |
07-18-2007 07:37 AM |
|
DNS Problem
|
ballistic509 |
Debian |
5 |
12-20-2006 07:38 AM |
|
DNS problem
|
maginotjr |
Linux - Networking |
2 |
10-29-2005 03:18 AM |
|
Possible DNS Problem?
|
Hootah |
Linux - Networking |
2 |
07-04-2004 02:12 PM |
|
DNS problem
|
Cubiq |
Linux - Networking |
12 |
09-06-2002 03:42 AM |
All times are GMT -5. The time now is 08:26 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|