nslookup查询mx方法,如何在发信服务器上查询邮件服务器MX记录?

jackxiang 2009-6-26 10:12 | |
nslookup查看mx记录:
nslookup -query=mx cntv.cn
Server:         114.114.114.114
Address:        114.114.114.114#53

Non-authoritative answer:
cntv.cn mail exchanger = 10 mxcom.263xmail.com.
cntv.cn mail exchanger = 5 mxwcom.263xmail.com.

------------------------------------------------------------------------------------
nslookup -query=mx "smtp.staff.cntv.cn"
Server:         114.114.114.114
Address:        114.114.114.114#53

Non-authoritative answer:
smtp.staff.cntv.cn      canonical name = smtpcom.263xmail.com.

Authoritative answers can be found from:
263xmail.com
        origin = ns.capital-online.com.cn
        mail addr = root.ns.capital-online.com.cn
        serial = 28436
        refresh = 1800
        retry = 300
        expire = 604800
        minimum = 86400
________________________________________________

Linux windows 通用:
nslookup
set q=mx
163.com


windows下:
nslookup -qmx "163.com"

_______________________________________________

nslookup -query=mx "163.com"
Server:         114.114.114.114
Address:        114.114.114.114#53

Non-authoritative answer:
163.com mail exchanger = 50 163mx00.mxmail.netease.com.
163.com mail exchanger = 10 163mx02.mxmail.netease.com.
163.com mail exchanger = 10 163mx01.mxmail.netease.com.
163.com mail exchanger = 10 163mx03.mxmail.netease.com.

可以看到163.com的MX记录为mx.mail.163.split.netease.com,并且将列出该MX记录对应的IP。
  如果该命令没有返回正确的MX记录或者IP,则有可能是您的网络问题或DNS配置错误造成无法向网易邮箱发信,请先联系您的DNS管理员进行解决。

作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:http://jackxiang.com/post/1803/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!


最后编辑: jackxiang 编辑于2016-8-24 23:57
评论列表
发表评论

昵称

网址

电邮

打开HTML 打开UBB 打开表情 隐藏 记住我 [登入] [注册]