Software >> OS >> Unix >> Solaris >> 10 >> Networking >>  How to set up dns properties on the host

Prerequisite, a working tcpip stack with correct default gateway and network connection.

1. /etc/resolv.conf contains domain

nameserver nameserver-1-ip-address

nameserver nameserver-2-ip-address

 

2. /etc/nsswitch.conf should contain the following line

hosts: files dns