]> git.ipfire.org Git - thirdparty/bind9.git/commit
Return wildcard names instead of synthetized names in dns_db_find()
authorAlessio Podda <alessio@isc.org>
Wed, 22 Jul 2026 13:43:18 +0000 (15:43 +0200)
committerAlessio Podda <alessio@isc.org>
Wed, 12 Aug 2026 19:57:34 +0000 (19:57 +0000)
commitbdcd4338aef7095186973035c5d01ff8d932d3a8
treecfad620e2c750bc76687365dbe83c4a878ee9ebf
parentedd715fa2ac55228dd6c6d6c5ec7bf6222ae5bd6
Return wildcard names instead of synthetized names in dns_db_find()

Previously dns_db_find() would return the synthetized name on a
wildcard match. This is insufficient, as sometimes query processing
requires the wildcard name instead of the synthetized name.

This commit modifies the dns_db_find() API to return the wildcard
name instead of the synthetized name, and adds helper functions to
query.c to derive the synthetized name if needed.
lib/dns/qpzone.c
lib/dns/sdlz.c
lib/ns/query.c
tests/dns/qpzone_test.c