-
-
Save killerbees19/601205e1bfc1a95bd829508cd909f32b to your computer and use it in GitHub Desktop.
netcup *sigh*
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# v1.0.0 (2023-02-12) cs@fnx.li | |
cat ~/.getssl/.*.domains.list \ | |
| while IFS= read -r domain | |
do | |
# ACHTUNG: Der Resolver muss DNSSEC validieren! | |
# Dieses Script validiert selbst keine Antworten. | |
# Es wird nur überprüft, ob eine Antwort erfolgt. | |
[[ -z "$(dig DS "$domain" +short)" || -z "$(dig NS "$domain" +short)" ]] \ | |
&& printf '%s: %s\n' "$domain" "ERROR" >&2 \ | |
|| printf '%s: %s\n' "$domain" "OK" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment