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

231 Commits

Author SHA1 Message Date
Tom Limoncelli
7c2938c6d3 Update depends (#1478) 2022-04-04 14:48:07 -04:00
Tom Limoncelli
9c7b84eefd HEXONET: Adapt to new OTE endpoint (#1463)
* HEXONET: Adapt to new OTE endpoint

* CCI uses goreleaser which needs go 1.8
2022-03-24 12:53:42 -04:00
Tom Limoncelli
7814a837cd MAINT: Minimum go version is now 1.18 (#1464)
* MAINT: Minimum go version is now 1.18
2022-03-24 12:42:14 -04:00
Tom Limoncelli
8bc72137f8 MAINT: upgrade Azure depends 2022-03-07 13:17:59 -05:00
Tom Limoncelli
9db12e4730 GANDI: Bump go-gandi/go-gandi v0.0.0-20211124085723 => v0.1.0 (#1439)
* GANDI: Bump go-gandi/go-gandi v0.0.0-20211124085723-a737785a1af0 => v0.1.0

* Use new NewDomainClient signature

* go mod tidy
2022-03-07 13:00:39 -05:00
Tom Limoncelli
95ea4eedc9 CLOUDFLARE: Bump cloudflare/cloudflare-go v0.33.0 => v0.34.0 (#1438) 2022-03-04 08:46:12 -05:00
Tom Limoncelli
1f741088a9 MAINT: Bump github.com/miekg/dns from 1.1.45 to 1.1.46 (#1431) 2022-03-01 14:53:10 -05:00
Tom Limoncelli
0b15a3a6d2 MAINT: Update dependencies (#1429) 2022-03-01 13:01:51 -05:00
Tom Limoncelli
9ba4bfe0c8 Release v3.14.0 (#1399)
* Release v3.14.0
* Update deprec list
2022-02-05 10:04:58 -05:00
Tom Limoncelli
272064a603 TRANSIP: Bump github.com/transip/gotransip/v6 from 6.11.0 to 6.14.0 (#1392) 2022-02-02 11:59:13 -05:00
Tom Limoncelli
a3177ebb3d MAINT: Update dependencies (#1388)
* MAINT: Update dependencies

* Increase CCI timeout because Cloudflare is so damn slow
2022-02-01 14:47:27 -05:00
dependabot[bot]
ac9d1324ef Bump github.com/softlayer/softlayer-go from 1.0.3 to 1.0.4 (#1355)
Bumps [github.com/softlayer/softlayer-go](https://github.com/softlayer/softlayer-go) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/softlayer/softlayer-go/releases)
- [Commits](https://github.com/softlayer/softlayer-go/compare/v1.0.3...v1.0.4)

---
updated-dependencies:
- dependency-name: github.com/softlayer/softlayer-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2022-01-03 10:25:26 -05:00
Tom Limoncelli
e063812a5f MAINT: Update dependencies (#1361) 2022-01-03 10:02:21 -05:00
Tom Limoncelli
531aa6e313 DIGITALOCEAN: Upgrade to godo 1.73.0 (#1325) 2021-12-08 12:18:19 -05:00
Tom Limoncelli
00b2a3a9f8 Upgrade dependencies (#1324)
* Upgrade dependencies

* Revert "Upgrade dependencies"

This reverts commit 1b9df3a4bb.

* all but gandi
2021-12-08 10:56:48 -05:00
Jaye Doepke
900d4042e8 ROUTE53: Adopt aws-sdk-go-v2 (#1321)
* Switch to aws-sdk-go-v2

AWS has released v2 of their SDK for Go.

See: https://aws.github.io/aws-sdk-go-v2/

One big advantage of this is no longer needing to export the
`AWS_SDK_LOAD_CONFIG=1` env var when using named profiles.

* Update integration test README

* Reenable pager601 and pager1201 integration tests for AWS Route53

* Implement intelligent batching for Route53 record changes

The AWS Route53 API for batch record changes limits the request size to
the smaller of:

- 1000 records.
- 32000 characters total for record values.

Also UPSERTs count as double (a DELETE and then a CREATE).

This commit changes how the record ChangeBatches are created to
respect these limits.

* Remove old comments

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-12-07 16:29:29 -05:00
Tom Limoncelli
215f6ed525 Release v3.13.0 (#1310)
* Remove length checking from TxtNoMultipleStrings

All functions in should test for only one condition. There already is a
function that tests for long TXT records: TxtNoLongStrings.
Add calls to TxtNoLongStrings in all providers that use
TxtNoMultipleStrings, to keep functionality, except for NS1 and ClouDNS,
which allow for any TXT record length, but not for multiple strings per
TXT.

* Release v3.13.0

* Release v3.13.0

Co-authored-by: Norman Stetter <norman.stetter@zeit.de>
2021-11-27 14:46:37 -05:00
Tom Limoncelli
866aa798e2 Update deps (#1301) 2021-11-01 16:10:29 -04:00
Tom Limoncelli
186e139bbe Update dependencies (#1294) 2021-10-26 12:09:34 -04:00
Tom Limoncelli
eef8c25a95 Upgrade otto to 20210927222213 (#1279)
* Update deps

* Upgrade otto 20210614181706 -> 20210927222213
2021-10-03 17:52:39 -04:00
Tom Limoncelli
79d3552312 Update deps (#1278) 2021-10-03 17:23:48 -04:00
Brian Hartvigsen
d8941a04bc CLOUDFLARE: Use cloudflare-go (#1267)
* First pass at moving to cloudflare-go vs hand made implementation of cloudflare's API

* Final changes to use cloudflare-go

* Fix for proxy configuration failing

Forgot to set the ID when we created a new records.  This didn't fail in the integrations tests so I missed it.

* Add integration test

To prevent something like what I did from happening in the future.

* Fix bad messaging
2021-09-30 07:09:42 -04:00
Tom Limoncelli
0bf229e36d Update dependencies (#1249) 2021-09-02 10:44:24 -04:00
Tom Limoncelli
fd6478a8ab update deps (#1231) 2021-08-05 15:06:44 -04:00
Tom Limoncelli
19769da229 update deps (#1228) 2021-08-05 14:46:05 -04:00
dependabot[bot]
3263af9a1a Bump github.com/PuerkitoBio/goquery from 1.7.0 to 1.7.1 (#1226)
Bumps [github.com/PuerkitoBio/goquery](https://github.com/PuerkitoBio/goquery) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/PuerkitoBio/goquery/releases)
- [Commits](https://github.com/PuerkitoBio/goquery/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/PuerkitoBio/goquery
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-05 11:41:51 -04:00
dependabot[bot]
0847242e9f Bump github.com/aws/aws-sdk-go from 1.38.70 to 1.39.1 (#1203)
* Bump github.com/aws/aws-sdk-go from 1.38.70 to 1.39.1

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.70 to 1.39.1.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.70...v1.39.1)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update deps

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-07-07 18:45:45 -04:00
Vincent Hagen
506b6cc32f Transip provider (#1196)
* Add initial transip provider

* Add GetNameservers to transip

* Add first try to correction function.

* Implemented corrections

* Add docs for transip

* Fix TransIP TTL updates

* Fix transip nameserver records

* Update docs/_providers/transip.md

Co-authored-by: Sven Luijten <11269635+svenluijten@users.noreply.github.com>

Co-authored-by: Sven Luijten <11269635+svenluijten@users.noreply.github.com>
2021-07-07 11:43:10 -04:00
dependabot[bot]
00595a895f Bump github.com/Azure/go-autorest/autorest/azure/auth (#1198)
Bumps [github.com/Azure/go-autorest/autorest/azure/auth](https://github.com/Azure/go-autorest) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/azure/auth/v0.5.7...autorest/azure/auth/v0.5.8)

---
updated-dependencies:
- dependency-name: github.com/Azure/go-autorest/autorest/azure/auth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-02 15:44:40 -04:00
Tom Limoncelli
0630c185cf Release v3.10.1 (#1194)
* Release v3.10.1

* Update dependencies

* RELENG: Update doc to verify version string

* Fix codeql issue
2021-07-01 10:17:43 -04:00
dependabot[bot]
d45aa7c76b Bump github.com/miekg/dns from 1.1.42 to 1.1.43 (#1184)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.42 to 1.1.43.
- [Release notes](https://github.com/miekg/dns/releases)
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.42...v1.1.43)

---
updated-dependencies:
- dependency-name: github.com/miekg/dns
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-01 09:28:46 -04:00
Phil Pennock
06c59f09a7 EXOSCALE: update client lib to v0.59.0 (#1183)
REGRESSION and BUILD fix.  dnscontrol compiles with this but I can't test the
EXOSCALE behavior to be sure it's logically sound.

The dependency was v1.19.0 but this git tag has been withdrawn and the go.mod
for that git repository contains:

    retract v1.19.0 // Published accidentally.

Per <https://proxy.golang.org/github.com/exoscale/egoscale/@v/v1.19.0.info> the
timestamp for the bogus v1.19.0 dependency is 2019-10-29, which corresponds to
v0.19.0.

On 2020-02-27, the dnscontrol repo updated this dependency to v0.23.0, so it
now being v1.19.0 (== v0.19.0) is a REGRESSION.

I suggest that the maintainers purge this bogus v1.19.0 from their systems to
try to prevent it leaking in again in future.
2021-06-29 17:04:42 -04:00
Steven Vernick
be1f03fb75 NEW PROVIDER: AkamaiEdgeDNS (#1174)
* downcase TLSA

* Akamai provider

* Akamai provider

* EdgeDNS provider

* AkamaiEdgeDNS provider

* AkamaiEdgeDNS provider

* AkamaiEdgeDNS provider

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-06-22 10:24:49 -04:00
Tom Limoncelli
1cea854e1c MAINT: Adopt go 1.16's embed feature (#1162)
* MAINT: Switch from esc to embed
* Simplify
* Update minimum go version in docs and pipelines
* go generate
2021-06-04 15:50:47 -04:00
Tom Limoncelli
6beaafdc9b upgrade dependencies (#1169)
* upgrade dependencies

* go mod tidy
2021-06-03 11:19:53 -04:00
Tom Limoncelli
88c05d9484 Update deps (#1141) 2021-05-02 11:04:42 -04:00
Tom Limoncelli
1cc2e79c59 Update depends (#1135)
* Update depends
* Update releng docs
2021-04-22 16:07:53 -04:00
Tom Limoncelli
469e04478c Update primary modules (#1123)
* Update primary modules
* fix juju/errors
* go mod tidy
2021-04-16 13:48:10 -04:00
Rashad J
a65b310520 perf(go sdk): introducing semver to HEXONET provider (#1120)
* build(go sdk): fixed outdated dependencies issue

* refactor(.back files): removed .bak files

Co-authored-by: Rashad Jamara <rjamara@hexonet.net>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-04-13 07:30:32 -04:00
Tom Limoncelli
ef2a109207 Update dependencies (#1110) 2021-03-28 15:08:01 -04:00
Tom Limoncelli
78e8daae9a Update dependencies (#1100) 2021-03-21 15:35:28 -04:00
Tom Limoncelli
49b065ec4f go update 2021-03-08 20:16:54 -05:00
Tom Limoncelli
5388cfc475 Update dependencies 2021-03-07 14:44:32 -05:00
Tom Limoncelli
8dea9edc34 Re-engineer TXT records for simplicity and better compliance (#1063)
TXT records are now handled different.

1. The raw input from dnsconfig.js is passed all the way to the provider. The provider can determine if it can or can't handle such records (auditrecords.go) and processes them internally as such.
2. The CanUseTXTMulti capability is no longer needed.

* DSPs now register a table of functions
* Use audits for txt record variations
* unit tests pass. integration fails.
* fix deepcopy problem
* rename to AuditRecordSupport
* Reduce use of TXTMulti
* Remove CanUseTXTMulti
* fix Test Skip
* fix DO
* fix vultr
* fix NDC
* msdns fixes
* Fix powerdns and cloudflare
* HEDNS: Fix usage of target field to resolve TXT handling (#1067)
* Fix HEXONET

Co-authored-by: Robert Blenkinsopp <robert@blenkinsopp.net>
Co-authored-by: Jakob Ackermann <das7pad@outlook.com>
2021-03-07 13:19:22 -05:00
Tom Limoncelli
21e85e6528 "Target" RecordConfig should not be exported (#1061)
* Unexport RecordConfig.Target
* Fix tests
* HEDNS: Fix usage of target field to resolve TXT handling (#1067)

Co-authored-by: Robert Blenkinsopp <robert@blenkinsopp.net>
2021-03-04 18:58:23 -05:00
Jan-Philipp Benecke
37b02b6540 New Feature: JS formatter and prettifier (#917)
FYI: This is an experimental feature. It depends on an external module that may not be supported in the long term.

* PoC: JS formatter
* No default value for output file
2021-03-02 15:51:27 -05:00
Tom Limoncelli
27edd04bbd update dependencies (#1072) 2021-03-01 21:41:29 -05:00
Tom Limoncelli
57a1231ea1 go mod tidy 2021-03-01 20:51:34 -05:00
Tom Limoncelli
a2042c2eda NS1: Support NS1_URLFWD (#1046) 2021-02-10 11:57:15 -05:00
Tom Limoncelli
9c0092edcb Release v3.6.0 (#1033)
* Release v3.6.0
* Update go modules
2021-01-30 09:49:22 -05:00