mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-05-14 08:58:25 +00:00
Adds script to dig list of domains
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
sed \
|
||||
-e 's/\.json.*$/.is-a.dev/g' \
|
||||
-e 's/^\s*domains\///g' \
|
||||
-e '/^\s*$/d' \
|
||||
| while read domain; do
|
||||
echo "$domain";
|
||||
dig "$domain" +noall +answer && echo "done" || echo "x";
|
||||
done;
|
||||
|
||||
Reference in New Issue
Block a user