mirror of
https://github.com/MattKeeley/Spoofy.git
synced 2026-02-03 13:33:24 +00:00
bugfix: quick fix for mo.gov
This commit is contained in:
@@ -14,7 +14,10 @@ def get_soa_record(domain):
|
||||
if query:
|
||||
for data in query:
|
||||
dns_server = str(data.mname)
|
||||
return socket.gethostbyname(dns_server)
|
||||
try:
|
||||
return socket.gethostbyname(dns_server)
|
||||
except:
|
||||
return None
|
||||
return None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user