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 4ad29ac commit aff5e90Copy full SHA for aff5e90
func/main.sh
@@ -602,10 +602,10 @@ is_dns_record_format_valid() {
602
is_ip_format_valid "$1"
603
fi
604
if [ "$rtype" = 'NS' ]; then
605
- is_domain_format_valid "$1" 'ns_record'
+ is_domain_format_valid "${1::-1}" 'ns_record'
606
607
if [ "$rtype" = 'MX' ]; then
608
- is_domain_format_valid "$1" 'mx_record'
+ is_domain_format_valid "${1::-1}" 'mx_record'
609
is_int_format_valid "$priority" 'priority_record'
610
611
0 commit comments