diff --git a/integrationTest/integration_test.go b/integrationTest/integration_test.go index 407605043..068f5f98c 100644 --- a/integrationTest/integration_test.go +++ b/integrationTest/integration_test.go @@ -742,14 +742,15 @@ func makeTests(t *testing.T) []*TestGroup { testgroup("single TXT with single-quote", not( - "INWX", // Bug in the API prevents this. - "MSDNS", // TODO(tlim): Should be easy to implement. + "INWX", // Bug in the API prevents this. + "MSDNS", // TODO(tlim): Should be easy to implement. + "CLOUDNS", // support txt("foo", "blah'blah") but does not support txt("foo","blah`blah") ), tc("Create TXT with single-quote", txt("foo", "blah`blah")), ), testgroup("ws TXT", - not("CLOUDFLAREAPI", "HEXONET", "INWX", "NAMEDOTCOM"), + not("CLOUDFLAREAPI", "HEXONET", "INWX", "NAMEDOTCOM", "CLOUDNS"), // These providers strip whitespace at the end of TXT records. // TODO(tal): Add a check for this in normalize/validate.go tc("Change a TXT with ws at end", txt("foo", "with space at end ")), @@ -762,6 +763,7 @@ func makeTests(t *testing.T) []*TestGroup { "INWX", // Not supported. "MSDNS", // Not supported. "NETCUP", // Not supported. + "CLOUDNS", // Not supported. ), tc("TXT with empty str", txt("foo1", "")), // https://github.com/StackExchange/dnscontrol/issues/598 @@ -932,6 +934,7 @@ func makeTests(t *testing.T) []*TestGroup { ), testgroup("TXTMulti", + not("CLOUDNS"), //TODO: not implemented. same Issue as #996 requires(providers.CanUseTXTMulti), tc("Create TXTMulti 1", txtmulti("foo1", []string{"simple"}), diff --git a/providers/cloudns/cloudnsProvider.go b/providers/cloudns/cloudnsProvider.go index 4e088101f..c19cd5686 100644 --- a/providers/cloudns/cloudnsProvider.go +++ b/providers/cloudns/cloudnsProvider.go @@ -49,7 +49,8 @@ var features = providers.DocumentationNotes{ providers.CanUsePTR: providers.Can(), providers.CanGetZones: providers.Can(), providers.CanUseDSForChildren: providers.Can(), - //providers.CanUseDS: providers.Can(), + providers.CanUseTXTMulti: providers.Can(), + //providers.CanUseDS: providers.Can(), // in ClouDNS we can add DS record just for a subdomain(child) } func init() {