现在大家基本都应该知道怎么查询域名是否已经生效了,很简单,那就是ping,DOC模式下操作。查询MX记录是否生效同样也在DOC模式下操作。步骤依次输入如下:
nslookup
set type=mx (注意set后面要有空格)
****.com (这里填写需要检查邮局的顶级域名)
回车
举个例子,如果下面这种状态,能看到mail exchanger,表示mx记录已经生效
C:\>nslookup
Default Server: hzdns47.zjhzptt.net.cn
Address: 202.101.172.47
> set type=mx
> 53dns.com
Server: hzdns47.zjhzptt.net.cn
Address: 202.101.172.47
Non-authoritative answer:
53dns.com MX preference = 10, mail exchanger = mail.53dns.com
53dns.com nameserver = dns.cnmsn.net
mail.53dns.com internet address = 61.152.91.176
dns.cnmsn.net internet address = 61.151.252.250
相反下面这两种情况表示mx记录没有生效,此时邮箱是不能收到除本邮局系统以外的邮件
情况一:
C:\>nslookup
Default Server: hzdns47.zjhzptt.net.cn
Address: 202.101.172.47
> set type=mx
> 53hy.com
Server: hzdns47.zjhzptt.net.cn
Address: 202.101.172.47
*** No mail exchange (MX) records available for 53hy.com
>
情况二:
> set type=mx
> 53dns.cn
Server: hzdns47.zjhzptt.net.cn
Address: 202.101.172.47
53dns.cn
primary name server = dns.cnmsn.net
responsible mail addr = dnsconct.bizcn.com
serial = 1219805588
refresh = 28800 (8 hours)
retry = 14400 (4 hours)
expire = 14400 (4 hours)
default TTL = 600 (10 mins)
转载于:https://blog.51cto.com/lyz9999/537821