From 71a301f759f76fc01cb22ae41bf6db51a5f7cb33 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Thu, 22 Oct 2020 01:20:42 +0530 Subject: [PATCH] Adds script to dig list of domains --- scripts/verify-record.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/verify-record.sh diff --git a/scripts/verify-record.sh b/scripts/verify-record.sh new file mode 100644 index 000000000..a4fc0da6a --- /dev/null +++ b/scripts/verify-record.sh @@ -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; +