Commit 995107afb2 for bind
commit 995107afb2430f425f8934aa3d6580ab346cc0a3
Author: Matthijs Mekking <matthijs@isc.org>
Date: Wed Sep 30 16:54:10 2026 +0200
When creating the notify message, use notify type
This was a copy paste error and still used SOA for every generalized
notifications.
diff --git a/lib/dns/notify.c b/lib/dns/notify.c
index 9dcf5c62fe..662092ae2e 100644
--- a/lib/dns/notify.c
+++ b/lib/dns/notify.c
@@ -226,7 +226,7 @@ notify_createmessage(dns_notify_t *notify, dns_message_t **messagep) {
*/
dns_name_clone(dns_zone_getorigin(notify->zone), tempname);
dns_rdataset_makequestion(temprdataset, dns_zone_getclass(notify->zone),
- dns_rdatatype_soa);
+ notify->type);
ISC_LIST_APPEND(tempname->list, temprdataset, link);
dns_message_addname(message, tempname, DNS_SECTION_QUESTION);
tempname = NULL;