Networking Guide
Chapter 6, Configuring the Domain Name Service

Querying a single name or address

Querying a single name or address

To issue a simple query from the command line, use one of the following syntaxes:

nslookup name

nslookup IP address

nslookup returns the desired data.