<div dir="auto">You need to have the delegation in the parent in order for the forwarding to kick in. It can be bogus, but it has to be there. You'll find the same behavior when you're authoritative for the root zone; any type forwarded zones will need to also have NS in the root ( or closest enclosing authoritative zone). <div dir="auto">-Tim</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 16, 2024, 7:13 AM Matus UHLAR - fantomas <<a href="mailto:uhlar@fantomas.sk">uhlar@fantomas.sk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
<br>
our customer has private .local zone "example.local"<br>
(I know this should be used for multicast...)<br>
so I have configured forwarding queries for this domain to his servers:<br>
<br>
zone "example.local" {<br>
type forward;<br>
forward only;<br>
forwarders {<br>
192.168.0.1;<br>
};<br>
};<br>
<br>
zone "168.192.in-addr.arpa" {<br>
type forward;<br>
forward only;<br>
forwarders {<br>
192.168.0.1;<br>
};<br>
};<br>
<br>
Since some queries for ".local" zone were leaking out of their network,<br>
I have long ago locally configured empty zone "local":<br>
<br>
zone "local" {<br>
type master;<br>
file "/etc/bind/db.empty";<br>
};<br>
<br>
Now, the resolution od "example.local" does not work, named returns <br>
"nxdomain", doesn't forward the query.<br>
<br>
when I commented out the "local" zone, named started working,<br>
I just needed to add<br>
validate-except { "local"; };<br>
guess I understand why.<br>
<br>
<br>
From the history I remember that defining zone (example.local) with no <br>
delegation in the parent zone (local) does not cause issues (locally).<br>
<br>
Is "type forward" special in this case?<br>
<br>
Debian 12, BIND 1:9.18.28-1~deb12u2<br>
<br>
-- <br>
Matus UHLAR - fantomas, <a href="mailto:uhlar@fantomas.sk" target="_blank" rel="noreferrer">uhlar@fantomas.sk</a> ; <a href="http://www.fantomas.sk/" rel="noreferrer noreferrer" target="_blank">http://www.fantomas.sk/</a><br>
Warning: I wish NOT to receive e-mail advertising to this address.<br>
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.<br>
Honk if you love peace and quiet.<br>
-- <br>
Visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org" target="_blank" rel="noreferrer">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</blockquote></div>