Merge pull request #772 from huloza/patch-1

Add TLSA Record Type to DNS Manager
This commit is contained in:
Serghey Rodin 2016-08-29 19:11:25 +03:00 committed by GitHub
commit f3a3c4170f
2 changed files with 2 additions and 1 deletions

View file

@ -590,7 +590,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'
known_dnstype='A,AAAA,NS,CNAME,MX,TXT,SRV,DNSKEY,KEY,IPSECKEY,PTR,SPF,TLSA'
if [ -z "$(echo $known_dnstype |grep -w $1)" ]; then
check_result $E_INVALID "invalid dns record type format :: $1"
fi

View file

@ -80,6 +80,7 @@
<option value="IPSECKEY" <?php if ($v_type == 'IPSECKEY') echo selected; ?>>IPSECKEY</option>
<option value="PTR" <?php if ($v_type == 'PTR') echo selected; ?>>PTR</option>
<option value="SPF" <?php if ($v_type == 'SPF') echo selected; ?>>SPF</option>
<option value="TLSA" <?php if ($v_type == 'TLSA') echo selected; ?>>TLSA</option>
</select>
</td>
</tr>