Commit graph

32 commits

Author SHA1 Message Date
Jeffrey Cafferata f912b15adc
DOCS: Migrated documentation website to Gitbook (#1809) 2023-01-20 07:56:20 -05:00
Jed Fox 1e337abcdf
Provide TypeScript typings for dnsconfig.js (#1830)
Co-authored-by: Jeffrey Cafferata <jeffrey@jcid.nl>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-01-12 16:59:42 -05:00
Jeffrey Cafferata cd80a7f157
DOCS: Aligned/improved installation section package manager (#1788) 2022-11-01 15:13:53 -04:00
Jeffrey Cafferata 3f760cdd25
DOCS: Documentation improvements (#1786)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2022-10-31 18:09:43 -04:00
Jeffrey Cafferata ae1eb970f5
DOCS: Inline creds.json.tpl-example.txt example (#1784) 2022-10-31 15:59:29 -04:00
Tom Limoncelli 1aca045d5b
DOCS: Fix many small typos (#1794)
Co-authored-by: Jeffrey Cafferata <jeffrey@jcid.nl>
2022-10-30 13:56:45 -04:00
Tom Limoncelli ffdb4b6271
DOCS: Add page for how to maintain docs (#1780) 2022-10-28 15:14:28 -04:00
Steffen Zieger 46b742d09f
DOCS: fix docker usage in "Getting Started" (#1767) 2022-10-06 08:20:17 -04:00
Tom Limoncelli 8bb63be8f5
Add --verbose flag, default to less verbose output (#1721) 2022-08-20 20:59:02 -04:00
Tom Limoncelli 9e6d642e35
NEW FEATURE: Moving provider TYPE from dnsconfig.js to creds.json (#1500)
Fixes https://github.com/StackExchange/dnscontrol/issues/1457

* New-style creds.json implememented backwards compatible

* Update tests

* Update docs

* Assume new-style TYPE
2022-05-08 14:23:45 -04:00
Julius Rickert 20dad35167
Replace Jekyll highlight tags with fenced code blocks (#1412)
* Replace Jekyll highlight tags with fenced code blocks

Replace Jekyll highlight tags with fenced code blocks.
Canonicalize javascript to js.
Correct highlighting languages.
Add highlighting to code blocks.
Remove leading $ from bash blocks.
Remove empty lines at start and end of code blocks.
Stripped trailing whitespace.

* Fix language of code highlighting
2022-02-17 12:22:31 -05: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
Tino Teuber 8c98492914
DOCS: Fix typo: will will -> will (#1152) 2021-05-10 07:53:21 -04:00
Tom Limoncelli f30610065c
DOCS: Update install instructions (#951) 2020-11-18 16:15:18 -05:00
Tom Limoncelli 1b5935d1af
Release 3.0.0 Candidate (#699)
Final changes before V3.0.0 release

* Remove old Gandi.  Fixes #575
* Many cleanups
* go mod tidy && go mod vendor

* integration_test.go: Output subtest name

* Cleanups

* integration_test.go: Description should include sub-test name
* Add a whitespace test to js/parse_tests/017-txt.js

* Cloudflare strips whitespace from end of TXT

* Fixes https://github.com/StackExchange/dnscontrol/issues/700

* Whitespace at end of TXT records

Name.com strips the whitespace from the end of a TXT record. There's
nothing we can do other than file a bug.

* Fixes https://github.com/StackExchange/dnscontrol/issues/701
2020-03-22 13:38:37 -04:00
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