mdaxfr- Mass DNS AXFR |
git clone git://git.acid.vegas/mdaxfr.git |
Log | Files | Refs | Archive | README | LICENSE |
commit 31b36e68b4d9ceef7c522d91a53e389b143cba51
parent 445bf2435e4d8eff8dc58c9c3785f89c5be6d524 Author: acidvegas <acid.vegas@acid.vegas> Date: Sat, 28 Oct 2023 17:58:30 -0400 Added note about dumping to file Diffstat:
|
1 file changed, 2 insertions(+), 2 deletions(-) |
diff --git 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 |