LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-29-2002, 02:08 PM   #1
DigiCrime
Member
 
Registered: Dec 2002
Location: St. Louis
Distribution: All Flavors
Posts: 195

Rep: Reputation: 30
having nameserver problems


im trying to figure out my networking problem.

[root /etc]# nslookup 216.12.209.51
*** Can't find server name for address 216.12.209.173: Non-existent host/domain
*** Can't find server name for address 216.12.209.174: Timed out
*** Default servers are not available

what exactly does this mean? and how could it be fixed
 
Old 12-29-2002, 02:42 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
it means you have this in /etc/resolv.conf

nameserver 216.12.209.173
nameserver 216.12.209.174


and the nameservers are incorrect or cannot be reached
 
Old 12-29-2002, 03:51 PM   #3
DigiCrime
Member
 
Registered: Dec 2002
Location: St. Louis
Distribution: All Flavors
Posts: 195

Original Poster
Rep: Reputation: 30
the Ips are correct and ns1.myhost4u.net ~>'s 216.12.209.173
and ns2.myhost4u.net ~>'s 216.12.209.174

im drawing a blank when it comes to networking
 
Old 12-29-2002, 04:15 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
maybe you are firewalled and cannot contact the nameservers, or your routing table has no default route or no route to the name servers

you can check the route like this

route -n

to stop the firewall for testing you could do one of these, depending on your firewall

service iptables stop
or
service ipchains stop
 
Old 12-29-2002, 04:18 PM   #5
DigiCrime
Member
 
Registered: Dec 2002
Location: St. Louis
Distribution: All Flavors
Posts: 195

Original Poster
Rep: Reputation: 30
no firewall is running right now

[root /etc]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
216.12.209.175 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
216.12.209.174 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
216.12.209.173 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
216.12.209.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 216.12.209.1 0.0.0.0 UG 0 0 0 eth0
[root /etc]#
 
Old 12-29-2002, 04:27 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
maybe the dns server does not have the name for the ip address you were trying to resolv

try running the nslookup on the nameserver
 
Old 12-29-2002, 04:31 PM   #7
DigiCrime
Member
 
Registered: Dec 2002
Location: St. Louis
Distribution: All Flavors
Posts: 195

Original Poster
Rep: Reputation: 30
[root /etc]# nslookup 216.12.209.51
*** Can't find server name for address 216.12.209.173: Non-existent host/domain
*** Can't find server name for address 216.12.209.174: Non-existent host/domain
*** Default servers are not available
[root /etc]# nslookup 216.12.209.173
*** Can't find server name for address 216.12.209.173: Non-existent host/domain
*** Can't find server name for address 216.12.209.174: Non-existent host/domain
*** Default servers are not available
[root /etc]#
 
Old 12-29-2002, 04:40 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Are the nameservers connected over a lan to your pc or do you have some hardware between you and them
 
Old 12-29-2002, 05:24 PM   #9
DigiCrime
Member
 
Registered: Dec 2002
Location: St. Louis
Distribution: All Flavors
Posts: 195

Original Poster
Rep: Reputation: 30
i dunno, i have two extra IPs and wanted to setup virtual dns or name servers or whatever.. networking just isnt my cup of tea at all. Further more, this is a Raq4 box, which I hate cobalts.. I know the Ips and name servers work, I can ping them from my windows box, but when i log into the server via ssh, i cant do anything network related really
 
Old 12-29-2002, 05:36 PM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
if the ips are internet ips and you know the dns ips for your isp, just put those nameservers in resolv.conf. You should be able to access the internet

are you using dhcp?
 
Old 12-29-2002, 05:40 PM   #11
DigiCrime
Member
 
Registered: Dec 2002
Location: St. Louis
Distribution: All Flavors
Posts: 195

Original Poster
Rep: Reputation: 30
k ill look into the ISP dns servers and see... how would I know if im running dhcp
 
Old 12-29-2002, 05:44 PM   #12
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
did you set the ip addresses yourself?

dhcp sets the ip address assigned to you and it should also set the nameservers and routing table
 
Old 03-01-2003, 04:34 PM   #13
Jagzseven
LQ Newbie
 
Registered: Mar 2003
Posts: 10

Rep: Reputation: 0
Hi,

I'm a newbie too but I thought I'd post things that I manage to fix from advice from various internet posts.. anyway, about the DNS Nameserver problem, I was struggling with this for awhile too - finally fixed it by simply adding an reverse entry for my actual namerserver host in the master file. In other words:

In your /var/named/master-zones/192.168.1.rev file, add the following:

1.0.168.192.in-addr.arpa. IN PTR mycomputer.mydomain.com

Make sure you increment the serial number before you save and restart DNS.

Hope this helps...
 
  


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
nameserver Questions Swakoo Linux - Networking 3 08-18-2005 07:13 AM
which is my nameserver. bruse Linux - Networking 3 07-16-2005 01:45 AM
Problems with caching nameserver on slackware 9.1 dave_blob Linux - Networking 11 04-20-2004 02:46 AM
How to Setup a Nameserver dcdjservices Linux - Networking 1 08-01-2003 04:42 PM
Nameserver Probs gene_gEnie Linux - Networking 7 10-04-2001 11:02 AM

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

All times are GMT -5. The time now is 10:22 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