]> git.ipfire.org Git - thirdparty/bind9.git/commit
Tweak query_addds() comments to avoid confusion
authorMichał Kępień <michal@isc.org>
Fri, 16 Jul 2021 05:20:15 +0000 (07:20 +0200)
committerMichał Kępień <michal@isc.org>
Fri, 16 Jul 2021 05:24:34 +0000 (07:24 +0200)
commitf81c8e3e73d1d4c8db2d8a1bba6980a942358842
tree7140e448c886f4815e5e5185909ecf6e45aaf846
parent0bf3553d5a1e3fdf457af1e14ea07bbd36ebdb83
Tweak query_addds() comments to avoid confusion

It has been noticed that commit f88c90f47f39a044d23912bcd823c36654c5236b
did not only fix NSEC record handling in signed, insecure delegations
prepared using both wildcard expansion and CNAME chaining - it also
inadvertently fixed DS record handling in signed, secure delegations
of that flavor.  This is because the 'rdataset' variable in the relevant
location in query_addds() can be either a DS RRset or an NSEC RRset.
Update a code comment in query_addds() to avoid confusion.

Update the comments describing the purpose of query_addds() so that they
also mention NSEC(3) records.

(cherry picked from commit 29d8d35869ad44531fc0690a24074df9c7e0927a)
lib/ns/query.c