mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
HETZNER: do not support spaces in CAA records (#1577)
As of 2022-06-23, the Hetzner DNS API is still responding with a 422 when a CAA record contains a quoted value with spaces. ``` format: number of fields does not match record type, expecting 3 ``` Their support acknowledged my bug report a few weeks back and suggested the removal of spaces to get past the limitation. Spaces in CAA records are not common. Let's just skip the test and put a notice in the docs. Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
This commit is contained in:
@@ -1107,7 +1107,7 @@ func makeTests(t *testing.T) []*TestGroup {
|
||||
tc("CAA many records", caa("@", "issuewild", 0, ";")),
|
||||
),
|
||||
testgroup("CAA Issue 1374",
|
||||
requires(providers.CanUseCAA), not("DIGITALOCEAN"),
|
||||
requires(providers.CanUseCAA), not("DIGITALOCEAN", "HETZNER"),
|
||||
// Test support of spaces in the 3rd field.
|
||||
tc("CAA spaces", caa("@", "issue", 0, "letsencrypt.org; validationmethods=dns-01; accounturi=https://acme-v02.api.letsencrypt.org/acme/acct/1234")),
|
||||
),
|
||||
|
Reference in New Issue
Block a user