mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
* OVH DNS Provider (#143) This adds the OVH Provider along with its documentation. Unfortunately we can't set this DNS provider to support `CanUsePTR`, because OVH only supports setting PTR target on the Arpa zone. * OVH Registrar provider (#143) This implements OVH as a registrar provider. Note that NS modifications are done in a "best effort" mode, as the provider doesn't wait for the modifications to be fully applied (the operation that can take a long time). * Allow support for dual providers scenarios Since OVH released their APIv6, it is now possible to update zone apex NS records, opening the door to complete dual providers scenarii. This change implements apex NS management in an OVH zone.
This commit is contained in:
committed by
Tom Limoncelli
parent
fea1d7afff
commit
e44dde52e2
@ -384,12 +384,15 @@ func makeTests(t *testing.T) []*TestCase {
|
||||
if !providers.ProviderHasCabability(*providerToRun, providers.CanUseTLSA) {
|
||||
t.Log("Skipping TLSA Tests because provider does not support them")
|
||||
} else {
|
||||
sha256hash := strings.Repeat("0123456789abcdef", 4)
|
||||
sha512hash := strings.Repeat("0123456789abcdef", 8)
|
||||
reversedSha512 := strings.Repeat("fedcba9876543210", 8)
|
||||
tests = append(tests, tc("Empty"),
|
||||
tc("TLSA record", tlsa("_443._tcp", 3, 1, 1, "abcdef0123456789==")),
|
||||
tc("TLSA change usage", tlsa("_443._tcp", 2, 1, 1, "abcdef0123456789==")),
|
||||
tc("TLSA change selector", tlsa("_443._tcp", 2, 0, 1, "abcdef0123456789==")),
|
||||
tc("TLSA change matchingtype", tlsa("_443._tcp", 2, 0, 0, "abcdef0123456789==")),
|
||||
tc("TLSA change certificate", tlsa("_443._tcp", 2, 0, 0, "0123456789abcdef==")),
|
||||
tc("TLSA record", tlsa("_443._tcp", 3, 1, 1, sha256hash)),
|
||||
tc("TLSA change usage", tlsa("_443._tcp", 2, 1, 1, sha256hash)),
|
||||
tc("TLSA change selector", tlsa("_443._tcp", 2, 0, 1, sha256hash)),
|
||||
tc("TLSA change matchingtype", tlsa("_443._tcp", 2, 0, 2, sha512hash)),
|
||||
tc("TLSA change certificate", tlsa("_443._tcp", 2, 0, 2, reversedSha512)),
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user