Obsolete
/
dnsmanagerv1
Archived
3
0
Fork 0

Enable CAA dns record in expert mode

master
mirabellette 2018-04-28 09:46:46 +07:00 committed by GitHub
parent cb1d97a76d
commit 2823bfdacd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -244,6 +244,15 @@ sub rr_array_to_array {
utf8::decode($$rr{port});
utf8::decode($$rr{rdata});
}
elsif($list[3] =~ /^CAA$/) {
# domain_name 10800 IN CAA 128 issue "letsencrypt.org"
$$rr{weight} = $list[4];
$$rr{issue} = $list[5];
$$rr{certificateAutority} = $list[6];
utf8::decode($$rr{weight});
utf8::decode($$rr{issue});
utf8::decode($$rr{certificateAutority});
}
else {
$$rr{rdata} = $_->rdstring;
utf8::decode($$rr{rdata});