From 882a3a250da3ef02696ff43cc97005cf9cab975e Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sun, 23 Jan 2022 17:06:04 +0530 Subject: [PATCH] DnsResourceRecordInfo: added properties to get and set rrsig & nsec records for use by cache zone. --- .../ResourceRecords/DnsResourceRecordInfo.cs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/DnsServerCore/Dns/ResourceRecords/DnsResourceRecordInfo.cs b/DnsServerCore/Dns/ResourceRecords/DnsResourceRecordInfo.cs index 346e02eb..c894ca74 100644 --- a/DnsServerCore/Dns/ResourceRecords/DnsResourceRecordInfo.cs +++ b/DnsServerCore/Dns/ResourceRecords/DnsResourceRecordInfo.cs @@ -1,6 +1,6 @@ /* Technitium DNS Server -Copyright (C) 2021 Shreyas Zare (shreyas@technitium.com) +Copyright (C) 2022 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 @@ -39,6 +39,9 @@ namespace DnsServerCore.Dns.ResourceRecords DnsTransportProtocol _zoneTransferProtocol; string _tsigKeyName = string.Empty; + IReadOnlyList _rrsigRecords; //not serialized + IReadOnlyList _nsecRecords; //not serialized + #endregion #region constructor @@ -262,6 +265,18 @@ namespace DnsServerCore.Dns.ResourceRecords } } + public IReadOnlyList RRSIGRecords + { + get { return _rrsigRecords; } + set { _rrsigRecords = value; } + } + + public IReadOnlyList NSECRecords + { + get { return _nsecRecords; } + set { _nsecRecords = value; } + } + #endregion } }