Querying name servers

This topic describes how to use the nslookup command to query the name server. onslookup is an alias of nslookup in the z/OS® UNIX environment.
Notes:
  1. The z/OS UNIX nslookup command runs only from the z/OS shell. The nslookup command can query the name server from TSO or the z/OS shell. However, only the legacy TSO version of NSLOOKUP is available from TSO. See z/OS Communications Server: IP System Administrator's Commands for detailed information.
  2. The host and dig commands are another way to query name servers from the z/OS shell. For information on the host and dig commands, see z/OS Communications Server: IP System Administrator's Commands.