]> git.ipfire.org Git - thirdparty/bind9.git/commit
Log dnspython queries after .to_wire() is called
authorNicki Křížek <nicki@isc.org>
Tue, 3 Mar 2026 12:37:14 +0000 (13:37 +0100)
committerNicki Křížek <nicki@isc.org>
Mon, 9 Mar 2026 08:54:12 +0000 (09:54 +0100)
commita22e03f71b38674ce28cb0c026a2bb7d50d93ab7
tree435f80a0e9fc4530e1635aff66fddf20e7a4282c
parent4fd84193c73a0b5c2244e3e2a0cc0108c62693c5
Log dnspython queries after .to_wire() is called

Some dns message modifications like TSIG happen only after .to_wire() is
called on the message. To ensure there isn't a discrepancy between what
has been logged and what has been sent, log the query after
dns.query.udp() is executed (which calls .to_wire() on the message).

Co-Authored-By: Štěpán Balážik <stepan@isc.org>
bin/tests/system/isctest/query.py