If you want to ...
You would use this OS command ...
You would use this DNS request type ...
You would use this argument string ...
Lookup the IP address for
nslookup
A
Lookup the name servers for your domain abc.com
nslookup -type=NS abc.com
NS
abc.com
Find the hostname referenced by an alias
nslookup -type=CNAME mail.abc.com
CNAME
mail.abc.com
Find the hostname for the IP address 192.249.249.1
nslookup 192.249.249.1
PTR
192.249.249.1
Find the mail servers for a host support.abc.com or domain abc.com
nslookup -type=MX support.abc.com or nslookup -type=MX abc.com
MX
support.abc.com or abc.com
Look up Start of Authority information for domain abc.com
nslookup -type=SOA abc.com
SOA
abc.com
Look up all DNS Records for a domain abc.com
nslookup -type=ANY abc.com
ANY
abc.com