Query That Server
You can query name servers for information on hosts and domains.
www.yahoo.com canonical name = www.yahoo-ht3.akadns.net.
nslookup has two modes: normal and interactive. If you type nslookup without a domain, and hit enter, it goes into interactive mode. In this mode, nslookup displays a prompt: >
In interactive mode, you can set the query type for an nslookup:
> set type=mx
Any queries made will relate to (mx) mail servers.
yahoo.com mail exchanger = 1 a.mx.mail.yahoo.com.
yahoo.com mail exchanger = 1 b.mx.mail.yahoo.com.
yahoo.com mail exchanger = 1 c.mx.mail.yahoo.com.
yahoo.com mail exchanger = 1 d.mx.mail.yahoo.com.
yahoo.com mail exchanger = 1 e.mx.mail.yahoo.com.
yahoo.com mail exchanger = 1 f.mx.mail.yahoo.com.
yahoo.com mail exchanger = 1 g.mx.mail.yahoo.com.
Authoritative answers can be found from:
You can set nslookup to query other server types:
a ip address
cname canonical name for alias
mx mail server records
ns name server records
any list all recoreds