mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-05-14 10:58:46 +00:00
12 lines
212 B
Bash
12 lines
212 B
Bash
#!/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;
|
|
|