Bind9 .local 存根区域

Bind9 .local 存根区域

我有一个 Windows 2012R2 Windows AD 域“example.local”,我需要设置存根(首选)或条件转发器,但我的命名无法定位或解析远程“.local”域。主服务器是可访问的,我可以直接对它们进行 nslookup/dig。其他非 .local 存根可以正确解析,但我猜 dig 的 mDNS 警告是我的问题,我还没有找到解决方法。

zone "example.local" {
    type stub;
    masters { 192.168.0.5; 192.168.0.6; };
$ nslookup server1.example.local

Server:     127.0.0.1
Address:    127.0.0.1#53
** server can't find server1.example.local: SERVFAIL
$ dig server1.example.local
; <<>> DiG 9.11.13-RedHat-9.11.13-6.el8_2.1 <<>> server1.example.local
;; global options: +cmd
;; Got answer:
;; WARNING: .local is reserved for Multicast DNS
;; You are currently testing what happens when an mDNS query is leaked to DNS
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 14164
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 98c1d3e8a0e6bad5286641e85faaa9c39bb8927923b46b3a (good)
;; QUESTION SECTION:
;server1.example.local.     IN  A

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Nov 10 09:54:59 EST 2020
;; MSG SIZE  rcvd: 77

相关内容