]> git.ipfire.org Git - thirdparty/bind9.git/commit
chg: usr: Limit the number of glue records cached from a referral
authorOndřej Surý <ondrej@isc.org>
Tue, 12 May 2026 14:19:05 +0000 (16:19 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 12 May 2026 14:19:05 +0000 (16:19 +0200)
commiteb401f6b92b254b7d62f5a4740359ea0c225f53f
tree1ef3239baab1d44ea46dca389f99df2964bdd025
parentca22cbd734c4d253da44f41e7db98c5be2713ff7
parentddf6274ba25e475af6a9b1276ff767205486714c
chg: usr: Limit the number of glue records cached from a referral

When a delegation response contained many glue addresses per listed
nameserver, all of them were cached without a per-nameserver bound,
inflating resolver cache memory beyond what resolution could ever use.
The cache now keeps at most 20 IPv4 and 20 IPv6 glue addresses per
nameserver from a delegation.

Closes #5701

Merge branch '5701-limit-the-number-of-GLUE-records-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!11972