Skip to content

Commit

Permalink
Merge pull request gnebbia#2 from SomewhatDisoriented/master
Browse files Browse the repository at this point in the history
DNS Dumpster fault tolerance
  • Loading branch information
gnebbia authored Sep 18, 2019
2 parents 7ccda76 + 9313a22 commit d32bad8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pdlist/source/dnsdumpster.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def parse(domains):
subdomains = []
for domain in domains:
results = DNSDumpsterAPI().search(domain)
if not results:
continue
subdomains += list(set(find('domain', results['dns_records'])))
subdomains += list(set(find('reverse_dns', results['dns_records'])))
return subdomains

0 comments on commit d32bad8

Please sign in to comment.