Nslookup is a very interesting small command. We use it to see what information is available on DNS.
[Root @ monitor ~] # Nslookup-q = any baidu.com
Server: 8.8.8.8
Address: 8.8.8.8 #53
Non-authoritative answer:
Baidu.com
Origin = dns.baidu.com
Mail addr = sa.baidu.com
Serial = 2011090701
Refresh = 300.
Retry = 300.
Expire = 2592000
Minimum= 7200
Baidu.com text = "v = spf1 ip4: 61.135.163.0/24 ip4: 220.181.50.0/24 ip4: 220.181.18.241 ip4: 220.181.27.29 ip4: 61.135.162.0/24 ip4: 220.181.5.0/24 ip4: 123.125.66.0/24 ip4: 61.135.168.0/24 a mx ptr ~ All"
Name: baidu.com
Address: 220.181.111.86
Name: baidu.com
Address: 123.125.114.144
Name: baidu.com
Address: 220.181.111.85
Baidu.com mail exchanger = 10 mx1.baidu.com.
Baidu.com mail exchanger = 20 mx50.baidu.com.
Baidu.com nameserver = ns3.baidu.com.
Baidu.com nameserver = dns.baidu.com.
Baidu.com nameserver = ns4.baidu.com.
Baidu.com nameserver = ns2.baidu.com.
Authoritative answers can be found from:
We can use the any parameter to know more information about n on Baidu DNS, such as txt records and serial numbers. (we can see that Baidu dns was changed in September 7) address information (it seems that Baidu Telecom has many lines), mx records, ns records; mail addr is sa.baidu.com (presumably the contact Address must be sa # baidu.com)
With this information, we can have a preliminary understanding of a website.
Author: "Good life, happy work !"