我已成功配置绑定服务器以进行 DNS 查找。但是,反向查找(IP 地址到主机名)不起作用。
这是我的区域文件:
$TTL 38400
@ IN SOA brave-vesperia.com. email.com (
1500723860;
10800;
3600;
604800;
38400);
IN NS brave-vesperia.com.
IN NS bind-9.brave-vesperia.com.
76.50 IN PTR nagios.brave-vesperia.com.
76.60 IN PTR win2016.brave-vesperia.com.
对其中任何一个地址运行 dig 都会返回NXDOMAIN
。据我所知,我的绑定日志中没有错误消息,而且正如我提到的,正常查找工作正常。
下面是我启动 BIND 时日志的相关部分:
13-Nov-2020 20:59:35.020 not using config file logging statement for logging due to -g option
13-Nov-2020 20:59:35.021 managed-keys-zone: loaded serial 0
13-Nov-2020 20:59:35.021 zone 0.in-addr.arpa/IN: loaded serial 1
13-Nov-2020 20:59:35.022 zone 192.10.in-addr.arpa/IN: loaded serial 1500723860
13-Nov-2020 20:59:35.023 zone 127.in-addr.arpa/IN: loaded serial 1
13-Nov-2020 20:59:35.025 zone brave-vesperia.com/IN: loaded serial 1486898743
13-Nov-2020 20:59:35.025 zone 255.in-addr.arpa/IN: loaded serial 1
13-Nov-2020 20:59:35.026 zone localhost/IN: loaded serial 2
13-Nov-2020 20:59:35.026 all zones loaded
13-Nov-2020 20:59:35.027 running