]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Add TransactionSetup and TransactionLimiter. limiting 1285/head
authorBob Halley <halley@dnspython.org>
Sat, 18 Jul 2026 16:08:56 +0000 (09:08 -0700)
committerBob Halley <halley@dnspython.org>
Sun, 26 Jul 2026 18:37:52 +0000 (11:37 -0700)
commit5c4e5e14a5663976e1dc626a8f32b0f3db636c59
tree03c2126c48732cd118cd78b665c7ae0c3df0758d
parent2a0656a33af0ed3f2c3c78bcf2f92d5dc28115a9
Add TransactionSetup and TransactionLimiter.

TransactionSetup allows a setup function to be called when making
transactions.  This allows transaction hooks to be installed.

TransactionLimiter provides a TransactionSetup that can be used
to limit the number of changes in a zone when loading via a file
or zone transfer.

Thanks to github users SaidBySolo and Mohammed Adnan for reporting
issues with unbounded zone size if the zone source was not trusted.
dns/transaction.py
dns/xfr.py
dns/zone.py
tests/test_zone.py