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.