We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc2ecb2 commit 1ed8188Copy full SHA for 1ed8188
func/domain.sh
@@ -360,6 +360,11 @@ update_domain_zone() {
360
if [ -z "$SERIAL" ]; then
361
SERIAL=$(date +'%Y%m%d01')
362
fi
363
+ if [[ "$domain" = *[![:ascii:]]* ]]; then
364
+ domain_idn=$(idn -t --quiet -a $domain)
365
+ else
366
+ domain_idn=$domain
367
+ fi
368
zn_conf="$HOMEDIR/$user/conf/dns/$domain.db"
369
echo "\$TTL $TTL
370
@ IN SOA $SOA. root.$domain_idn. (
0 commit comments