add or delete in updatepolicy.lua

Daniel Feuchtinger via Pdns-users <[email protected]> Wed, 12 Nov 2025 13:08:49 +0100
Newsgroups gmane.network.dns.powerdns.user
Message-ID <[email protected]>
Hi,

how do I know, if an update is a deletion inside the lua updatepolicy function shown here:
https://doc.powerdns.com/authoritative/dnsupdate.html#dnsupdate-update-policy

I would like to log add/update, but not deletions.

Can I get additional information like TTL in the policy script too?

Thanks,
Daniel