I’ll start off by saying I am new to bind9 and I have inherited an environment that uses a .local domain. I know that using .local is bad, but I cannot change it. It is what it is. I have a requirement to use bind9 for local DNS caching (specifically for SRV records). Each time I try dig it fails to fully resolve. I see comment “WARNING: .local is reserved for Multicast DNS”
# dig prod.voip.local
; <<>> DiG 9.16.48-Debian <<>> prod.voip.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: 48192
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: a11a15c488caedf7010000006667a78480d395b756e49357 (good)
;; QUESTION SECTION:
;prod.voip.local. IN A
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jun 11 11:25:24 AEST 2024
;; MSG SIZE rcvd: 90
/etc/bind/named.conf.local
GNU nano 5.4
//
// Do any local configuration here
//
zone "prod.voip.local" {
type forward;
forwarders {
10.2.1.135; // Internal DNS servers
10.2.129.135;
10.2.1.136;
10.2.129.136; };
};
I joined this forum to try and ask/comment on this other post Bind9 .local stub zone if they got a resolution, but have not enough rep to comment. So I posted similar question instead. So hopefully someone can point me if a helpful direction. Thanks in advance of any help.