Configuring and Managing MPE/iX Internet Services (MPE/iX 6.5)

134 Chapter8
DNS BIND/iX
Configuring the DNS Resolver
Configuring the DNS Resolver
The file RESLVCNF.NET.SYS is the configuration file for the Domain
Name resolver. It should be linked to /etc/resolv.conf. If the file
does not already exist, then it can be copied from RSLVSAMP.NET.SYS to
RESLVCNF.NET.SYS and then modified to contain information about
your local domain and servers.
Each entry in the resolver file consists of a keyword followed by a value
separated by white space. The keyword and its associated value must
appear on a single line, and the keyword must start the line. Comment
lines start with a pound sign (#) or semicolon (;).
domain Enter the default domain name. This string will be
appended to queries passed to the local DNS server.
The default names should be written without a trailing
dot:
domain india.hp.com
It is important to get the syntax correct as the resolver
does not report errors. If more than one instance of the
domain keyword is present, the last instance will
override.To specify multiple domains for an unqualified
name lookup, use the search directive.
search The search directive is optional but overrides the
domain directive for specifying which domains should
be searched for unqualified host name lookups. You
should add a search entry if users on a system
commonly try to connect to nodes in another domain.
The format is the search directive followed by up to six
domains, separated by a white space.
search cup.hp.com hp.com
nameserver The nameserver directive tells the resolver the IP
address of a name server to query. For example, the
line:
nameserver 15.32.17.2
instructs the resolver to send queries to the name
server running at IP address 15.32.17.2 instead of the
local host.
The resolver will also allow you to specify up to three
name servers using multiple nameserver directives.
They will be tried in the order in which they appear in
the RESLVCNF file, only passing to the next listed
nameserver if the previous one is not responding. Note
that the resolver will only query subsequent name