DNS query command NSLookup

Source: Internet
Author: User
Tags nslookup nslookup command

Description:

The NSLookup command is a program that queries the Internet Domain Name Service. The NSLookup command has two modes: Interactive and non-interactive.

Interactive Mode allows users to query different types of hosts and domain names or output host lists in one domain name to query domain name-related information.

Non-interactive mode is only used to output the information required by the name and host or domain name.

 

Example:

# NSLookup
> Www.baidu.com
Server: 172.31.0.2
Address: 172.31.0.2 #53

Non-Authoritative Answer:
Www. Baidu. comcanonical name = www.a.shifen.com.
Name: www.a.shifen.com
Address: 220.181.111.188
Name: www.a.shifen.com
Address: 220.181.112.244
# NSLookup www.baidu.com
Server: 172.31.0.2
Address: 172.31.0.2 #53

Non-Authoritative Answer:
Www. Baidu. comcanonical name = www.a.shifen.com.
Name: www.a.shifen.com
Address: 220.181.112.244
Name: www.a.shifen.com
Address: 220.181.111.188

# NSLookup
> Set q = mx
> Www.baidu.com
Server: 172.31.0.2
Address: 172.31.0.2 #53

Non-Authoritative Answer:
Www. Baidu. comcanonical name = www.a.shifen.com.

Authoritative answers can be found from:
A.shifen.com
Origin = ns1.a.shifen.com
Mail ADDR = baidu_dns_master.baidu.com
Serial = 1410210001
Refresh = 5
Retry = 5
Expire = 86400
Minimum= 3600

 

DNS query command NSLookup

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.