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

ROUTE53: Fix "No such DNS type error" on legacy or ignored records (#2294)

Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
Tom Limoncelli
2023-05-01 18:33:29 -04:00
committed by GitHub
parent d8e167c2ce
commit 8f4a08a7e6
4 changed files with 18 additions and 3 deletions

View File

@@ -1543,6 +1543,19 @@ func makeTests(t *testing.T) []*TestGroup {
),
),
// Bug https://github.com/StackExchange/dnscontrol/issues/2285
testgroup("R53_alias pre-existing",
requires(providers.CanUseRoute53Alias),
tc("Create some records",
r53alias("dev-system", "CNAME", "dev-system18.**current-domain**"),
cname("dev-system18", "ec2-54-91-33-155.compute-1.amazonaws.com."),
),
tc("Add a new record - ignoring foo",
a("bar", "1.2.3.4"),
ignoreName("dev-system*"),
),
),
// CLOUDFLAREAPI features
testgroup("CF_REDIRECT",