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

608 Commits

Author SHA1 Message Date
4e6d05b716 CLOUDFLARE: Support API tokens (#555)
Cloudflare API tokens are a new way to authenticate to Cloudflare API.
Unlike the Global API key, tokens can be given specific permissions to
only access parts of the API. See [1] for details.

[1] https://blog.cloudflare.com/api-tokens-general-availability/

This commit introduces a new credential for cloudflare called
`apitoken`, which is mutually exclusive with `apiuser` and `apikey`.

In order for DNSControl to work with this token, it should have the
right to read DNS zones and edit DNS records.

Closes #534
2019-10-23 11:48:00 -04:00
96583a9188 make test more chaotic (still passes) 2019-10-09 09:54:40 -04:00
2f41bf007f pull out records with identical content first. Saves from ordering issues. 2019-10-09 09:54:40 -04:00
33ecf81431 failing test for #552 2019-10-09 09:54:40 -04:00
443401d2a7 Upgrade go version to 1.13 (#550)
Sustained Engineering
2019-10-05 10:45:57 -04:00
813a186865 Add Azure DNS (#547)
* Add Azure DNS

* Remove unused code

* Fix failing tests and update build
2019-09-18 21:45:13 -04:00
79c548b168 GANDI-LIVEDNS: Support for multi TXT records verified (#545)
It seems it does support them.
2019-08-26 14:07:02 -04:00
b968de3ef7 GANDI-LIVE: Print actual changes to be pushed (#546)
* gandi/livedns: Print actual changes to be pushed

Currently, preview & push output prints all domain records values:

    $ dnscontrol preview
    ----- DNS Provider: gandi...1 correction
    #1: Setting dns records for example.com:
    mail.example.com.
    1.2.3.4
    "ga"
    "bu"
    "zo"

With this change, it would only show what changes from current state:

    $ dnscontrol preview
    ----- DNS Provider: gandi...1 correction
    #1: Setting dns records for example.com:
    CREATE TXT ga.example.com "ga" ttl=10800
    MODIFY TXT bu.example.com "bu" ttl=10800
    DELETE TXT meu.example.com "meu" ttl=10800

* Add import
2019-08-26 13:38:07 -04:00
2ee086d41c switch to new go-acme imports from xenolf. Fix api changes (#540)
* switch to new go-acme imports from xenolf. Fix api changes

* update many vault related dependencies
2019-07-29 10:54:32 -04:00
cafd4d387a vultr: Added support for SSHFP records (#531) 2019-07-15 12:28:37 -04:00
0f0cee75b4 vendor: Removed unused dependencies (#530) 2019-07-15 11:59:58 -04:00
0c4f4bf754 Add gandi and others to integration tests (#518)
* add gandi to integration tests

* add gandilive too

* reference correct secrets

* add ns1 too

* add DNSIMPLE

* disable failing ones for now
2019-07-15 11:50:34 -04:00
44a7ba5711 Switch to official Vultr API library (#529)
* vultr: Switched to official API library (closes #528)

* vultr: Renamed vultr.VultrApi to vultr.Provider

* vendor: Updated govultr
2019-07-15 10:31:55 -04:00
a138b12ec2 add vultr to integration suite (#532) 2019-07-15 09:56:06 -04:00
1940ff4ac1 govendor: Update 6 GCLOUD dependencies (#525)
* govendor: Update github.com/golang/protobuf

* govendor: Update github.com/gobwas/glob github.com/google/go-github

* govendor: Update 3 github.com/robertkrimen/otto

* govendor: Update 4 golang.org/x

golang.org/x/crypto
golang.org/x/net
golang.org/x/sys
golang.org/x/text
golang.org/x/time
golang.org/x/crypto

* govendor: Update 5 github.com/aws/aws-sdk-go

* govendor: Update 6 GCLOUD dependencies
2019-07-08 10:09:06 -04:00
746fe9b3bb govendor: Update 5 github.com/aws/aws-sdk-go (#524)
* govendor: Update github.com/golang/protobuf

* govendor: Update github.com/gobwas/glob github.com/google/go-github

* govendor: Update 3 github.com/robertkrimen/otto

* govendor: Update 4 golang.org/x

golang.org/x/crypto
golang.org/x/net
golang.org/x/sys
golang.org/x/text
golang.org/x/time
golang.org/x/crypto

* govendor: Update 5 github.com/aws/aws-sdk-go
2019-07-08 09:51:46 -04:00
97934bd87c govendor: Update 3 github.com/robertkrimen/otto (#522)
* govendor: Update github.com/golang/protobuf

* govendor: Update github.com/gobwas/glob github.com/google/go-github

* govendor: Update 3 github.com/robertkrimen/otto
2019-07-08 09:51:34 -04:00
bfdb05e110 govendor: Update 2 github.com/gobwas/glob github.com/google/go-github (#521)
* govendor: Update github.com/golang/protobuf

* govendor: Update github.com/gobwas/glob github.com/google/go-github
2019-07-08 09:51:18 -04:00
fe341ef9ee govendor: Update github.com/golang/protobuf (#520) 2019-07-08 09:51:05 -04:00
5ee3b206f5 govendor: Update 4 golang.org/x (#523)
* govendor: Update github.com/golang/protobuf

* govendor: Update github.com/gobwas/glob github.com/google/go-github

* govendor: Update 3 github.com/robertkrimen/otto

* govendor: Update 4 golang.org/x

golang.org/x/crypto
golang.org/x/net
golang.org/x/sys
golang.org/x/text
golang.org/x/time
golang.org/x/crypto
2019-07-08 09:50:47 -04:00
08deda6746 Integration tests running in azure pipelines (#516) 2019-07-02 12:32:54 -04:00
ffc0a10c64 Update github.com/DisposaBoy/JsonConfigReader (#514) 2019-06-30 09:05:38 -04:00
d5ff6d6e5c DIGITAL OCEAN: Update github.com/digitalocean/godo (#513) 2019-06-30 08:58:25 -04:00
9ff8f6926f Update github.com/TomOnTime/utfutil (#512) 2019-06-28 11:38:35 -04:00
e63949e8fa Revert "Remove unused go modules. (#511)"
This reverts commit 8c7e7be403eedf36aa9130a888d01182a28cf0aa.
2019-06-28 11:27:58 -04:00
8c7e7be403 Remove unused go modules. (#511)
Remove the following:

```
$ govendor list +unused
 vu github.com/xlucas/go-ovh/ovh         
 vu golang.org/x/text/secure/bidirule    
 vu golang.org/x/text/unicode/bidi       
 vu golang.org/x/text/unicode/norm       
```
2019-06-28 10:38:04 -04:00
e49c642d6c Switch Build status badge to Azure Pipelines 2019-06-27 01:41:58 -04:00
f224970ceb Set up CI with Azure Pipelines. (#510) 2019-06-27 01:40:18 -04:00
5b5ae861ae fix format again 2019-06-27 01:29:13 -04:00
7e3c5b528e fix unit tests 2019-06-27 01:26:48 -04:00
364aac5073 fix format 2019-06-27 01:21:23 -04:00
394b9ccf41 respect max batch size for r53 (#509) 2019-06-26 23:45:34 -04:00
be10c5f7c2 Bugfix: redirect: should be redirect= (#507) 2019-06-21 07:48:59 -04:00
98232b0933 BUG: R53_ALIAS false positive during duplicate checking (#505) 2019-06-20 08:34:36 -04:00
2d9d93653b SPF Optimizer: Add "redirect:" support (#506)
FYI: The support is very minimal. It only supports redirect if it is the last item in an SPF record. At that point, it is equivalent to include.

* In SFP, treat redirect like a special include.
* Document SPF redirect: limited implementation.
2019-06-19 18:46:56 +01:00
4a7a5515a0 add a comment explaining cloudflare tll oddness 2019-06-17 15:12:23 -04:00
f61efd45f2 restore prior cloudflare auto-ttl behavior when ttl is 300 2019-06-17 15:09:27 -04:00
539820f87a CF: Add ability to manage UniversalSSL (#496)
* Added Cloudflare UniveralSSL control
* Added CF_UNIVERSALSSL_ON/OFF macros
* Updated docs
* Small docs update
* go generate
2019-06-13 07:32:54 -04:00
8b86eec6bf go generate 2019-05-30 19:52:35 -04:00
be5b588035 add must_staple option to cert. Default false (#502) 2019-05-29 14:03:36 -04:00
766773afa5 Remove unneeded "0." prefix on version. 2019-05-27 15:56:57 -04:00
94aeff8489 Release v2.9 2019-05-27 15:56:57 -04:00
a5dcad06a3 Fix integration tests (NAMEDOTCOM, CLOUDFLARE) (#498)
NAMEDOTCOM: TXTMulti is broken. Disable.
CLOUDFLARE: Fix SSHFP tests.
2019-05-27 15:10:00 -04:00
5538de6682 IGNORE() now supports glob pattern/wildcards (#463) 2019-05-27 10:14:29 -04:00
b3e35b56a2 DOC: Apply brand-preferred case (#429)
* Apply brand-preferred case

* Apply case to own branding as well
2019-05-23 09:29:21 -04:00
608dd7af56 NEW: require() now supports loading JSON too (#474) 2019-05-23 09:26:40 -04:00
7ed3adb2f1 OVH: Fixed registrar ns correction (#486) 2019-05-23 09:25:26 -04:00
f9df8c744a NEW: Added support for specific TTL when using SPF_BUILDER (#476)
* Added support for specific TTL for SPF_BUILDER

* Added updated static.go file

* Use IF instead of reading defaultTTL
2019-05-23 09:25:06 -04:00
c65ba1c84c General docs improvements (#481)
* docs improvements

* Updated matrix as part of "go generate" (e.g. adds SSHFP row)

* Commiting full matrix file

* Added docs for SSHFP record

* Matrix: Mark OVH as SSHFP-capable in docs (see PR #482)
2019-05-20 22:33:50 -04:00
d84a91c848 CLOUDFLARE: Added TLSA and SSHFP support (#484) 2019-05-20 22:32:39 -04:00