mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-22 09:29:50 +00:00
BlockListZoneManager: flushing zone before load to allow reloading.
This commit is contained in:
@@ -225,6 +225,8 @@ namespace DnsServerCore.Dns.ZoneManagers
|
|||||||
|
|
||||||
public void LoadBlockLists()
|
public void LoadBlockLists()
|
||||||
{
|
{
|
||||||
|
Flush();
|
||||||
|
|
||||||
//read all block lists in a queue
|
//read all block lists in a queue
|
||||||
Dictionary<Uri, Queue<string>> blockListQueues = new Dictionary<Uri, Queue<string>>(_blockListUrls.Count);
|
Dictionary<Uri, Queue<string>> blockListQueues = new Dictionary<Uri, Queue<string>>(_blockListUrls.Count);
|
||||||
int totalDomains = 0;
|
int totalDomains = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user