diff --git a/dnsapi/dns_regru.sh b/dnsapi/dns_regru.sh index 8ff380f0..56134418 100644 --- a/dnsapi/dns_regru.sh +++ b/dnsapi/dns_regru.sh @@ -94,7 +94,7 @@ _get_root() { for ITEM in ${domains_list}; do IDN_ITEM=${ITEM} case "${domain}" in - *${IDN_ITEM}*) + *\.${IDN_ITEM}*) _domain="$(_idn "${ITEM}")" _debug _domain "${_domain}" return 0