]> 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ń <michal@isc.org>
Fri, 13 Feb 2026 13:27:10 +0000 (14:27 +0100)
commitd3d9d166ede01a97058f2ea967b385bd0f5ca77d
tree3f8057d920475dbfb9b32e1efe2459c4b2a8d047
parent94a4793596ce3870ad6715b4c8db131a41746132
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.
bin/tests/system/isctest/asyncserver.py