nslookup configuration

There are only two places to specify nslookup options: as command options, or from the resolver configuration data set. Only a few of the options may be set in the resolver configuration data set. The command options always have precedence over any option configured in the resolver configuration data set.

Only the following options can be specified in the resolver configuration data set for v9 nslookup:
  • nameserver/nsinteraddr
  • options ndots: n
  • search
  • domain/domainorigin
The z/OS® UNIX nslookup command uses a private resolver that is different from the resolver used by other z/OS UNIX socket programs. The z/OS UNIX nslookup command has the following functional differences:
  • z/OS UNIX nslookup does not use SiteTables (for example, /etc/hosts) for host name resolution.
  • Only the built-in translation table is used for nslookup.
For a complete discussion of resolver configuration files, see IP configuration overview.