From 0e0481d0a1a2fb1acfb0c7e9a888cd9877efc10c Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sun, 23 Apr 2023 16:10:27 +0530 Subject: [PATCH] CacheRecordInfo: added support for conditional forwarding client subnet. --- DnsServerCore/Dns/ResourceRecords/CacheRecordInfo.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/DnsServerCore/Dns/ResourceRecords/CacheRecordInfo.cs b/DnsServerCore/Dns/ResourceRecords/CacheRecordInfo.cs index bcbaa383..c00aed8c 100644 --- a/DnsServerCore/Dns/ResourceRecords/CacheRecordInfo.cs +++ b/DnsServerCore/Dns/ResourceRecords/CacheRecordInfo.cs @@ -36,6 +36,7 @@ namespace DnsServerCore.Dns.ResourceRecords IReadOnlyList _nsecRecords; NetworkAddress _eDnsClientSubnet; + bool _conditionalForwardingClientSubnet; //not serialized DateTime _lastUsedOn; //not serialized #endregion @@ -188,6 +189,12 @@ namespace DnsServerCore.Dns.ResourceRecords set { _eDnsClientSubnet = value; } } + public bool ConditionalForwardingClientSubnet + { + get { return _conditionalForwardingClientSubnet; } + set { _conditionalForwardingClientSubnet = value; } + } + public DateTime LastUsedOn { get { return _lastUsedOn; }