Browse Source
Update dns_regru.sh
Fix incorrect root select (test.com.ru and subtest.com.ru)
pull/5036/head
Stanislav Koleda
10 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
dnsapi/dns_regru.sh
|
@ -93,8 +93,8 @@ _get_root() { |
|
|
|
|
|
|
|
|
for ITEM in ${domains_list}; do |
|
|
for ITEM in ${domains_list}; do |
|
|
IDN_ITEM=${ITEM} |
|
|
IDN_ITEM=${ITEM} |
|
|
case "${domain}" in |
|
|
|
|
|
*${IDN_ITEM}*) |
|
|
|
|
|
|
|
|
case ".${domain}" in |
|
|
|
|
|
*.${IDN_ITEM}*) |
|
|
_domain="$(_idn "${ITEM}")" |
|
|
_domain="$(_idn "${ITEM}")" |
|
|
_debug _domain "${_domain}" |
|
|
_debug _domain "${_domain}" |
|
|
return 0 |
|
|
return 0 |
|
|