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:
dig = subprocess.check_output(["dig", record, "+short", inDomain])
except Exception as e:
dig = "error"
print str(e)
print "========================================================"
test = dig.split("\n")