Technical data

Configuring and Managing BIND
5.8 Using NSLOOKUP to Query a Name Server
5.8.5.3 MX Query Type
To obtain information about mail exchange records, set the query type to MX and
enter a domain. The output tells you which hosts handle mail for the specified
domain, as shown in the following example.
> set type=mx
> lgk.dec.com
Server: condor.lgk.dec.com
Address: 16.99.208.53
lgk.sea.com preference = 200, mail exchanger = crl.sea.com
lgk.sea.com preference = 50, mail exchanger = collie.lgk.sea.com
lgk.sea.com preference = 100, mail exchanger = mail13.digital.com
lgk.sea.com preference = 100, mail exchanger = mail11.digital.com
lgk.sea.com preference = 200, mail exchanger = mail2.digital.com
lgk.sea.com nameserver = collie.lgk.sea.com
lgk.sea.com nameserver = condor.lgk.sea.com
lgk.sea.com nameserver = hageln.lgk.sea.com
crl.sea.com internet address = 192.58.206.2
collie.lgk.sea.com internet address = 16.99.208.100
mail13.digital.com internet address = 192.208.46.30
mail2.digital.com internet address = 204.123.2.56
condor.lgk.sea.com internet address = 16.99.208.53
hageln.lgk.sea.com internet address = 16.99.208.10
5.8.5.4 SOA Query Type
This query type returns the domain’s start-of-authority information.
> set type=soa
> microsoft.com
Server: condor.lgk.sea.com
Address: 16.99.208.53
microsoft.com
origin = dns1.microsoft.com
mail addr = msnhst.microsoft.com
serial = 1998101204
refresh = 7200 (2H)
retry = 1800 (30M)
expire = 2592000 (4w2d)
minimum ttl = 86400 (1D)
microsoft.com nameserver = dns3.nwnet.net
microsoft.com nameserver = dns4.nwnet.net
microsoft.com nameserver = dns1.microsoft.com
microsoft.com nameserver = dns2.microsoft.com
microsoft.com nameserver = dns1.moswest.msn.net
microsoft.com nameserver = dns2.moswest.msn.net
dns3.nwnet.net internet address = 192.220.250.7
dns4.nwnet.net internet address = 192.220.251.7
dns1.microsoft.com internet address = 131.107.1.7
dns2.microsoft.com internet address = 131.107.1.240
5.8.5.5 NS Query Type
To obtain information about the name servers for a particular zone, set the query
type to NS and then enter the zone you want. The following example shows the
name servers for the microsoft.com zone.
> set type=ns
> microsoft.com
Server: condor.lgk.sea.com
Address: 16.99.208.53
5–44 Configuring and Managing BIND