1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

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
This commit is contained in:
Ismael Peral
2018-02-09 20:03:40 +01:00
committed by Tom Limoncelli
parent 84743bd7f4
commit 06404fdcf9
3 changed files with 88 additions and 88 deletions

View File

@ -142,7 +142,7 @@ function makeCAAFlag(value) {
}
// CAA_CRITICAL: Critical CAA flag
var CAA_CRITICAL = makeCAAFlag(1 << 0);
var CAA_CRITICAL = makeCAAFlag(1 << 7);
// DnsProvider("providerName", 0)
// nsCount of 0 means don't use or register any nameservers.