dnscontrol/pkg/js/parse_tests/014-caa.json
Ismael Peral 06404fdcf9 Fix CAA Support: helpers.js CAA_CRITICAL flag=128 (#318) (#319)
* Update helpers.js CAA_CRITICAL flag=128 (#318)

CAA flag "Issuer Critical Flag" sets first bit (bit 0) to 1 where bit 0 is the 8th bit in the flag, so it's doing the change by left shift 7 positions the value 1.

* Change caa tests

Apply changes for Travis-CI, now caaflag must be 128 instead of 1.

* generated static.go and matrix.html
2018-02-09 14:03:40 -05:00

45 lines
890 B
JSON

{
"registrars":[],
"dns_providers":[],
"domains":[
{
"name":"foo.com",
"registrar":"none",
"dnsProviders":{},
"records":[
{
"type":"CAA",
"name":"@",
"target":"letsencrypt.org",
"caatag":"issue"
},
{
"type":"CAA",
"name":"@",
"target":";",
"caatag":"issuewild"
},
{
"type":"CAA",
"name":"@",
"target":"mailto:test@example.com",
"caatag":"iodef",
"caaflag":128
},
{
"type":"CAA",
"name":"@",
"target":"http://example.com",
"caatag":"iodef"
},
{
"type":"CAA",
"name":"@",
"target":"https://example.com",
"caatag":"iodef",
"caaflag":128
}
]
}
]
}