Name Service

When a user enters a command such as ping xena, one of the first things that must happen is translation of the hostname xena to an IP address. This can happen in one of two ways.

The IP address can be determined from the /etc/hosts file, or it can be resolved through a domain name service (DNS). For a small network, using just /etc/hosts is not a problem. For a larger network, trying to keep the /etc/hosts file in sync on all hosts can result in a great deal of work because these files must be exactly the same on each host. If the same address gets used on two different systems, the network could fail.

DNS relies on the named (pronounced name d) server to provide hostname-to-IP address translations. The named server is a host that ...

Get Inside Solaris™ 9 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.