Computing.Net > Forums > Solaris > dns issue

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

dns issue

Reply to Message Icon

Original Message
Name: smokey
Date: July 24, 2002 at 09:35:39 Pacific
Subject: dns issue
Comment:

hi all

i am running solaris 8 x86
i am able to connect to web via ip addresses but not via www addresses
i assume it is dns issue , but am unable to workout where the dns server information goes

cheers for any help


Report Offensive Message For Removal


Response Number 1
Name: karen
Date: July 24, 2002 at 11:59:15 Pacific
Reply: (edit)

2 things to check:

Make sure you have a resolv.conf file

#
#resolv.conf file
#
domain something.net (your domain name)
nameserver 192.168.0.1 (your local ip address)
nameserver 216.13.65.12 (your isp's dns address)
nameserver 216.13.68.12 (your isp's dns address)

Edit your /etc/nsswitch.conf file which tells the Solaris where to go for name resolution.

cp nsswitch.dns nsswitch.conf
or
cp nsswitch.files nsswitch.conf

Make sure the hosts line reads: files, dns

if fixing these 2 files doesn't help. I have a whole website with how to's on this and related topics: http://www.techgirl-net.com/

Good Luck!


Report Offensive Follow Up For Removal

Response Number 2
Name: esu (by Raj)
Date: July 24, 2002 at 12:01:23 Pacific
Reply: (edit)

hi,
edit your nameserver ip in /etc/resolv.conf file

nameserver xxx.xxx.xxx.xxx
search your domain name

after that check with nslookup command.


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home








Do you own an iPhone?

Yes
No, but soon
No


View Results

Poll Finishes In 7 Days.
Discuss in The Lounge
Poll History




Data Recovery Software