How to Use the NSLookup command

Source: Internet
Author: User
Tags mx record nslookup nslookup command

 

Query IP addresses

NSLookupThe simplest method is to query the IP address corresponding to the domain name, including the record, MX record, and NS record cname record.

Query a records:NSLookupDomain Name

Query MX records:NSLookup-Q = Mx Domain Name

Query NS records:NSLookup-Q = NS Domain Name

Query cname records:NSLookupDomain Name

Query whether Reverse Domain name resolution takes effect.NSLookupCommand

Command Format:NSLookup-Qa =PTRXXX. XXX

-Qa =PTRThe query type isPTRThat is, please follow the IP address for reverse resolution after reverse query (reverse resolution is to check the host name resolution from the IP address, so it does not need to be confused with the domain name resolution)

The following is a correctPTRResolution output result

C: \ Users \ Sony>NSLookup-Qt =PTR203.86.5.67
Server: ns.szptt.net.cn
Address: 202.96.134.small: 53

Non-authoritative response:
67.5.86.203.in-ADDR. Arpa name = mail.idcsea.net

If the red part of the last row of the type is displayed, reverse resolution is successful.

Online query: http://www.lbase.net/ReverseDNS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.