]> git.ipfire.org Git - thirdparty/bind9.git/commit
Delay binding glue to rdataset
authorAlessio Podda <alessio@isc.org>
Sat, 14 Feb 2026 21:20:41 +0000 (22:20 +0100)
committerAlessio Podda <alessio@isc.org>
Mon, 11 May 2026 08:28:20 +0000 (10:28 +0200)
commit52edb98e3cb4bb5b86c479e696b5897a46c1d60c
tree6a9928672ebf0bc65870d1e20c3e3f8bc99b834d
parentd7a5a2e86b9b8b751fd54d1752cf7c7789ca6338
Delay binding glue to rdataset

The dns_glue struct currently contains four dns_rdataset structs to hold
the glue. These structs are over 100 bytes each because they need to be
able to hold data for multiple types of databases.

Since the dns_glue_t type is only used by qpzone, we can instead hold
pointers to the vecheaders directly, and only bind the vecheaders to
the rdatasets when adding the glue to the message.
lib/dns/include/dns/rdatavec.h
lib/dns/qpzone.c
lib/dns/qpzone_p.h
lib/dns/rdatavec.c