]> git.ipfire.org Git - thirdparty/bind9.git/commit
Log the server socket receiving each query
authorMichał Kępień <michal@isc.org>
Fri, 13 Feb 2026 13:27:10 +0000 (14:27 +0100)
committerMichał Kępień (GitLab job 6866004) <michal@isc.org>
Fri, 13 Feb 2026 14:03:58 +0000 (14:03 +0000)
commitf773a18f406ebdb24158ca3243980eff5bc08b06
tree096faf474f831ceca0b8ac206565da374d3ba8cb
parent442285dce394cd744521ae5b211122b502f7cc19
Log the server socket receiving each query

Extend AsyncDnsServer._log_query() and AsyncDnsServer._log_response() so
that they also log the <address, port> tuple for the socket on which a
given query was received on.  Minimize the signatures of those methods
by taking advantage of all the information contained in the QueryContext
instances passed to them.

(cherry picked from commit d3d9d166ede01a97058f2ea967b385bd0f5ca77d)
bin/tests/system/isctest/asyncserver.py