forwarding ".local" subdomains when "local" exist

Matus UHLAR - fantomas uhlar at fantomas.sk
Fri Aug 16 14:12:19 UTC 2024


Hello,


our customer has private .local zone "example.local"
(I know this should be used for multicast...)
so I have configured forwarding queries for this domain to his servers:

zone "example.local" {
         type forward;
         forward only;
         forwarders {
                 192.168.0.1;
         };
};

zone "168.192.in-addr.arpa" {
         type forward;
         forward only;
         forwarders {
                 192.168.0.1;
         };
};

Since some queries for ".local" zone were leaking out of their network,
I have long ago locally configured empty zone "local":

zone "local" {
        type master;
        file "/etc/bind/db.empty";
};

Now, the resolution od "example.local" does not work, named returns 
"nxdomain", doesn't forward the query.

when I commented out the "local" zone, named started working,
I just needed to add
  validate-except { "local"; };
guess I understand why.


 From the history I remember that defining zone (example.local) with no 
delegation in the parent zone (local) does not cause issues (locally).

Is "type forward" special in this case?

Debian 12, BIND 1:9.18.28-1~deb12u2

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Honk if you love peace and quiet.


More information about the bind-users mailing list