This commit is contained in:
Benjamyn Love 2017-07-27 15:45:46 +10:00
parent 3a1c07b431
commit 017047cdb4

View File

@ -123,6 +123,7 @@ def dig(inDomain, record):
try: try:
dig = subprocess.check_output(["dig", record, "+short", inDomain]) dig = subprocess.check_output(["dig", record, "+short", inDomain])
except Exception as e: except Exception as e:
dig = "error"
print str(e) print str(e)
print "========================================================" print "========================================================"
test = dig.split("\n") test = dig.split("\n")