NSLookup can specify the type of query, the lifetime of DNS records, and the DNS server used for interpretation.
How to query DNS records with the local computer?
Open the command prompt window (Start -- Run -- Enter CMD -- Enter)
The syntax of nslookup is nslookup – qt=type target domain name (Note that qt must be lower case)
The main types are:
A address record (Ipv4)
AAAA address record (Ipv6)
CNAME alias record
HINFO hardware configuration record, including CPU and operating system information
ISDN number corresponding to ISDN domain name
MB The server where the specified mailbox is stored
MG mail group record
Information record of MINFO mail group and mailbox
Email record of MR renaming
MX Mail Server Records
NS name server record
PTR reverse record
Records of RP responsible person
SRV TCP server information record
Text information corresponding to TXT domain name
For example, if you want to query the A record of tool.chinaz.com, enter nslookup - qt=a tool.chinaz.com in the command prompt window to find the corresponding record
How do I query using a specified DNS server?
The DNS server IP or domain name specified for nslookup - qt=type target domain name
Example: nslookup - qt=A tool. chinaz.com 8.8.8.8