Configuring and Managing MPE/iX Internet Services (August 2002)

Chapter 8
DNS BIND/iX
List of Utilities
131
responding. Note that the resolver will only query subsequent name servers if there is no
response, if the previous nameserver has already replied that it cannot resolve a query, no
further lookup will be attempted.
NOTE It is very important that you omit the leading zeros in the domain name
resolver files. If you enter leading zeros here, the resolver routines will
interpret the numbers as octal numbers.
sortlist This directive is a mechanism which lets you specify subnets and networks for the resolver
to prefer if it receives multiple addresses as a result of a query. The format is the sortlist
directive, followed by a list of network addresses may also include a subnet mask, which
immediately follows the address, preceded by a slash symbol (/).
sortlist 128.32.42.0/255.255.255.0 15.0.0.0
options The options directive lets you set two internal resolver settings.
options debug
The above directive will set an internal flag which causes debugging information to be
produced on standard output.
options ndots:2
The above directive sets the minimum number of dots a domain name query must contain
before the resolver will assume that it is a fully qualified name and therefore does not need
to append the default domain (or searchlist argument) before sending it to the server.
The options directive can combine both settings on the same line.
options debug ndots:2
lines Beginning with a pound sign (#) or a semicolon (;) in the first column, they are interpreted
as comments and ignored by the resolver.
List of Utilities
nslookup query Internet name servers interactively
Example:
* nslookup quasar.india.hp.com
Name Server: hpmpea2.cup.hp.com
Address: 15.61.192.116
Non-authoritative answer:
Name: quasar.india.hp.com
Address: 15.10.45.114
dig Domain Information Groper
Example: shell/iX> dig
; <<>> DiG 8.1 <<>>
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6