Fixed root nameserver axfr

This commit is contained in:
Dionysus 2023-10-29 02:12:17 -04:00
parent 10717c83d0
commit 353f23fb0d
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -89,7 +89,7 @@ if __name__ == '__main__':
dns.resolver._DEFAULT_TIMEOUT = args.timeout dns.resolver._DEFAULT_TIMEOUT = args.timeout
with concurrent.futures.ThreadPoolExecutor(max_workers=args.concurrency) as executor: with concurrent.futures.ThreadPoolExecutor(max_workers=args.concurrency) as executor:
futures = [executor.submit(attempt_axfr, '', root + '.root-servers.net', os.path.join(args.output, root + '-root.txt')) for root in get_root_nameservers()] futures = [executor.submit(attempt_axfr, '', root, os.path.join(args.output, root + '.txt')) for root in get_root_nameservers()]
for future in concurrent.futures.as_completed(futures): for future in concurrent.futures.as_completed(futures):
try: try:
future.result() future.result()