Current location - Music Encyclopedia - Chinese History - Reverse analytical method of PTR record
Reverse analytical method of PTR record
How to view the domain name MX PTR (reverse resolution) record:

1) Click Start Menu → Run → Enter cmd (Command for windows 98) in Windows system to open the MS-DOS interface of Windows system. Enter nslookup command to enter the domain name resolution interface.

2) Enter set q=mx enter to enter mx record query status. Enter the main domain name of your company's mail server, that is, the part after the user's email address @, such as: 163.com, China.com, etc. Taking China.com as an example, this paper returns the following general information (the blue part is a comment):

& gtChina. com- This is the queried main domain server: ns-PD. online. sh. cn- This is the currently used DNS host address: 202.96.209. 133-This is the currently used DNS host address.

Non-authoritative answer:

China.com mxpreference =10, mail exchanger = MTA1.china.com.

China.com MX preference = 10, mail exchanger = mta2.china.com.

China.com MX preference = 10, mail exchanger = mta3.china.com.

-These are the three email hostnames pointed to by MX records of China.

Internet address of mta 1.china.com = 21.99.189.179.

Mta2.china.com Internet address = 211.99.189.180.

Mta3.china.com Internet address = 211.99.189.184.

-This is the IP address corresponding to the three email hostnames pointed to by the MX record of China.

China.com Domain Name Server = ns2.china.com

China.com domain name server = ns1.china.com.

-These are the host names of DNS servers that are responsible for resolving china.com.

Ns 1.china.com Internet address = 61.151.243.136.

Ns2.china.com Internet address = 202.84.1.101

-These two IP addresses correspond to the host name of the DNS server responsible for resolving china.com.

-Sometimes the result of querying MX records only contains the host name corresponding to MX, and there is no IP address corresponding to the host name (for example, the MX resolution result of Shanghai Telecom DNS). You need to enter:

& gtset q = a- enter the record resolution mode, and then enter the host name to resolve the IP address:

& gtMTA 1. China. com- Enter the host name of the mail server for query.

& gt non-authoritative answer:

Name: mta 1.china.com

Address: 211.99.189.179.

-get the IP address

3) The standard MX record should be parsed by the host domain (mta.china.com in this example), followed by one or more IP addresses (2 1 1.99.189.438+079 and 211.99 in this example).

4) enter set q=ptr to enter the state of ptr record query > set q = ptr>211.99.189.179-enter the IP address of the queried mail server: ns-pd.online.sh.cn-this is the current DNS server host name for resolution. Address non-authoritative answer:179.189.99.21.in-addr.arpaname = mta.china.com-This is the host name pointed by the PTR record of this IP address189.com. 8+0.in-addr.arpa name server = ns.intercom.com.cn189.99.21.in-addr.arpa name server = ns 1 .intercom.com.cn ns.intercom.com.cn Internet address = 211.99.207.229ns1.intercom.com.cn Internet address = 2 16544.

5) Note: The modification and addition of domain name resolution are only carried out on the personal DNS of the domain name provider, and the DNS server used by others may not be the same as the DNS server you applied for domain name resolution. Therefore, when your domain name is added or modified, you can only see the correct resolution result after the data between DNS servers is synchronized. Synchronization in the same region may take several hours, national DNS synchronization may take two days, and global DNS synchronization may take four days or more, so domain name resolution cannot take effect globally immediately after the change.