今天配置腾讯企业邮箱,配置了 MX 解析,过了半个小时都不生效,于是本地手动检查 MX 解析到底生效了没。

网上找了个 nslookup 命令:

nslookup -qt=mx crowall.com

但郁闷的是报错:

tony@TMBP16 ~ % nslookup -qt=mx crowall.com
*** Invalid option: qt=mx
Server:        192.168.1.1
Address:    192.168.1.1#53

Non-authoritative answer:
Name:    crowall.com
Address: 112.124.39.83

原来, -qt 是 Windows 下专用的, Linux/macOS 下得用 -type

tony@TMBP16 ~ % nslookup -type=mx crowall.com
Server:        192.168.1.1
Address:    192.168.1.1#53

Non-authoritative answer:
crowall.com    mail exchanger = 5 mxbiz1.qq.com.
crowall.com    mail exchanger = 10 mxbiz2.qq.com.
crowall.com    mail exchanger = 10 mxdomain.qq.com.

Authoritative answers can be found from:

搞定。

标签: none

添加新评论