I need to get a way to run this...
This commit is contained in:
1 parent
b274aa52ad
commit
6503402908
1 file changed
+2
-2
@@ -28,8 +28,8 @@ def whois(inDomain):
|
|||||||
def dig(inDomain, record):
|
def dig(inDomain, record):
|
||||||
dig = subprocess.check_output(["dig", record, "+short", inDomain])
|
dig = subprocess.check_output(["dig", record, "+short", inDomain])
|
||||||
print "========================================================" #ADD REST OF DIGS
|
print "========================================================" #ADD REST OF DIGS
|
||||||
test = dig.split("\n")
|
#test = dig.split("\n")
|
||||||
print record, test[0]
|
#print record, test[0]
|
||||||
iterate(test) #fix up mutiple record types...
|
iterate(test) #fix up mutiple record types...
|
||||||
|
|
||||||
def ipLookup(inDomain):
|
def ipLookup(inDomain):
|
||||||
|
|||||||
Reference in new issue
Block a user