SOA

SOA Checker

Intro this is a little script which reads the Name Servers for a given Domain, and then asks the NameServer for the SOA of this Domain. Script cat << 'EOF' > soachecker.sh #!/usr/bin/env bash # Little SOA & Serial Checker, v0.1, @stoege tmpfile=$(mktemp) # Check Args echo if [ $# -eq 0 ]; then d="stoege.net" echo -e "No argument provided. use \033[1m'${d}'\033[0m" elif [ $# -eq 1 ]; then d="$1" echo -e "Domain \033[1m'${d}'\033[0m provided" else echo -e "\033[1mmore than one arguments provided.