From c95ae5ad2fa80ece8323a12ad893dea0dee0047e Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 23 Sep 2023 18:08:23 +0530 Subject: [PATCH] PrimaryZone: implemented zone last modified feature. --- DnsServerCore/Dns/Zones/PrimaryZone.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DnsServerCore/Dns/Zones/PrimaryZone.cs b/DnsServerCore/Dns/Zones/PrimaryZone.cs index 551dabc6..6769f22d 100644 --- a/DnsServerCore/Dns/Zones/PrimaryZone.cs +++ b/DnsServerCore/Dns/Zones/PrimaryZone.cs @@ -2587,6 +2587,8 @@ namespace DnsServerCore.Dns.Zones internal void CommitAndIncrementSerial(IReadOnlyList deletedRecords = null, IReadOnlyList addedRecords = null) { + _lastModified = DateTime.UtcNow; + if (_internal) return;