APPLY YOUR KNOWLEDGE

Exercises

7.1 Configure and Test a DNS Client

The following steps show you how to configure a DNS client and test it.

Estimated Time: 5 minutes

1.
Edit the /etc/resolv.con file and add one line for each DNS server. If the DNS server address is 192.168.2.10, the result should look like this:
nameserver 192.168.2.10 
2.
Edit the /etc/nsswitch.conf file and create the following line:
hosts: dns 
3.
Use the nslookup command to verify that the client works.
7.2 Configure a DNS Server

The following steps will show you how to configure a DNS server. This exercise assumes that the domain name you are using is not registered on the Internet.

Estimated Time: 25 minutes

1.
Select a name of your choice for your domain.

Get Solaris™ 8 Network Administrator Certification Training Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.