thedark Second Lieutenant
Joined: 30 Jul 2005
Posts: 1074
|
Posted: Sun Jul 31, 2005 8:06 am Post subject: Solaris > DNS Client configuration |
|
|
1) Create the file called /etc/resolv.conf – which includes the primary and secondary DNS server IP address for Solaris system, it can be your own DNS server or your ISPs DNS server:
# touch /etc/resolv.conf
# vi /etc/resolv.conf
search nixcraft.com
nameserver 202.54.1.30
nameserver 202.54.1.18
2) Enable the name resolving using DNS as follows:
# cp /etc/nsswitch.dns /etc/nsswitch.conf
3) Test it by running the nslookup command as follows:
# nslookup www.nixcraft.com |
|