Set Up DNS
Note - Skip this procedure if the security administrator has planned a closed network.
If you are using DNS to contact hosts outside of your domain, you must set it up. For detailed information about DNS, see the Federated Naming Service Guide.
-
Create a resolv.conf file with the appropriate name servers using the Set DNS Servers action.
-
Enter the string nameserver followed by the IP address of one of your name servers, and repeat for all name servers.
The file looks something like:
nameserver nnn.nnn.nnn.nnn
nameserver nnn.nnn.nnn.nnn
|
-
Write the file and exit the editor.
-
Using the Name Service Switch action, change the hosts entry in the /etc/nsswitch.conf file to use DNS.
~
#hosts: nis [NOTFOUND=return] files
hosts: nis files dns
~