Re: Share DNS-Records between two zones/views (internal & external)
Brian Candler via Pdns-users <[email protected]>
| Newsgroups | gmane.network.dns.powerdns.user |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ Pdns-users mailing list [email protected] https://mailman.powerdns.com/mailman/listinfo/pdns-users