This commit is contained in:
benjamyn committed 2017-06-02 02:41:14 +10:00
1 parent 73c61843e6
commit a656b66710
1 file changed
+1
+1
View File
@@ -36,6 +36,7 @@ def dig(inDomain, record):
print len(test) #fix up mutiple record types...
def ipLookup(inDomain):
host = "N/A"
ipLook = subprocess.check_output(["geoiplookup", inDomain])
try:
host = subprocess.check_output(["host", inDomain]) #Do exit status check...