From 3c500d2af945fcdb4680214bdd59a107dcb29f03 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 12 Jun 2021 13:31:39 +0530 Subject: [PATCH] PrimaryZone: added disabled check in TriggerNotify() --- DnsServerCore/Dns/Zones/PrimaryZone.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DnsServerCore/Dns/Zones/PrimaryZone.cs b/DnsServerCore/Dns/Zones/PrimaryZone.cs index 5b24c0fa..7fc4c604 100644 --- a/DnsServerCore/Dns/Zones/PrimaryZone.cs +++ b/DnsServerCore/Dns/Zones/PrimaryZone.cs @@ -237,6 +237,9 @@ namespace DnsServerCore.Dns.Zones public void TriggerNotify() { + if (_disabled) + return; + if (_notify == AuthZoneNotify.None) return;