DnsResourceRecordInfo: added properties to get and set rrsig & nsec records for use by cache zone.

This commit is contained in:
Shreyas Zare
2022-01-23 17:06:04 +05:30
parent 2f81252ffb
commit 882a3a250d

View File

@@ -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<DnsResourceRecord> _rrsigRecords; //not serialized
IReadOnlyList<DnsResourceRecord> _nsecRecords; //not serialized
#endregion
#region constructor
@@ -262,6 +265,18 @@ namespace DnsServerCore.Dns.ResourceRecords
}
}
public IReadOnlyList<DnsResourceRecord> RRSIGRecords
{
get { return _rrsigRecords; }
set { _rrsigRecords = value; }
}
public IReadOnlyList<DnsResourceRecord> NSECRecords
{
get { return _nsecRecords; }
set { _nsecRecords = value; }
}
#endregion
}
}