mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 13:24:24 -07:00
Update main.sh
This commit is contained in:
parent
4ad29ac76c
commit
aff5e9066f
1 changed files with 2 additions and 2 deletions
|
@ -602,10 +602,10 @@ is_dns_record_format_valid() {
|
|||
is_ip_format_valid "$1"
|
||||
fi
|
||||
if [ "$rtype" = 'NS' ]; then
|
||||
is_domain_format_valid "$1" 'ns_record'
|
||||
is_domain_format_valid "${1::-1}" 'ns_record'
|
||||
fi
|
||||
if [ "$rtype" = 'MX' ]; then
|
||||
is_domain_format_valid "$1" 'mx_record'
|
||||
is_domain_format_valid "${1::-1}" 'mx_record'
|
||||
is_int_format_valid "$priority" 'priority_record'
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue