mirror of
https://github.com/benbusby/farside.git
synced 2025-04-25 21:20:02 +00:00
[CI] Check for NOERROR return status in dig query
This commit is contained in:
parent
6bfc92fb58
commit
650f28f1d5
2 changed files with 3 additions and 61 deletions
2
.github/workflows/update-instances.yml
vendored
2
.github/workflows/update-instances.yml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
|||
ns=$(dig ns "$domain" || true)
|
||||
if [[ "$ns" == *"cloudflare"* ]]; then
|
||||
echo "\"$domain\" using cloudflare, skipping..."
|
||||
elif [ ${#ns} -eq 0 ]; then
|
||||
elif [[ "$ns" != *"NOERROR"* ]]; then
|
||||
echo "Unable to verify records for \"$domain\", skipping..."
|
||||
else
|
||||
echo "$line" >> out.json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue