mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
REFACTOR: .target should always be FQDN (#2421)
This commit is contained in:
@ -1561,22 +1561,22 @@ func makeTests(t *testing.T) []*TestGroup {
|
||||
testgroup("AZURE_ALIAS_CNAME",
|
||||
requires(providers.CanUseAzureAlias),
|
||||
tc("create dependent CNAME records",
|
||||
cname("foo.cname", "google.com"),
|
||||
cname("quux.cname", "google2.com"),
|
||||
cname("foo.cname", "google.com."),
|
||||
cname("quux.cname", "google2.com."),
|
||||
),
|
||||
tc("ALIAS to CNAME record in same zone",
|
||||
cname("foo.cname", "google.com"),
|
||||
cname("quux.cname", "google2.com"),
|
||||
cname("foo.cname", "google.com."),
|
||||
cname("quux.cname", "google2.com."),
|
||||
azureAlias("bar.cname", "CNAME", "/subscriptions/**subscription-id**/resourceGroups/**resource-group**/providers/Microsoft.Network/dnszones/**current-domain-no-trailing**/CNAME/foo.cname"),
|
||||
),
|
||||
tc("change aliasCNAME",
|
||||
cname("foo.cname", "google.com"),
|
||||
cname("quux.cname", "google2.com"),
|
||||
cname("foo.cname", "google.com."),
|
||||
cname("quux.cname", "google2.com."),
|
||||
azureAlias("bar.cname", "CNAME", "/subscriptions/**subscription-id**/resourceGroups/**resource-group**/providers/Microsoft.Network/dnszones/**current-domain-no-trailing**/CNAME/quux.cname"),
|
||||
),
|
||||
tc("change backCNAME",
|
||||
cname("foo.cname", "google.com"),
|
||||
cname("quux.cname", "google2.com"),
|
||||
cname("foo.cname", "google.com."),
|
||||
cname("quux.cname", "google2.com."),
|
||||
azureAlias("bar.cname", "CNAME", "/subscriptions/**subscription-id**/resourceGroups/**resource-group**/providers/Microsoft.Network/dnszones/**current-domain-no-trailing**/CNAME/foo.cname"),
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user