mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-03-06 21:45:15 +00:00
RegexBlockListApp: using lower case domain name for regex matching.
This commit is contained in:
@@ -397,7 +397,7 @@ namespace RegexBlockList
|
||||
return Task.FromResult<DnsDatagram>(null);
|
||||
|
||||
DnsQuestionRecord question = request.Question[0];
|
||||
string domain = question.Name;
|
||||
string domain = question.Name.ToLower();
|
||||
|
||||
foreach (Regex regex in _regexAllowListPatterns)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user