Using nslookup
Use the
nslookup(TC)
command to query name servers from the command line.
You can run nslookup:
Use interactive mode to enter an nslookup shell from which you can change servers, set query options, and debug nslookup. Use the command line (non-interactive) mode to issue simple queries.
See also: