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

955 Commits

Author SHA1 Message Date
c0f4f1247d go get -u golang.org/x/net 2020-06-26 12:50:56 -04:00
491a3f8720 Relax tests for Azure temporarily 2020-06-25 17:05:10 -04:00
ea46bc3bbd integration_test.go: Split out pagesize tests (#771) 2020-06-24 15:16:00 -04:00
5f66991458 Fix failing test 2020-06-19 17:15:26 -04:00
Ben
44bd4206e8 fix get-zones code block indentation (#769) 2020-06-19 11:33:35 -04:00
ff8ce26cee Provider support for DS records as children only (#765)
This functionality is required by the GCLOUD provider, which supports
recordsets of type DS but only for child records of the zone, to enable
further delegation. It does not support them at the apex of the zone (@)
because Google Cloud DNS is not itself a registrar which needs to model
this information.

A related change (14ff68b151b5db1f24bcdaccb30b6fa95897940a, #760) was
previously introduced to enable DS support in Google, which broke
integration tests with this provider.

To cleanly support this, we introduce a new provider capability
CanUseDSForChildren and appropriate integration tests. Further, it is no
longer possible to verify a provider has the proper capabilities for a
zone simply by existence of particular records; we adapt the capability
checks to enable inspection of the individual recordsets where this is
required.

Closes #762
2020-06-18 17:24:13 -04:00
505062b628 update AWS/GDNS/Azure deps (#768) 2020-06-18 13:59:17 -04:00
676d98fc4a Linting (#767)
What could possibly go wrong?
2020-06-18 09:37:57 -04:00
Ben
84fd4ae33e get-zone documentation and help fixes (#766) 2020-06-18 09:37:09 -04:00
12e9d2bdd5 Update dependencies (#763)
* gcloud natively supports records of type DS

* doc fix: CanUseDs -> CanUseDS capitalisation fix

* Update github.com/stretchr/testify golang.org/x/tools google.golang.org/api gopkg.in/yaml.v3

Co-authored-by: Matthew Huxtable <matthew.huxtable@sparx.co.uk>
2020-06-09 14:00:20 -04:00
4e2dbd879d Revert "Add support to GCLOUD provider for DS records (#760)" (#761)
This reverts commit 14ff68b151b5db1f24bcdaccb30b6fa95897940a.
2020-06-09 13:31:09 -04:00
ba7efe3402 Merge commit '2e52228d6c25d076c078e752fc3907d4ead54a28' 2020-06-09 12:13:48 -04:00
14ff68b151 Add support to GCLOUD provider for DS records (#760)
* gcloud natively supports records of type DS
* doc fix: CanUseDs -> CanUseDS capitalisation fix
2020-06-09 12:12:04 -04:00
Ben
5e441a4a98 get-certs.md: correct flag names (#758)
* get-certs.md: correct flag names

* Update get-certs.md

added all flags per current `--help` output; rearranged ordering to match `--help`; removed the deprecated `--verbose`
2020-06-03 11:50:07 -04:00
2e52228d6c Release v3.2.0 2020-06-02 10:41:21 -04:00
f884e7615f go mod tidy 2020-06-02 07:01:09 -04:00
1d263c4dd6 Vendor github.com/mittwald/go-powerdns 2020-06-02 06:53:41 -04:00
968ef8de7b .gitignore /zones not zones 2020-06-02 06:52:21 -04:00
97d91cda4c Implement a simple lexagraphic sort. (#755) 2020-05-30 12:03:33 -04:00
5723f021fd Remove/update obsolete files 2020-05-30 11:08:30 -04:00
4713bbad7d Rebase and regenerate 2020-05-30 11:06:13 -04:00
f91696803c Updated integration tests 2020-05-30 11:06:13 -04:00
9652ef11a7 rebased and regenerated 2020-05-30 11:06:13 -04:00
367a53d34f Regenerated documentation matrix 2020-05-30 11:06:13 -04:00
762aaf0ce1 Added generated files 2020-05-30 11:06:13 -04:00
e57eaccac9 Merge 2020-05-30 11:06:13 -04:00
2e8589e4ce Added DS for cloudflare provider with tests 2020-05-30 11:06:13 -04:00
c0354a585d DS: More cleanups 2020-05-30 11:06:12 -04:00
a89ab89ab6 Fix the merge mess I made with the DS merge (#754)
* DS: More cleanups

* Added DS for cloudflare provider with tests

* Merge

* Added generated files

* Regenerated documentation matrix

* rebased and regenerated

* Updated integration tests

* Rebase and regenerate

* More cleanups

Co-authored-by: Robert Koch <robert@kochie.io>
Co-authored-by: Nicolai Ehemann <nicolai.ehemann@enerko-informatik.de>
2020-05-30 11:05:54 -04:00
87a5c4b339 New RTYPE: DS records now supported! (#753)
Thanks to @haraldkoch for starting this, @McNetic for picking it up.

* Added DS record type

* Added DS for cloudflare provider with tests

* Removed DS validation, fixed parse test

* Added generated files

* Added dnsimple ds record

* Regenerated documentation matrix

* rebased and regenerated

* Updated integration tests

* Rebase and regenerate

* Enable DS record type for provider desec

* Added DS record type

* Added DS for cloudflare provider with tests

* Removed DS validation, fixed parse test

* Added generated files

* Added dnsimple ds record

* Regenerated documentation matrix

* rebased and regenerated

* Updated integration tests

* Rebase and regenerate

* Enable DS record type for provider desec

* Rebase and fixes

Co-authored-by: Robert Koch <robert@kochie.io>
Co-authored-by: Nicolai Ehemann <nicolai.ehemann@enerko-informatik.de>
2020-05-30 10:40:21 -04:00
0f0384c07c go get -u github.com/aws/aws-sdk-go 2020-05-30 10:10:18 -04:00
380524e81a go get -u github.com/stretchr/testify 2020-05-30 10:08:38 -04:00
1fdf401f30 go get -u golang.org/x/net 2020-05-30 10:05:40 -04:00
ffd4e46dda New DNS provider PowerDNS (#748)
* Added PowerDNS as dns provider

* Remove unnecessary comments

* Some tests

* Implemented feedback
2020-05-30 09:54:07 -04:00
5269540827 Add _domainconnect to the underscore whitelist (#751) 2020-05-29 21:41:40 -04:00
6263e856c9 get-certs now generates a .pem file in addition to .key and .crt (#750) 2020-05-29 16:56:46 -04:00
d3a90f0a2d Added slack notifications (#749)
* Added slack notification

* Added slack notification to doc.

* Send notifications as single message & updated doc. example

* Remove not needed variable
2020-05-29 09:26:48 -04:00
e230c7aab1 Release v3.1.1 2020-05-23 10:25:22 -04:00
e77dc53caf GCLOUD: go get -u google.golang.org/api 2020-05-23 10:18:43 -04:00
4ef4b9282a GCLOUD: go get -u google.golang.org/api 2020-05-23 10:18:28 -04:00
8d37020e30 DIGITALOCEAN: go get -u github.com/digitalocean/godo 2020-05-23 10:15:05 -04:00
4c40130951 ROUTE53: go get -u github.com/aws/aws-sdk-go 2020-05-23 10:12:48 -04:00
eeebe58830 CLOUDFLAREAPI: disable failing integration tests for unicode 2020-05-23 10:10:40 -04:00
3346b3cee4 AZURE_DNS: go get -u github.com/aws/aws-sdk-go 2020-05-23 10:09:56 -04:00
17e7d4af57 Release v3.1.0 2020-05-23 09:46:53 -04:00
87607da685 'get-certs' permissions too open (#745)
Fixes https://github.com/StackExchange/dnscontrol/issues/728
2020-05-22 10:26:22 -04:00
524f346943 Document IP() is IPv4 only (#744)
Fixes https://github.com/StackExchange/dnscontrol/issues/737
2020-05-22 10:22:24 -04:00
6348b1d995 get-zones should comment out NAMESERVER() (#743)
* get-zones should comment out NAMESERVER()

* Edits
2020-05-22 10:20:10 -04:00
d52c98782c Adjust docs 2020-05-22 09:06:32 -04:00
b2b0ed4154 Update DNSimple Provider to api client 0.62 (#739)
* Update DNSimple-go to 0.61

This adds support for contexts, exports all return values, Adds ZoneRecordAttributes to fix support for blank record names.

* Add UserAgent to client

* Update Integration test for DNSimple

We now support Empty TXT, however we do not support Null MX yet.

* Bump to dnsimple-go 0.62 & use dnsimple.String()
2020-05-13 16:37:49 -04:00