Grammar
nslookup [-subcommand ...] [{computertofind| [-server]}]
Parameters
-subcommand ...
Specifies one or more nslookup subcommand as command-line options.
ComputerToFind
If no other server is specified, the current default DNS name server is used to refer to the ComputerToFind information. To find computers that are not in the current DNS domain, attach a period to the name.
-server
Specifies that the server is to be used as a DNS name server. If-server is omitted, the default DNS name server is used.
{help|?}
Displays a brief summary of the NSLOOKUP subcommand.
Example
query field name a record is in effect
Command format: nslookup domain
C:usersadministrator>nslookup 111cn.net
Server: 20130000-0000.lan
address:192.168.1.1
Non-authoritative answer:
Name: 111cn.net
address:114.215.187.51
Whether the MX record for the query domain takes effect
Command format: NSLOOKUP-QT=MX domain
C:USERSADMINISTRATOR>NSLOOKUP-QT=MX 111cn.net
Server: 20130000-0000.lan
address:192.168.1.1
non-authoritative answer:
111cn.net MX preference = ten, mail exchanger = mxbiz2.qq.com
111cn.net MX preference = 5, mail exchanger = mxbiz1.qq.com
111cn.net nameserver = f1g1ns1.dnspod.net
111cn.net nameserver = f1g1ns2.dnspod.net
mxbiz1.qq.com Internet address = 113.108.16.61
mxbiz1.qq.com AAAA IPv6 address = 240e:ff:f040:28::c
mxbiz2.qq.com Internet address = 113.108.16.61
mxbiz2.qq.com AAAA IPv6 address = 240e:ff:f040:28::c
F1g1ns1.dnspod.net Internet address = 180.153.9.189
F1g1ns1.dnspod.net Internet address = 182.140.167.166
F1g1ns1.dnspod.net Internet address = 183.60.52.217
F1g1ns1.dnspod.net Internet address = 119.167.195.3
F1g1ns2.dnspod.net Internet address = 112.90.143.29
F1g1ns2.dnspod.net Internet address = 122.225.217.191
F1g1ns2.dnspod.net Internet address = 180.153.162.150
F1g1ns2.dnspod.net Internet address = 182.140.167.188
NS server used to query domain names
Command format: Nslookup-qt=ns domain
C:usersadministrator>nslookup-qt=ns 111cn.net
Server: 20130000-0000.lan
address:192.168.1.1
Non-authoritative answer:
111cn.net nameserver = f1g1ns1.dnspod.net
111cn.net nameserver = f1g1ns2.dnspod.net
F1g1ns1.dnspod.net Internet address = 182.140.167.166
F1g1ns1.dnspod.net Internet address = 183.60.52.217
F1g1ns1.dnspod.net Internet address = 119.167.195.3
F1g1ns1.dnspod.net Internet address = 180.153.9.189
F1g1ns2.dnspod.net Internet address = 112.90.143.29
F1g1ns2.dnspod.net Internet address = 122.225.217.191
F1g1ns2.dnspod.net Internet address = 180.153.162.150
F1g1ns2.dnspod.net Internet address = 182.140.167.188
CNAME alias record for query domain name
Command format: nslookup-qt=cname domain
C:usersadministrator>nslookup-qt=cname www.111cn.net
Server: 20130000-0000.lan
address:192.168.1.1
Non-authoritative answer:
Www.111cn.net Canonical name = 111cn.net
111cn.net nameserver = f1g1ns1.dnspod.net
111cn.net nameserver = f1g1ns2.dnspod.net
F1g1ns1.dnspod.net Internet address = 119.167.195.3
F1g1ns1.dnspod.net Internet address = 180.153.9.189
F1g1ns1.dnspod.net Internet address = 182.140.167.166
F1g1ns1.dnspod.net Internet address = 183.60.52.217
F1g1ns2.dnspod.net Internet address = 112.90.143.29
F1g1ns2.dnspod.net Internet address = 122.225.217.191
F1g1ns2.dnspod.net Internet address = 180.153.162.150
F1g1ns2.dnspod.net Internet address = 182.140.167.188