Skip to content

Commit

Permalink
https://github.com/sdgathman/pyspf/issues/32
Browse files Browse the repository at this point in the history
  • Loading branch information
sdgathman committed Oct 30, 2021
1 parent d1dcdcd commit 0858adb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spf.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def DNSLookup_pydns(name, qtype, strict=True, timeout=20):
def DNSLookup_dnspython(name, qtype, tcpfallback=True, timeout=30):
retVal = []
try:
qtype = qtype.upper()
# FIXME: how to disable TCP fallback in dnspython if not tcpfallback?
dns_version = dns.version.MAJOR+dns.version.MINOR/100
if dns_version<1.16:
Expand Down

0 comments on commit 0858adb

Please sign in to comment.