mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-04 15:55:32 +00:00
BlockListZoneManager: Updated ReadListFile() to support wildcard block lists.
This commit is contained in:
@@ -131,7 +131,7 @@ namespace DnsServerCore.Dns.ZoneManagers
|
||||
if (line == null)
|
||||
break; //eof
|
||||
|
||||
line = line.TrimStart(' ', '\t');
|
||||
line = line.TrimStart(' ', '\t', '*', '.');
|
||||
|
||||
if (line.Length == 0)
|
||||
continue; //skip empty line
|
||||
|
||||
Reference in New Issue
Block a user