diff --git a/tools/dns_health_check.sh b/tools/dns_health_check.sh index 1821221..82dfb89 100644 --- a/tools/dns_health_check.sh +++ b/tools/dns_health_check.sh @@ -28,7 +28,7 @@ execute_tool() { process_domain() { local single_domain="$1" - result+="\e[1mDomain:\e[0m $single_domain\n" + result+="\e[1mDomain:\e[93m $single_domain\e[0m\n" # Check for A Record a_record=$(dig +short A "$single_domain") diff --git a/tools/dns_propagation_check.sh b/tools/dns_propagation_check.sh index 9389f12..17f4cb8 100644 --- a/tools/dns_propagation_check.sh +++ b/tools/dns_propagation_check.sh @@ -31,7 +31,7 @@ execute_tool() { process_domain() { local single_domain="$1" - result+="\e[1mDomain:\e[0m $single_domain\n" + result+="\e[1mDomain:\e[93m $single_domain\e[0m\n" for dns_server in "${DNS_SERVERS[@]}"; do response=$(dig "@$dns_server" "$single_domain" +short) diff --git a/tools/dns_server_comparison.sh b/tools/dns_server_comparison.sh index 945198c..eb7a073 100644 --- a/tools/dns_server_comparison.sh +++ b/tools/dns_server_comparison.sh @@ -31,7 +31,7 @@ execute_tool() { process_domain() { local single_domain="$1" - result+="\e[1mDomain:\e[0m $single_domain\n" + result+="\e[1mDomain:\e[93m $single_domain\e[0m\n" for dns_server in "${DNS_SERVERS[@]}"; do response_time=$(dig "@$dns_server" "$single_domain" +stats +time=1 | grep "Query time:" | awk '{print $4}') diff --git a/tools/dnssec_validation.sh b/tools/dnssec_validation.sh index f000c13..7cf5f1a 100644 --- a/tools/dnssec_validation.sh +++ b/tools/dnssec_validation.sh @@ -31,7 +31,7 @@ execute_tool() { process_domain() { local single_domain="$1" - result+="\e[1mDomain:\e[0m $single_domain\n" + result+="\e[1mDomain:\e[93m $single_domain\e[0m\n" for dns_server in "${DNS_SERVERS[@]}"; do dnssec_status=$(delv @"$dns_server" +dnssec +nocomments +nocl "$single_domain" 2>&1 | head -n 1) diff --git a/tools/domain_blacklist_check.sh b/tools/domain_blacklist_check.sh index 3151eb4..680934b 100644 --- a/tools/domain_blacklist_check.sh +++ b/tools/domain_blacklist_check.sh @@ -29,7 +29,7 @@ process_domain() { local single_domain="$1" blacklists=("zen.spamhaus.org" "bl.spamcop.net" "b.barracudacentral.org") - result+="\e[1mDomain:\e[0m $single_domain\n" + result+="\e[1mDomain:\e[93m $single_domain\e[0m\n" for blacklist in "${blacklists[@]}"; do if nslookup "$single_domain.$blacklist" > /dev/null; then diff --git a/tools/http_status_check.sh b/tools/http_status_check.sh index aa8d7be..d0350ef 100644 --- a/tools/http_status_check.sh +++ b/tools/http_status_check.sh @@ -31,7 +31,7 @@ execute_tool() { process_domain() { local single_domain="$1" - result+="\e[1mDomain:\e[0m $single_domain\n" + result+="\e[1mDomain:\e[93m $single_domain\e[0m\n" http_response=$(curl -sIL --max-time 10 "http://$single_domain" | grep -i "HTTP/1.1") diff --git a/tools/imap_pop3_test.sh b/tools/imap_pop3_test.sh index 4787fb2..baff5a0 100644 --- a/tools/imap_pop3_test.sh +++ b/tools/imap_pop3_test.sh @@ -27,6 +27,9 @@ execute_tool() { process_domain() { local single_domain="$1" + + result+="\e[1mDomain:\e[93m $single_domain\e[0m\n" + mx_record=$(dig +short MX "$single_domain" | sort -n | head -n 1 | awk '{print $2}') if [ -z "$mx_record" ]; then @@ -44,7 +47,7 @@ process_domain() { pop3110_status=$(timeout 10 nc -z "$mx_record" 110 > /dev/null 2>&1 && echo "Connected" || echo "Failed") pop3995_status=$(timeout 10 nc -z "$mx_record" 995 > /dev/null 2>&1 && echo "Connected" || echo "Failed") else - result+="\e[1mDomain:\e[0m $single_domain\n" + result+="\e[1mDomain:\e[93m $single_domain\e[0m\n" result+="\e[1mIMAP Accessibility:\e[0m Netcat and Telnet not available.\n" result+="\e[1mPOP3 Accessibility:\e[0m Netcat and Telnet not available.\n" return diff --git a/tools/load_time_test.sh b/tools/load_time_test.sh index cf9d58e..3f90489 100644 --- a/tools/load_time_test.sh +++ b/tools/load_time_test.sh @@ -28,7 +28,7 @@ execute_tool() { process_domain() { local single_domain="$1" - result+="\e[1mDomain:\e[0m $single_domain\n" + result+="\e[1mDomain:\e[93m $single_domain\e[0m\n" # Measure initial server response time using curl response_time=$(curl -o /dev/null -s -w "%{time_starttransfer}\n" "$single_domain") diff --git a/tools/rdns_check.sh b/tools/rdns_check.sh index 83f61e4..fc634fd 100644 --- a/tools/rdns_check.sh +++ b/tools/rdns_check.sh @@ -28,14 +28,14 @@ execute_tool() { process_domain() { local single_domain="$1" - result+="\e[1mDomain:\e[0m $single_domain\n" + result+="\e[1mDomain:\e[93m $single_domain\e[0m\n" single_domain_ip=$(dig A +short "$single_domain") rDNS_result=$(dig +short -x "$single_domain_ip") if [ -n "$rDNS_result" ]; then - result+="\e[34mRDNS Result:\e[32m $rDNS_result\n" + result+="\e[1mRDNS Result:\e[32m $rDNS_result\n" else - result+="\e[34mRDNS Result:\e[31m No RDNS record found.\n" + result+="\e[1mRDNS Result:\e[31m No RDNS record found.\n" fi } diff --git a/tools/smtp_test.sh b/tools/smtp_test.sh index 3f6ffc1..3ee57ca 100755 --- a/tools/smtp_test.sh +++ b/tools/smtp_test.sh @@ -27,6 +27,9 @@ execute_tool() { process_domain() { local single_domain="$1" + + result+="\e[1mDomain:\e[93m $single_domain\e[0m\n" + mx_record=$(dig +short MX "$single_domain" | sort -n | head -n 1 | awk '{print $2}') if [ -n "$mx_record" ]; then smtp_ports="25 465 587"