|
|
Installing and Administering Internet Services: HP 9000 Networking > Chapter 3 Configuring and Administering the
BIND Name ServiceConfiguring the Resolver to Query a Remote Name Server |
|
Follow these steps if you want your host to query a name server on a remote host:
If a user sets the LOCALDOMAIN environment variable, any BIND requests made within the context of the user's shell environment will use the search list specified in the LOCALDOMAIN variable. The LOCALDOMAIN variable overrides the domain and search options in /etc/resolv.conf. On HP-UX releases before 10.0, by default, if the resolver could not find the requested host by appending the local domain, it would append the parent of the local domain and the grandparent of the local domain. It would not append just the top-level domain (like com or edu). For example, if BIND could not find host name aardvark in the local domain zoo.bio.nmt.edu, it would look for aardvark.bio.nmt.edu and aardvark.nmt.edu but not aardvark.edu. On HP-UX release 10.0 and later releases, by default, if you do not specify a search list in /etc/resolv.conf, the resolver will append only the local domain to the input host name. If you want BIND to behave as it did in releases before 10.0, configure a search list in the /etc/resolv.conf file. The following search list causes BIND to search the zoo.bio.nmt.edu domain as it did by default in releases before 10.0:
Type man 4 resolver or man 5 hostname the HP-UX prompt for more details, or see “How BIND Resolves Host Names”. |
|