mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
IDN support for MX and CNAME record. Fixes #108
This commit is contained in:
parent
2d4cdb3f2a
commit
c3e89977a3
1 changed files with 4 additions and 0 deletions
|
@ -195,6 +195,10 @@ update_domain_zone() {
|
|||
done
|
||||
|
||||
RECORD=$(idn --quiet -a -t "$RECORD")
|
||||
if [ "$TYPE" = 'CNAME' ] || [ "$TYPE" = 'MX' ]; then
|
||||
VALUE=$(idn --quiet -a -t "$VALUE")
|
||||
fi
|
||||
|
||||
if [ "$SUSPENDED" != 'yes' ]; then
|
||||
eval echo -e "\"$fields\""|sed "s/%quote%/'/g" >> $conf
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue