Update dns_regru.sh

Fix incorrect root select (test.com.ru and subtest.com.ru)
pull/5036/head
Stanislav Koleda 11 months ago committed by GitHub
parent 6e14a073ff
commit f1d7e0ab23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -93,8 +93,8 @@ _get_root() {
for ITEM in ${domains_list}; do
IDN_ITEM=${ITEM}
case "${domain}" in
*${IDN_ITEM}*)
case ".${domain}" in
*.${IDN_ITEM}*)
_domain="$(_idn "${ITEM}")"
_debug _domain "${_domain}"
return 0

Loading…
Cancel
Save