mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
CLOUDNS: Implement AUTOSPLIT (#1035)
* implement AUTOSPLIT for ClouDNS Co-authored-by: IT-Sumpfling <it-sumpfling@maxit-con.de> Co-authored-by: bentaybi jamal <jamal@pfalzcloud.de> Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
@ -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"}),
|
||||
|
Reference in New Issue
Block a user