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

HEXONET: Implement get-zones, fix module problem (#898)

* VULTR: Update govultr to v1.0.0 (fixes #892) (#897)

* go get -u github.com/hexonet/go-sdk

* Fix HEXONET providers.json entry

* providers.json: json commma

* providers.json: fmtjson

* HEXONET: Implement get-zones. Fix tests and docs.

* fixup!

* Update azure test failures

* Move version info into its own package

* Use new version system
This commit is contained in:
Tom Limoncelli
2020-10-12 11:45:44 -04:00
committed by GitHub
parent bc8bcf88c4
commit da1cbad4ec
12 changed files with 162 additions and 76 deletions

View File

@@ -686,14 +686,14 @@ func makeTests(t *testing.T) []*TestGroup {
),
testgroup("ws TXT",
not("CLOUDFLAREAPI", "INWX", "NAMEDOTCOM"),
not("CLOUDFLAREAPI", "HEXONET", "INWX", "NAMEDOTCOM"),
// 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 ")),
),
testgroup("empty TXT",
not("CLOUDFLAREAPI", "INWX", "NETCUP"),
not("CLOUDFLAREAPI", "HEXONET", "INWX", "NETCUP"),
tc("TXT with empty str", txt("foo1", "")),
// https://github.com/StackExchange/dnscontrol/issues/598
// We decided that permitting the TXT target to be an empty
@@ -752,7 +752,8 @@ func makeTests(t *testing.T) []*TestGroup {
testgroup("pager601",
// AWS: https://github.com/StackExchange/dnscontrol/issues/493
only("ROUTE53"),
//only("AZURE_DNS", "HEXONET", "ROUTE53"),
only("HEXONET", "ROUTE53"), // AZURE_DNS is failing.
tc("601 records", manyA("rec%04d", "1.2.3.4", 600)...),
tc("Update 601 records", manyA("rec%04d", "1.2.3.5", 600)...),
),
@@ -760,8 +761,8 @@ func makeTests(t *testing.T) []*TestGroup {
testgroup("pager1201",
// AWS: https://github.com/StackExchange/dnscontrol/issues/493
// Azure: https://github.com/StackExchange/dnscontrol/issues/770
//only("ROUTE53", "AZURE_DNS"),
only("ROUTE53"), // Azure is failing ATM.
//only("AZURE_DNS", "HEXONET", "ROUTE53"),
only("HEXONET", "ROUTE53"), // AZURE_DNS is failing.
tc("1200 records", manyA("rec%04d", "1.2.3.4", 1200)...),
tc("Update 1200 records", manyA("rec%04d", "1.2.3.5", 1200)...),
),