Using the z/OS UNIX dig command

The domain information groper (dig) is a command line tool that can be used to gather information from the Domain Name System servers. The dig command has two modes: simple interactive mode for a single query, and batch mode, which executes one query for each in a list of several query lines. All query options are accessible from the command line.

Rule: The dig command does not use resolver caching.

The dig command is used to query Domain Name Servers, which enables you to:
  • Exercise name servers
  • Gather large volumes of domain name information
  • Execute simple domain name queries
  • Execute multiple lookups from the command line