绑定 DNS 服务器:nslookup 在 Windows 和 Linux 工作站上显示不同的 MX 信息

问题描述

我使用的是 BIND 9.11.20-RedHat-9.11.20-5.el8:

/etc/named.conf:

$TTL 3H
@       IN SOA   ns1.example.com. admin.example.com.(
                                        1       ; serial
                                        1D      ; refresh
                                        1H      ; retry
                                        1W      ; expire
                                        3H )    ; minimum
        NS      ns1.example.com.
        NS      ns3.example.com.
        A       192.168.1.10
        MX      10 mxa.other.com.
        MX      10 mxb.other.com.

当我通过nslookup查询MX记录时,发现Windows和Linux显示不同的信息:

在 Linux 工作站(CentOS8)上:

nslookup
>server 10.0.0.204
> set type=MX
> example.com
Server:         10.0.0.204
Address:        10.0.0.204#53

example.com       mail exchanger = 10 mxb.other.com.
example.com       mail exchanger = 10 mxa.other.com.

在 Windows (Win2019) 上

nslookup:
>server 10.0.0.204
> set type=MX
> example.com
Server:  [10.0.0.204]
Address:  10.0.0.204

example.com       MX preference = 10,mail exchanger = mxb.other.com
example.com       MX preference = 10,mail exchanger = mxa.other.com
example.com       nameserver = ns1.example.com
example.com       nameserver = ns2.example.com
ns1.example.com   internet address = 10.0.0.204
ns2.example.com   internet address = 10.0.0.205

您可能会注意到 Windows 2019 nslookup 输出显示的以下额外信息:

example.com       nameserver = ns1.example.com
example.com       nameserver = ns2.example.com
ns1.example.com   internet address = 10.0.0.204
ns2.example.com   internet address = 10.0.0.205

这应该是一个问题吗?谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)