LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-04-2006, 01:50 AM   #1
rob_dobbs
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
Slackware DNS problem


Hi,
Longtime Slackware user, first time posting. My first experience with Slack 10.1, and not a good one.

Simply no luck getting DNS client to run, even though I can ping local and internet hosts by IP address. This happens in either DHCP or with a static address. What is worse, I find that when I reset eth0, I can no longer access the internet thru my router. If I add a default gateway, I can ping by IP address again, but pinging a FQDN returns "unknown host." Any ideas?
Thanks
 
Old 04-04-2006, 02:14 AM   #2
ssaigol
LQ Newbie
 
Registered: Oct 2003
Distribution: Debian 3.0r1
Posts: 18

Rep: Reputation: 0
The problem is almost always in /etc/resolv.conf.

Make sure you have "nameserver <ip address of router>

in it.
 
Old 04-04-2006, 02:16 AM   #3
ssaigol
LQ Newbie
 
Registered: Oct 2003
Distribution: Debian 3.0r1
Posts: 18

Rep: Reputation: 0
The problem is almost always in /etc/resolv.conf file.

Make sure you have "nameserver <ip address of router>"

in it.
 
Old 04-04-2006, 10:43 PM   #4
rob_dobbs
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Not resolv.conf

I thought commenting out the "search" entry and entering the IP of my router or my ISP's nameserver in resolv.conf would do it, but no luck, even with resetting the eth0 interface.

After setting DHCP or static IP thru netconfig, I always made sure to edit resolv.conf with the right entries. This is very puzzling, as I've never had any problems with the Slackware name resolution. Could I be missing a network app or a library?
 
Old 04-05-2006, 11:19 PM   #5
rob_dobbs
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I re-installed 10.2 instead, and it picked up name resolution off DHCP immediately. Thanks for the help nonetheless.
 
  


Reply



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 in slackware 10 vengefuldeath87 Linux - Networking 3 08-02-2004 09:21 AM
ppp dialup dns problem (Slackware 9.1) johnMG Linux - Networking 8 05-06-2004 10:09 AM
dns on slackware cekko Slackware 1 11-06-2003 12:33 PM
DNS setup on slackware bripage Linux - Networking 3 01-20-2003 02:56 AM
my goal w/ DNS in slackware 404 Linux - Networking 1 12-10-2002 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:58 AM.

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
Open Source Consulting | Domain Registration