mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-03-04 20:55:30 +00:00
DnsServer: updated DnssecValidation property to clear cache when switching on DNSSEC validation to remove all unvalidated cached records.
This commit is contained in:
@@ -3451,7 +3451,16 @@ namespace DnsServerCore.Dns
|
||||
public bool DnssecValidation
|
||||
{
|
||||
get { return _dnssecValidation; }
|
||||
set { _dnssecValidation = value; }
|
||||
set
|
||||
{
|
||||
if (_dnssecValidation != value)
|
||||
{
|
||||
if (!_dnssecValidation)
|
||||
_cacheZoneManager.Flush(); //flush cache to remove non validated data
|
||||
|
||||
_dnssecValidation = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int QpmLimitRequests
|
||||
|
||||
Reference in New Issue
Block a user