solaris10 dns problem


 
Thread Tools Search this Thread
Operating Systems Solaris solaris10 dns problem
# 1  
Old 06-16-2005
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
# 2  
Old 06-16-2005
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
# 3  
Old 06-16-2005
fixed

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

need to put:

nameserver 10.32.2.11

etc...
# 4  
Old 06-16-2005
thnks

thnks for the quick reply
# 5  
Old 06-16-2005
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... Smilie

gP
# 6  
Old 06-16-2005
oops

seems like I'm still sleeping Smilie

sorry...baby...not much sleep... Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Debian

Need help with DNS problem

I have a standalone PC running Debian 6. DNS stopped working suddenly. I haven't changed anything. Email works because it has the ip address of the mail server. Firefox can apparently fend for itself. nslookup some_url or nslookup some_ip_address returns: nslookup: parse of /etc/resolv.conf... (4 Replies)
Discussion started by: snorkack59
4 Replies

2. UNIX for Advanced & Expert Users

mpxio in Solaris10 with NetApp FAS3140 problem

we have a v440 SUN machine with a NetApp FAS3140 SAN storage, the v440 got 2 HBA qlogic cards both connected to the switch side in NetApp 3140, zoning in netapp configured proberly and luns are adversitesed to the SUN machine, the problem i am facing is that when i try to configure the mpxio i am... (7 Replies)
Discussion started by: q8devilish
7 Replies

3. Red Hat

Mail Problem. Maybe, it is a DNS Problem!

Hi, i've a redhat linux 9 upadated by redhat from 7 version to 9 version. A couple of days ago i was a problem with my mail, in other words i'm not able to get any email nor to send any email. I've a proxy configuration and i tried to set iptables in order to verify the port. The 110,255 and 995... (1 Reply)
Discussion started by: pintalgi
1 Replies

4. Ubuntu

dns problem

hello. i'm running ubuntu desktop 8.04 and i use it ot host some sites (actually i'm trying ) well i'm running to websites (with the same dns,ip) site1.com work fine but site2.com give me this Hmm, site2.com isn't loading right now. The computers that run site2.com are having some trouble.... (2 Replies)
Discussion started by: mazi
2 Replies

5. UNIX for Advanced & Expert Users

DNS problem

Hello again I having a wired problem if use nslookup to check some changes that I made to the blackhole list.First I'll check a site that I know has access throught our sever and it would time out. Then If I'll try it 10 seconds later it would work. Isn't that wierd. But my blackhole list site... (0 Replies)
Discussion started by: aojmoj
0 Replies

6. Shell Programming and Scripting

DNS problem

sorry guys, I had big problem solving this simple problem..:D hope expertise here can solve this problem. ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 1361 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;. IN... (0 Replies)
Discussion started by: unknown2205
0 Replies

7. UNIX for Dummies Questions & Answers

DNS problem

Hi all, I have got the message of "*** Can't find server name for address 10.131.120.50: Server failed" when I typed nslookup on the DNS server I setup the /etc/named.conf and all the data files in /var/named and start the named daemon. I also mae appropriate change on the resolv.conf and... (2 Replies)
Discussion started by: stancwong
2 Replies

8. IP Networking

DNS Problem

Hello Everyone, I am working on a HP-Unix machine and I am trying to get it to use the University's DNS servers. Long story short... the resolv.conf file is ok : nameserver 149.150.51.1 nameserver 149.150.51.2 search shu.edu The hosts file is ok. And when I make the nsswitch.conf file... (1 Reply)
Discussion started by: loslappy
1 Replies

9. IP Networking

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... (4 Replies)
Discussion started by: dozy
4 Replies

10. IP Networking

dns problem

helo all i got problem in my network i got sun 206 and i work with sendmail when i had the praimery dns of my isp i can send mail from the server but i cant send from the clinet (outlook in the network) and if i chnage it to secundery dns off my isp i can send frome the server and frome the... (2 Replies)
Discussion started by: nis
2 Replies
Login or Register to Ask a Question