From 21c281165415ac0a67828e9071d527fa495c8364 Mon Sep 17 00:00:00 2001 From: Shubham Sharma Date: Thu, 19 Sep 2024 19:56:16 +0530 Subject: [PATCH] fix version and spellcheck --- dnsapi/dns_mijn_host.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dnsapi/dns_mijn_host.sh b/dnsapi/dns_mijn_host.sh index b2ad669a..a3b3edbd 100644 --- a/dnsapi/dns_mijn_host.sh +++ b/dnsapi/dns_mijn_host.sh @@ -10,7 +10,7 @@ Options: ' ######## Public functions ###################### Constants for your mijn-host API -MIJN_HOST_API="https://api.mijn-host.com/v1" +MIJN_HOST_API="https://api.mijn-host.com/v2" # Add TXT record for domain verification dns_mijn_host_add() { @@ -109,7 +109,7 @@ _get_root() { return 1 fi - if _contains "$(dig ns $h)" "mijn-host.com"; then + if _contains "$(dig ns "$h")" "mijn.host"; then root_zone="$h" subdomain=$(printf "%s" "$domain" | cut -d . -f 1-$p) return 0