Skip to content

Commit 37bff18

Browse files
Merge pull request hestiacp#859 from Skamasle/patch-8
Fix bug whit ns records in idn domains
2 parents 44cdc17 + 0c98233 commit 37bff18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-dns-record

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ domain=$2
1818
record=$(idn -t --quiet -u "$3" )
1919
record=$(echo "$record" | tr '[:upper:]' '[:lower:]')
2020
rtype=$(echo "$4"| tr '[:lower:]' '[:upper:]')
21-
dvalue=$(idn -t --quiet -u "$5" )
21+
dvalue=$(idn -t --quiet -a "$5" )
2222
priority=$6
2323
id=$7
2424
restart=$8

0 commit comments

Comments
 (0)