CODE
for n in "1.1.1.1" "8.8.8.8" "1.32.57.161";
do dig @$n a pornhub.com | grep pornhub.com.;
done
Above example queries several popular DNS (cloudflare; google; TMNet) and you can see they give different IP addresses for a popular website.
CODE
for n in node1.cloudns.cc dns1.cloudns.cc msc111.cloudns.cc;
do dig @$n a $queryme | grep $queryme;
done
Edit the above to your liking. Bonus points for others if they figured out how to use GNU Parallel.
Ask GPT/Bard for help in for loops in bash, if you can't program it. Also refer to dig's man pages, after you understood the low level DNS record queries.
This post has been edited by angch: Jan 3 2024, 04:51 PM
Jan 3 2024, 04:49 PM
Quote
0.0158sec
1.36
6 queries
GZIP Disabled