From ebdaa6fa114e9de1657e9767e405f45e1b19f8b3 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 21 Dec 2024 15:35:45 +0530 Subject: [PATCH] minor code refactoring change. --- DnsServerCore/Dns/Zones/PrimaryZone.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DnsServerCore/Dns/Zones/PrimaryZone.cs b/DnsServerCore/Dns/Zones/PrimaryZone.cs index 59ae059b..63cd9ddb 100644 --- a/DnsServerCore/Dns/Zones/PrimaryZone.cs +++ b/DnsServerCore/Dns/Zones/PrimaryZone.cs @@ -2368,7 +2368,7 @@ namespace DnsServerCore.Dns.Zones private uint GetSignatureValidityPeriod() { //SOA EXPIRE + 3 days - return (_entries[DnsResourceRecordType.SOA][0].RDATA as DnsSOARecordData).Expire + (3 * 24 * 60 * 60); + return GetZoneSoaExpire() + (3 * 24 * 60 * 60); } internal DateTime GetKskDnsKeyStateReadyBy(DnssecPrivateKey privateKey)