Closed oyJouokong closed 8 months ago
RPZs can be retrieved from an authoritative server using IXFR. See https://docs.powerdns.com/recursor/lua-config/rpz.html#rpzPrimary. You can use the API on that authoritative server to manipulate the records in the RPZ. There are no plans to allow RPZ modification via the recursor API.
Moving this to discussions
why
Since we are using different dns components, we now need to integrate them for easy unified management. We have docked the api interfaces of authoritative resolution servers and recursive resolvers, and these apis can be used to easily manipulate dns resources. But we also use rpz file, rpz record parsing, but I can not find the relevant api interface, may I ask if there is a relevant api interface? Or is there a better solution or suggestion for dynamically modifying rpz records remotely? Looking forward to your reply!
Environment
Expected behaviour
Hope to be able to provide api or related suggestions for dynamically modifying rpz records