Minor timeout and tlsprt cleanups

This commit is contained in:
Scott Kitterman
2019-11-01 17:21:15 -04:00
parent ebe8fc7c77
commit fa93e56fa2
2 changed files with 6 additions and 3 deletions
+1
View File
@@ -47,6 +47,7 @@ def get_txt_pydns(name, timeout=5):
return b''.join(response.answers[0]['data'])
# No longer used since it doesn't support timeout
def get_txt_Milter_dns(name, timeout=5):
"""Return a TXT record associated with a DNS name."""
# Older pydns releases don't like a trailing dot.