change qname to lowercase

This commit is contained in:
rs 2013-11-30 12:02:58 +00:00
parent 66876bf761
commit 7e7ae264e1
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class DynamicBackend:
write('FAIL')
continue
qname = cmd[1]
qname = cmd[1].lower()
qtype = cmd[3]
if (qtype == 'A' or qtype == 'ANY') and qname.endswith(self.domain):