Browse Source

Better debug messages for root domain detection

pull/6178/head
peterv99 1 month ago
parent
commit
150c708726
  1. 3
      dnsapi/dns_mijn_host.sh

3
dnsapi/dns_mijn_host.sh

@ -162,6 +162,9 @@ _get_root() {
if _contains "$domain" "$rootDomain"; then
_domain="$rootDomain"
_sub_domain=$(echo "$domain" | sed "s/.$rootDomain//g")
_debug "Found root domain" "$_domain" "and subdomain" "$_sub_domain" "for" "$domain"
return 0
fi
done

Loading…
Cancel
Save