name servers

ok, I chose dhcp when I set up my first solaris box. I can ping ip addresses. If I do a nslookup on a domain name and enter the ip address in my browser I get a web page. I want to know how and where to specify what dns servers to look @. thanks

You specify the name servers to use in /etc/resolv.conf.

Format:

domainname yourdomain.com
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

You can have up to three nameservers listed. Check out http://www.acmebw.com/askmrdns/

Many DHCP clients have configuration switches that instruct the DHCP client not to use the nameserver(s) provided by the DHCP process. If you manually enter nameservers in /etc/resolv.conf, these are often overwritten by the DHCP process. So, be sure to check your DHCP configuration and make sure that your DHCP process is configured not to accept or request nameserver information from the DHCP server(s) if you want to use your own set of nameserver addresses.