From fa1e20442fcff229b69d79f42faa36e72a3f91d6 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sun, 23 May 2021 17:47:12 +0530 Subject: [PATCH] minor code refactoring --- DnsServerCore/Dns/Zones/PrimarySubDomainZone.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/DnsServerCore/Dns/Zones/PrimarySubDomainZone.cs b/DnsServerCore/Dns/Zones/PrimarySubDomainZone.cs index 821b073b..f7ad5f1c 100644 --- a/DnsServerCore/Dns/Zones/PrimarySubDomainZone.cs +++ b/DnsServerCore/Dns/Zones/PrimarySubDomainZone.cs @@ -1,6 +1,6 @@ /* Technitium DNS Server -Copyright (C) 2020 Shreyas Zare (shreyas@technitium.com) +Copyright (C) 2021 Shreyas Zare (shreyas@technitium.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -47,7 +47,7 @@ namespace DnsServerCore.Dns.Zones base.SetRecords(type, records); _primaryZone.IncrementSoaSerial(); - _primaryZone.NotifyNameServers(); + _primaryZone.TriggerNotify(); } public override void AddRecord(DnsResourceRecord record) @@ -55,7 +55,7 @@ namespace DnsServerCore.Dns.Zones base.AddRecord(record); _primaryZone.IncrementSoaSerial(); - _primaryZone.NotifyNameServers(); + _primaryZone.TriggerNotify(); } public override bool DeleteRecords(DnsResourceRecordType type) @@ -63,7 +63,7 @@ namespace DnsServerCore.Dns.Zones if (base.DeleteRecords(type)) { _primaryZone.IncrementSoaSerial(); - _primaryZone.NotifyNameServers(); + _primaryZone.TriggerNotify(); return true; } @@ -76,7 +76,7 @@ namespace DnsServerCore.Dns.Zones if (base.DeleteRecord(type, record)) { _primaryZone.IncrementSoaSerial(); - _primaryZone.NotifyNameServers(); + _primaryZone.TriggerNotify(); return true; }