From 31b36e68b4d9ceef7c522d91a53e389b143cba51 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sat, 28 Oct 2023 17:58:30 -0400 Subject: [PATCH] Added note about dumping to file --- axfr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/axfr.py b/axfr.py index 4ab7820..5563fa8 100644 --- a/axfr.py +++ b/axfr.py @@ -54,13 +54,13 @@ if __name__ == '__main__': for root in get_root_nameservers(): try: - xfr = tld_axfr('', root+'.root-servers.net') + xfr = tld_axfr('', root+'.root-servers.net') # Need to store to file in chunks except Exception as e: print(f"Failed to perform zone transfer from the {root} root server: {e}") for tld in get_root_tlds(): try: for ns in get_tld_nameservers(tld): - xfr = tld_axfr(tld, resolve_nameserver(str(ns))) + xfr = tld_axfr(tld, resolve_nameserver(str(ns))) # Need to store to file in chunks except Exception as e: print(f"Failed to resolve {tld}: {e}") \ No newline at end of file