Grrr
This commit is contained in:
1 parent
73c61843e6
commit
a656b66710
1 file changed
+1
@@ -36,6 +36,7 @@ def dig(inDomain, record):
|
|||||||
print len(test) #fix up mutiple record types...
|
print len(test) #fix up mutiple record types...
|
||||||
|
|
||||||
def ipLookup(inDomain):
|
def ipLookup(inDomain):
|
||||||
|
host = "N/A"
|
||||||
ipLook = subprocess.check_output(["geoiplookup", inDomain])
|
ipLook = subprocess.check_output(["geoiplookup", inDomain])
|
||||||
try:
|
try:
|
||||||
host = subprocess.check_output(["host", inDomain]) #Do exit status check...
|
host = subprocess.check_output(["host", inDomain]) #Do exit status check...
|
||||||
|
|||||||
Reference in new issue
Block a user