mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-29 21:07:44 +00:00
DnsResourceRecordInfo: added properties to get and set rrsig & nsec records for use by cache zone.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user