diff options
| author | Ben Busby <contact@benbusby.com> | 2022-08-01 22:37:23 -0600 |
|---|---|---|
| committer | Ben Busby <contact@benbusby.com> | 2022-08-01 22:37:58 -0600 |
| commit | 650f28f1d5c710f2882e66cae18a6339bdccc308 (patch) | |
| tree | fee82ad6119891ff15825756918899e58c1398da /.github | |
| parent | 6bfc92fb58e1f321b80703e70c28eafe9e33dff9 (diff) | |
| download | farside-650f28f1d5c710f2882e66cae18a6339bdccc308.tar.gz | |
[CI] Check for NOERROR return status in dig query
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/update-instances.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml index 197b973..17da660 100644 --- a/.github/workflows/update-instances.yml +++ b/.github/workflows/update-instances.yml @@ -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 |
