mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-07-07 13:31:51 -07:00
Fix bug whit ns records in idn domains
This will fix https://github.com/serghey-rodin/vesta/issues/845 Named wont start whit unicode charcters and return: zone example.com/IN: loaded serial 2016100705 dns_rdata_fromtext: /home/admin/conf/dns/españa.es.db:18: near 'ns2.españa.com.': bad name (check-names) zone xn--espaa-rta.es/IN: loading from master file /home/admin/conf/dns/españa.es.db failed: bad name (check-names)
This commit is contained in:
parent
8cabb5414a
commit
0c98233f2e
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ domain=$2
|
|||
record=$(idn -t --quiet -u "$3" )
|
||||
record=$(echo "$record" | tr '[:upper:]' '[:lower:]')
|
||||
rtype=$(echo "$4"| tr '[:lower:]' '[:upper:]')
|
||||
dvalue=$(idn -t --quiet -u "$5" )
|
||||
dvalue=$(idn -t --quiet -a "$5" )
|
||||
priority=$6
|
||||
id=$7
|
||||
restart=$8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue