[Pdns-users] Share DNS-Records between two zones/views (internal & external)
Brian Candler
b.candler at pobox.com
Wed Nov 15 17:17:27 UTC 2023
On 15/11/2023 17:11, Sebastian Neumann via Pdns-users wrote:
> 3. Install a Response Policy Zone (RPZ) in the recursor to *override*
> the results provided by the auth for queries from internal clients
> Thanks a lot for that hint, I will look into that.
> I guess you are talking about this bit here?
> https://doc.powerdns.com/recursor/lua-config/index.html
> So I would need to write some lua-code that gets executed before the
> response is being returned, and in case the response is a NXDOMAIN, I
> make a new lookup towards the external-pdns-auth server and return
> whatever that one returns?
No, you just need to load the RPZ.
https://doc.powerdns.com/recursor/lua-config/rpz.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20231115/22742df7/attachment.htm>
More information about the Pdns-users
mailing list