diff --git a/HTTPy.py b/HTTPy.py index ed65653..2037b5e 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -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...