Skip to content

Instantly share code, notes, and snippets.

@tsaito-cyber
Last active November 19, 2015 02:57
Show Gist options
  • Save tsaito-cyber/876a88b6b6884f6c4416 to your computer and use it in GitHub Desktop.
Save tsaito-cyber/876a88b6b6884f6c4416 to your computer and use it in GitHub Desktop.
parallel domain checker
#!/bin/bash
SERVER='8.8.8.8'
cat $1 | sed -E 's;^https?://(.*)/;\1;g' | xargs -I{} dig +short +time=5 @$SERVER {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment