change qname to lowercase
authorrs <rs@midearth.co.uk>
Sat, 30 Nov 2013 12:02:58 +0000 (12:02 +0000)
committerrs <rs@midearth.co.uk>
Sat, 30 Nov 2013 12:02:58 +0000 (12:02 +0000)
src/backend.py

index 6c3cfc1..81ceb52 100755 (executable)
@@ -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):