Browse Source

(feat) If no records in query, carry on an we'll send a SERVFAIL

main
Michal Charemza 5 years ago
parent
commit
d900fbd59c
No known key found for this signature in database GPG Key ID: 4BBAF0F6B73C4363
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      dnsrewriteproxy.py

+ 0
- 3
dnsrewriteproxy.py View File

@@ -133,9 +133,6 @@ def DnsProxy(
# be able to match it with an outgoing request
query = parse(request_data)

if not query.qd:
return pack(error(query, ERRORS.REFUSED))

try:
return pack(
error(query, ERRORS.REFUSED) if query.qd[0].qtype != TYPES.A else


Loading…
Cancel
Save