diff --git a/adblock_test.sh b/adblock_test.sh index 476ccec..57bcbff 100644 --- a/adblock_test.sh +++ b/adblock_test.sh @@ -13,7 +13,9 @@ blocked=0 dns_raw=${1:-$(cat /etc/resolv.conf | grep ^nameserver | cut -d " " -f 2)} dns=($dns_raw) domains=$(curl -s https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts | grep -v ^# | shuf -n 10 | cut -d" " -f2) +azul "##################" verde "Using ${dns[0]} DNS server" +azul "##################" for j in $domains; do echo -e "${YELLOW}$j${NC}:" output=$(dig -4 @${dns[0]} $j +short)