Skip to content

Instantly share code, notes, and snippets.

@pnappa
Created April 12, 2018 04:55
Show Gist options
  • Save pnappa/666184a00fc1106dbf3b0c7f02ba2e60 to your computer and use it in GitHub Desktop.
Save pnappa/666184a00fc1106dbf3b0c7f02ba2e60 to your computer and use it in GitHub Desktop.
check which of the alexa top-1m are not registered
#!/bin/bash
cut -d',' -f2 "top-1m.csv" | while read -r domain; do
nslookup "$domain" > /dev/null || echo "$domain"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment