The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Re: Crontab in solaris10 gullapalli SUN Solaris 7 05-05-2008 04:29 PM
Sun Solaris10 quickgun SUN Solaris 1 10-26-2006 02:43 AM
Detecting NIC in Solaris10 jimthompson IP Networking 1 12-06-2005 06:35 AM
Detecting NIC in Solaris10 jimthompson UNIX for Advanced & Expert Users 1 12-06-2005 06:34 AM
help,win2003 and solaris10 in a pc? keyi SUN Solaris 1 12-18-2004 04:05 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-16-2005
Registered User
 

Join Date: Jun 2005
Posts: 4
solaris10 dns problem

Hi,

I'm new to solaris and just installed solaris 10. For some reason I can't resolve stuff. I installed it with the option to use dns. My routing is correct. (I can ping stuff outside my subnet).
I have a resolv.conf which looks like this:

bash-3.00# more resolv.conf
10.32.2.12
10.32.2.11

bash-3.00# ping 10.32.2.12
10.32.2.12 is alive

This is my nsswitch.conf file (the relevant part):

# You must also set up the /etc/resolv.conf file for DNS name
# server lookup. See resolv.conf(4).
hosts: files dns

# Note that IPv4 addresses are searched for in all of the ipnodes databases
# before searching the hosts databases.
ipnodes: files dns


and the dns client service runs:

bash-3.00# svcs | grep dns
online 11:40:56 svc:/network/dns/client:default


However , when I do a nslookup I get nothing:


bash-3.00# nslookup www.google.com
;; connection timed out; no servers could be reached


and when I snoop the connection on port 53, I see nothing going out or in...


Any idea's? Help would be greatly appreciated.

thnks
Reply With Quote
Forum Sponsor
  #2  
Old 06-16-2005
pressy's Avatar
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 718
Quote:
bash-3.00# more resolv.conf
10.32.2.12
10.32.2.11
wrong syntax:
should be:
Quote:
bash-3.00# more resolv.conf
nameserver 10.32.2.12
nameserver 10.32.2.11
gP
Reply With Quote
  #3  
Old 06-16-2005
Registered User
 

Join Date: Jun 2005
Posts: 4
fixed

nevermind...seems the solaris resolv.conf syntax is diffrent than linux

need to put:

nameserver 10.32.2.11

etc...
Reply With Quote
  #4  
Old 06-16-2005
Registered User
 

Join Date: Jun 2005
Posts: 4
thnks

thnks for the quick reply
Reply With Quote
  #5  
Old 06-16-2005
pressy's Avatar
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 718
hmmm,

Quote:
nevermind...seems the solaris resolv.conf syntax is diffrent than linux

need to put:

nameserver 10.32.2.11

etc...
looking into my gentoo-linux :

Quote:
pressytest ~ # uname -a
Linux pressytest 2.6.10-gentoo-r6_PRESSY #2 Wed Mar 16 15:21:07 MET 2005 i686 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux
pressytest ~ #
pressytest ~ # more /etc/resolv.conf
domain ips.at
nameserver 192.168.33.20
search ips.at
pressytest ~ #
looking on debian:
Quote:
test:~# uname -a
Linux test 2.4.24-1-vs1.24 #1 Tue Mar 23 15:27:27 CET 2004 i686 unknown
test:~#
test:~# more /etc/resolv.conf
search ips.at
nameserver 192.168.33.20
test:~#
should be the same...

gP
Reply With Quote
  #6  
Old 06-16-2005
Registered User
 

Join Date: Jun 2005
Posts: 4
oops

seems like I'm still sleeping

sorry...baby...not much sleep...
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:33 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0