From 68e16969da83bace3aad1a521cfceab01154c830 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Fri, 24 Nov 2023 04:12:04 -0500 Subject: [PATCH] Fixed formatting on in-addr.arpa code --- mdaxfr | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mdaxfr b/mdaxfr index cedac86..9aab0aa 100755 --- a/mdaxfr +++ b/mdaxfr @@ -39,7 +39,9 @@ echo "[\e[31WARNING\e[0m] Most nameservers will block AXFR requests \e[90m(It is sleep 3 # For root IP space zones -for i in $(seq 0 255); do dig +nocmd +noall +answer +multiline $i.in-addr.arpa NS; done > $OUTPUT_DIR/root/in-addr.arpa.txt +for i in $(seq 0 255); do + dig +nocmd +noall +answer +multiline $i.in-addr.arpa NS >> $OUTPUT_DIR/root/in-addr.arpa.txt +done # For root nameservers for root in $(dig +short . NS | sed 's/\.$//'); do