Skip to content

Instantly share code, notes, and snippets.

@SmugZombie
Created March 29, 2022 18:32
Show Gist options
  • Save SmugZombie/56caa2d527b1a39d2e2e7cd09d2587f2 to your computer and use it in GitHub Desktop.
Save SmugZombie/56caa2d527b1a39d2e2e7cd09d2587f2 to your computer and use it in GitHub Desktop.
for i in {1..30}
do
domain="ww$i.propodsmax.co"
dns=$(curl -s "https://beta.digdns.com/api/1.0/getDNS.json?type=1&query=$domain" | awk -F "ip" {'print $2'} | awk -F '"' {'print $3'})
echo $domain - $dns
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment