]> git.ipfire.org Git - thirdparty/bind9.git/commit
get foundname from the node
authorEvan Hunt <each@isc.org>
Thu, 11 Apr 2024 03:48:24 +0000 (23:48 -0400)
committerEvan Hunt <each@isc.org>
Tue, 30 Apr 2024 19:50:01 +0000 (12:50 -0700)
commit2789e58473784f5ce548baea4c5805129f56eee4
tree47850b9f0bd37d63b851272c175b61eba02ababe
parent04d319afe47b6a38e22978d8618061c52532368d
get foundname from the node

when calling dns_qp_lookup() from qpcache, instead of passing
'foundname' so that a name would be constructed from the QP key,
we now just use the name field in the node data. this makes
dns_qp_lookup() run faster.

the same optimization has also been added to qpzone.

the documentation for dns_qp_lookup() has been updated to
discuss this performance consideration.
lib/dns/include/dns/qp.h
lib/dns/nametree.c
lib/dns/qpcache.c
lib/dns/qpzone.c