]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make static response handlers more specific
authorMichał Kępień <michal@isc.org>
Thu, 21 May 2026 09:52:56 +0000 (11:52 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 21 May 2026 09:52:56 +0000 (11:52 +0200)
commitc0f01b60fdf7c01de84ed28d8942bab28650e27c
treecb3b2332fb41054b0049779d33c58ec89eddc331
parentebab903a93735e4410ccc6e847311113fd6b4fc5
Make static response handlers more specific

The RootNSHandler and ExampleNSHandler classes are only equipped to
respond to specific QNAME/QTYPE tuples, not all queries for a specific
QNAME.  Turn them into subclasses of QnameQtypeHandler and make them
only respond to QTYPE=NS queries to prevent sending NS responses for
non-NS queries.
bin/tests/system/resend_loop/ans3/ans.py