Fix: Support for IDN

This commit is contained in:
WhiteAls 2024-08-03 18:59:29 +00:00
parent 2f08bd1965
commit 1700f064b3

View File

@ -20,7 +20,7 @@ YANDEX360_OAUTH_BASE='https://oauth.yandex.ru'
######## Public functions ##################### ######## Public functions #####################
dns_yandex360_add() { dns_yandex360_add() {
fulldomain=$1 fulldomain="$(_idn "$1")"
txtvalue=$2 txtvalue=$2
_info 'Using Yandex 360 DNS API' _info 'Using Yandex 360 DNS API'
@ -50,7 +50,7 @@ dns_yandex360_add() {
} }
dns_yandex360_rm() { dns_yandex360_rm() {
fulldomain=$1 fulldomain="$(_idn "$1")"
txtvalue=$2 txtvalue=$2
_info 'Using Yandex 360 DNS API' _info 'Using Yandex 360 DNS API'