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

ROUTE53: Report R53_ALIAS loops as an error (#2111)

This commit is contained in:
Tom Limoncelli
2023-03-01 10:00:58 -05:00
committed by GitHub
parent 0d2a7bf93e
commit b54c5eab10
2 changed files with 32 additions and 1 deletions

View File

@ -1256,6 +1256,16 @@ func makeTests(t *testing.T) []*TestGroup {
),
),
testgroup("R53_ALIAS_Loop",
// This will always be skipped because rejectifTargetEqualsLabel
// will always flag it as not permitted.
// See https://github.com/StackExchange/dnscontrol/issues/2107
requires(providers.CanUseRoute53Alias),
tc("loop should fail",
r53alias("test-islandora", "CNAME", "test-islandora.**current-domain**"),
),
),
// CLOUDFLAREAPI features
testgroup("CF_REDIRECT",