欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  新闻

检查MX记录是否生效的方法

程序员文章站 2022-06-21 17:26:13
检查MX记录是否生效的方法,仅供参考。... 09-08-25...
开始--运行--cmd
nslookup -qe=mx ebadu.net
正确指示:
c:\documents and settings\administrator>nslookup -qe=mx ebadu.net
server: ns.ahhfptt.net.cn
address: 202.102.192.68
dns request timed out.
timeout was 2 seconds.
non-authoritative answer:
ebadu.net mx preference = 0, mail exchanger = mail.ebadu.net
ebadu.net nameserver = ns2.dns.com.cn
ebadu.net nameserver = ns1.dns.com.cn
mail.ebadu.net internet address = 222.186.12.16
ns1.dns.com.cn internet address = 122.70.138.5
ns1.dns.com.cn internet address = 122.70.138.6
ns1.dns.com.cn internet address = 124.42.122.8
ns1.dns.com.cn internet address = 124.42.122.9
ns2.dns.com.cn internet address = 124.42.122.5
ns2.dns.com.cn internet address = 124.42.122.6
ns2.dns.com.cn internet address = 122.70.138.8
ns2.dns.com.cn internet address = 122.70.138.9

见到ns记录显示了ip 即为通畅状态

nslookup -qe=mx ebadu.com

c:\documents and settings\administrator>nslookup -qe=mx ebadu.com
server: ns.ahhfptt.net.cn
address: 202.102.192.68
dns request timed out.
timeout was 2 seconds.
non-authoritative answer:
ebadu.com canonical name = www.center.ebadu.net
ebadu.net
primary name server = ns2.dns.com.cn
responsible mail addr = root.ns2.dns.com.cn
serial = 2008061113
refresh = 3600 (1 hour)
retry = 3600 (1 hour)
expire = 68400 (19 hours)
default ttl = 180 (3 mins)
反馈不回nsip记录.即为不通状态!
检测反解析是否成功
nslookup –qt=ptr 61.191.191.182

返回信息如下:
c:\documents and settings\user>nslookup –qt=ptr 61.192.56.23
server: mx.diyway.net
address: 61.192.56.23
说明这个ip的反解析就是成功了。

返回信息如下
c:\documents and settings\user>nslookup –qt=ptr 61.192.56.23
*** can't find server name for address 61.142.80.154: non-existent domain
server: unknown
address: 61.192.56.23
说明这个ip的反解析没有作。