diff --git a/dnstest.sh b/dnstest.sh index a617d26..0ad8757 100755 --- a/dnstest.sh +++ b/dnstest.sh @@ -68,12 +68,12 @@ DOMAINS2TEST="www.google.com amazon.com facebook.com www.youtube.com www.reddit. totaldomains=0 -printf "%-21s" "" +printf "%-21s" "DNS Name / Tests >" for d in $DOMAINS2TEST; do totaldomains=$((totaldomains + 1)) - printf "%-8s" "test$totaldomains" + printf "%-8s" "$totaldomains" done -printf "%-8s" "Average" +printf "%-8s" "Average IP Address" echo "" @@ -97,7 +97,7 @@ for p in $NAMESERVERS $providerstotest; do done avg=`bc -l <<< "scale=2; $ftime/$totaldomains"` - echo " $avg" + echo " $avg $pip" done