How do I set the Primary and secondary DNS name server for a Sparc IIi running Solaris 9. I have already put them in the resolv.conf file but they still do not work.
Maybe your nsswitch.conf file is wrong. There is a nsswitch.conf man page.
Is it possible for you to send an entries of resolv.conf and nsswitch.conf also please try the following command from any client machine:-
nslookup <domainname>
and let me know what's the message you are getting
# echo "nameserver 1.1.1.1 \nnameserver 1.1.1.2" > > /etc/resolv.conf
# vi /etc/nsswitch.conf
hosts: files dns
# pkill -HUP inet
greetings Pre�y
It is on an Ultra 5 workstation that I bought off ebay. There are no client machines. I will check the nsswitch.conf and see if it works.
make sure you have the following done:
1) /etc/resolv.conf
domain xxxxxxx
nameserver xxxxxxxx
nameserver xxxxxxxx (if available)
fill in the "xx"'s.
2) Then check /etc/nsswitch.conf
hosts: files dns
3) If one doesn't exist then create /etc/defaultrouter
*
24.33.x.x (only entry will be your default router)
*
4 ) reboot
you should be good to go................(step 4 can be bypassed by adding a static route if you can't reboot)
Hope this helps.....good luck...