Commit graph

17 commits

Author SHA1 Message Date
Tom Limoncelli
87ad01d194
Add "get-zone" command (#613)
* Add GetZoneRecords to DNSProvider interface
* dnscontrol now uses ufave/cli/v2
* NEW: get-zones.md
* HasRecordTypeName should be a method on models.Records not models.DomainConfig
* Implement BIND's GetZoneRecords
* new WriteZoneFile implemented
* go mod vendor
* Update docs to use get-zone instead of convertzone
* Add CanGetZone capability and update all providers.
* Get all zones for a provider at once (#626)
* implement GetZoneRecords for cloudflare
* munge cloudflare ttls
* Implement GetZoneRecords for cloudflare (#625)

Co-authored-by: Craig Peterson <192540+captncraig@users.noreply.github.com>
2020-02-18 08:59:18 -05:00
Benoît Knecht
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
Tom Limoncelli
5044695ffe DOCS: Fix many spelling errors (#471) 2019-05-11 21:32:52 -04:00
Tom Limoncelli
54de1ff698
NEW PROVIDER: OctoDNS (#309)
* govendor gopkg.in/yaml.v2
* Ignore YAML and BIND test data litter.  Create README.txt files to force git to create subdirectories.
* Update convertzone to also read OctoDNS files
2018-02-27 17:36:47 -05:00
Tom Limoncelli
b7c251190f
Vet and Lint the entire system (#296)
* govet and golint corrections
2018-01-09 12:53:16 -05:00
Tom Limoncelli
95fb79dfcc Document creds.json can include env variables 2017-12-05 06:18:21 -05:00
Matt Tunny
cad1aa8d16 spelling mistake (#255)
fix spelling mistake
2017-10-31 08:52:04 -04:00
Patrick G
a202b8ae53 Website fixes (Part 1) (#223)
* Fixed base template

- Made responsive for small screens
- Added DOCTYPE
- Added meta charset

* Added page titles

* Beautified CSS
2017-10-11 08:33:17 -04:00
Tom Limoncelli
d7845e046c docs/ Remove whitespace at EOL 2017-08-29 13:49:39 -04:00
Tom Limoncelli
955ff41230 Update convertzone docs 2017-05-25 20:42:30 -04:00
Tiernan OToole
0d02c9adf4 updating getting started doc for multiple providers (#104)
* updating getting started doc for multiple providers
2017-05-02 16:22:51 -04:00
Tom Limoncelli
05da8b9e83 Improve the getting started docs (#106)
* A more detailed getting started guide.
2017-05-02 09:08:28 -04:00
Phil Pennock
55e7710b06 Fix broken doc-link from getting-started (#90)
This appears to be the only one.  Manual audit with (zsh):

    pcregrep -o1 '}}/([^\)]+)\)' **/*(.)

yielded all the site-based URLs and I eye-compared them to the names of
existing docs.
2017-04-18 13:14:27 -04:00
Tom Limoncelli
406ded5baf getting-started.md: Add advice about migrating old zones. (#79)
* migrating.md: Detailed description of the process
2017-04-13 12:46:47 -04:00
Craig Peterson
2e997d6a51 spelling 2017-03-22 10:39:36 -06:00
Craig Peterson
854c84e652 Update bind docs and Getting Started (#53)
* intitial work for bind refactor

* relax requirement that creds.json exists.

* Updating bind docs.
Fixes #48

* typo

* can exclude provider from default set in creds.json

* Add bind to integration tests. Fix for IDNs.
2017-03-22 10:38:08 -06:00
Craig Peterson
7ba051d750 adding docs again 2017-01-11 13:02:45 -07:00