Skip to content

Commit

Permalink
Merge pull request #100 from tsellers-r7/handle_invalid_soa
Browse files Browse the repository at this point in the history
Handle invalid SoA
  • Loading branch information
darkoperator authored Apr 25, 2019
2 parents 9e7f737 + 59d2558 commit 7c629b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dnsrecon.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,6 @@ def general_enum(res, domain, do_axfr, do_google, do_bing, do_spf, do_whois, do_
dns_sec_check(domain, res)

# Enumerate SOA Record
found_soa_records = res.get_soa()
try:
found_soa_records = res.get_soa()
for found_soa_record in found_soa_records:
Expand Down Expand Up @@ -1287,7 +1286,7 @@ def ds_zone_walk(res, domain):
res = DnsHelper(domain, soa_rcd, 3)
nameserver = soa_rcd
except:
print_error("This zone appears to be miss configured, no SOA record found.")
print_error("This zone appears to be misconfigured, no SOA record found.")

timeout = res._res.timeout

Expand Down

0 comments on commit 7c629b8

Please sign in to comment.