DNS Configuration and Management Manual (G06.27+, H06.05+, J06.03+)

DNS Configuration on the NonStop Server
HP DNS Configuration and Management Manual529432-003
3-25
Specifying Multiple Names in the Resolver by Using
Sections
options
Allows internal resolver variables to be modified.
The most common variables that can be modified are
ndots, timeout,
retrans, attempts, retry.
This feature allows you to search for host-names in multiple domains and their
respective name servers. This search is done by using the introduction of a new
keyword section in the resolver configuration file. This section is a sub-part of the
resolver configuration file that specifies:
The domain to be searched as specified by the keyword domain.
The Name Servers to be contacted as specified after the domain statement.
The section can also specify the other resolver directives:
search and options.
Thus, a section can incorporate all directives that are part of a resolver configuration
file.
The first two lines (specifying
domain and nameserver) of Example 3-6 form the
default section for which the keyword
section is not needed. The subsequent
sections have to be specified by the keyword section as shown. A maximum of five
sections, including the default section, can be specified.
When a query is issued to resolve a host name, the DNS resolver sequentially
appends each of the domains (specified with the keyword
domain) to the host name.
Note. For more information about the above directives, refer to the resolv.conf man page.
(See Table 2-1, OSS Commands to Access man Pages, on page 2-3.)
Example 3-6. Resolver Configuration File With Sections
domain abc.com
nameserver 10.53.0.1
section
domain def.com
nameserver 10.53.0.2
section
domain ghi.com
nameserver 10.53.0.3
Note. The search keyword can be used instead of domain to specify a list of domain names in
the resolver file. For details about the use of the search keyword, refer to the resolv.conf MAN
page. (See Table 2-1, OSS Commands to Access man Pages, on page 2-3.)