Installing and Administering Internet Services

Chapter 3 67
Configuring and Administering the BIND Name Service
Overview of the BIND Name Service
The search option specifies a list of domains to search. Following is
an example of a search option in /etc/resolv.conf:
search div.inc.com inc.com
You can set the search option to any list of domains, but the first
domain in the list must be the domain of the local host. BIND looks
up host names in each domain, in the order they are listed. BIND
uses the search option only if the LOCALDOMAIN variable is not set.
The domain option specifies the local domain. If you use the domain
option, BIND will search only the specified domain to resolve host
names. BIND uses the domain option for host name lookups only if
the LOCALDOMAIN variable is not set and the search option is not
specified. (Do not use the domain and search options together in the
same /etc/resolv.conf file. If you do, the one that appears last in
the file will be used, and any previous ones will be ignored.)
For more information on how BIND resolves host names, type man 5
hostname or man 4 resolver at the HP-UX prompt.