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:
@@ -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",
|
||||
|
Reference in New Issue
Block a user