]> git.ipfire.org Git - thirdparty/bind9.git/commit
Limit the additional processing for large RDATA sets
authorOndřej Surý <ondrej@isc.org>
Thu, 14 Nov 2024 09:37:29 +0000 (10:37 +0100)
committerAndoni Duarte <andoni@isc.org>
Tue, 14 Jan 2025 09:57:54 +0000 (09:57 +0000)
commita1982cf1bb95c818aa7b58988b5611dec80f2408
treef41c870c0fc3127d17a9f5d2eaa4816f4810dc2f
parente51d4d3b88af00d6667f2055087ebfc47fb3107c
Limit the additional processing for large RDATA sets

Limit the number of records appended to ADDITIONAL section to the names
that have less than 14 records in the RDATA.  This limits the number
of the lookups into the database(s) during single client query.

Also don't append any additional data to ANY queries.  The answer to ANY
is already big enough.
lib/dns/include/dns/rdataset.h
lib/dns/qpzone.c
lib/dns/rdataset.c
lib/dns/resolver.c
lib/ns/query.c