The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem with dd command or maybe AFS problem Anta Shell Programming and Scripting 0 08-25-2006 11:10 AM
SSH Problem auth problem budrito UNIX for Advanced & Expert Users 1 03-17-2004 10:12 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-08-2003
dozy dozy is offline
Registered User
  
 

Join Date: Nov 2002
Location: in my house
Posts: 37
DNS problem

Hello!

I´ve got a problem with the dns on one of our servers.

When i try to look someting up with either nslookup or ping i get the folowing error message.
--------------------------------------------------------------------------------
# nslookup sun.com
*** Can't find server name for address 127.0.0.1: Unspecified error
*** Default servers are not available
-------------------------------------------------------------------------------
my resolve.conf is pointing at my dns servers and the nsswitch.conf file includes both files and dns. Does anyone know where the error might be?

--------------------------------------------------------------------------
resolve.conf=

domain here.com

nameserver 192.168.128.2
nameserver 192.168.128.3
  #2 (permalink)  
Old 12-08-2003
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
Every DNS server must be authoritative for the address 127.0.0.1 Your named.boot file should contain something like:

primary 0.0.127.in-addr.arpa db.127.0.0

And db.127.0.0 should exist and point 127.0.0.1 to localhost.

Also every box needs an /etc/host entry for 127.0.0.1.

There are other ways to achieve this result, but every host must always know that 127.0.0.1 is the loopback address.
  #3 (permalink)  
Old 12-08-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Is 127.0.0.1 in your /etc/hosts file (should be set to localhost)

Can you ping your nameservers via IP address?
Which is first in nsswitch.conf - files or dns?

Is this Solaris? What version?
  #4 (permalink)  
Old 12-09-2003
dozy dozy is offline
Registered User
  
 

Join Date: Nov 2002
Location: in my house
Posts: 37
This is Solaris 8.

And i have a 127.0.0.1 localhost in the hosts file.
The nsswitch.conf file is first file then dns. I tried changeing it so that dns was first but i go the same result.
Yes i can ping anything by ip. Its just the DNS thats not working.
  #5 (permalink)  
Old 12-09-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Is your system that you have the problem on a DNS client only, or is it set up as a DNS server? If it's a server, have you checked Perderabo's suggestion?

Is there a firewall set up between the problem system and the DNS servers? It may be blocking the requests.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:36 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0