mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Add CAA record to is_dns_type_format_valid
This commit is contained in:
parent
3bb009f290
commit
2397137578
1 changed files with 1 additions and 1 deletions
|
@ -628,7 +628,7 @@ is_dbuser_format_valid() {
|
|||
|
||||
# DNS record type validator
|
||||
is_dns_type_format_valid() {
|
||||
known_dnstype='A,AAAA,NS,CNAME,MX,TXT,SRV,DNSKEY,KEY,IPSECKEY,PTR,SPF,TLSA'
|
||||
known_dnstype='A,AAAA,NS,CNAME,MX,TXT,SRV,DNSKEY,KEY,IPSECKEY,PTR,SPF,TLSA,CAA'
|
||||
if [ -z "$(echo $known_dnstype |grep -w $1)" ]; then
|
||||
check_result $E_INVALID "invalid dns record type format :: $1"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue