blacklist: documentat why we ignore all ANY queries

parent b83ad5c2
......@@ -31,6 +31,7 @@ def is_blacklisted(packet: bytes) -> bool:
if 'QR' in flags: # not a query
return True
dnspacket = dnsmsg.question[0]
# there is not standard describing common behavior for ANY query
if dnspacket.rdtype == dns.rdatatype.ANY:
return True
return False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment