diff --git a/extras/mdaxfr.py b/extras/mdaxfr.py index 5dc1e2a..491148a 100644 --- a/extras/mdaxfr.py +++ b/extras/mdaxfr.py @@ -140,7 +140,10 @@ def process_domain(domain: str): print(f' {BLUE}Found {len(nameserver_ips):,} IP addresses for {PURPLE}{nameserver}{RESET}') for nameserver_ip in nameserver_ips: - attempt_axfr(domain, nameserver, nameserver_ip) + try: + attempt_axfr(domain, nameserver, nameserver_ip) + except Exception as e: + print(f' {RED}Error performing AXFR for {CYAN}{domain}{RESET} on {PURPLE}{nameserver} {GREY}({nameserver_ip}){RESET} - {e}{RESET}')