On Wed, Nov 12, 2025 at 01:08:49PM +0100, Daniel Feuchtinger via Pdns-users wrote:
> 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? The docs say: int getQType() - record type, it can be 255(ANY) for delete now I do wonder how that maps to the various types of deletes listed in section 2.5.2 - 2.5.4 of RFC 2136. Maybe somebody more knowledable in this area can tell us more. TTL value is not available, only the fields mentioned in the docs are. -Otto _______________________________________________ Pdns-users mailing list [email protected] https://mailman.powerdns.com/mailman/listinfo/pdns-users
