Commit graph

448 commits

Author SHA1 Message Date
Iuri de Silvio 35f74d9582 Fix spf-optimizer TOC link (#434) 2018-12-29 10:28:41 -05:00
Tom Limoncelli cec58cea20 Documentation: Clarify releng docs. 2018-12-19 15:09:16 -05:00
Etienne Samson c5fce0f327 Documentation: Fix OVH API First Steps link (#416) 2018-12-19 15:06:41 -05:00
Bart S 5594904f3d CLOUDFLARE: Added options to set the target account for new domains (#430) 2018-12-19 09:48:27 -05:00
Tom Limoncelli 365b1985b9 NAMEDOTCOM: Improve error docs 2018-12-18 17:45:31 -05:00
Tom Limoncelli 6d93f80abb NAMEDOTCOM: Documented some error messages. 2018-12-18 15:26:26 -05:00
Tom Limoncelli 74fa9ed0c0 GANDI-LIVE: Document "no such zone" error. 2018-12-16 09:05:16 -05:00
Brice Figureau 292ea28208 Populate ovh zones cache as early as possible (#412) (#417)
* Maint: run generate for missing documentation

Apparently current master is missing some generated documentation.

* Populate ovh zones cache as early as possible (#412)

We are caching the OVH zones in GetNameservers.
It turns out it isn’t a good idea, because GetNameServers will not be called
if the user selects no name servers for a given domain by using for example:

```
D(‘my domain’, DnsProvider(ovh, 0)) {
}
```

The subsequent GetDomainCorrections would automatically fail
with an unknown domain error, because the zones cache hasn’t been
filled in.

To solve the issue, the ovh provider now populates the zones cache during
initialisation.
2018-10-16 15:42:54 -04:00
ashleyhull-versent 734170013c ROUTE53: Documentation for AWS Token PR (#403)
* Update route53Provider.go

* includes optional Token

* Appended Token and additional information for
2018-09-05 09:07:28 -04:00
Ed Bardsley 61281d7046 Add NAMESERVER_TTL and associated documentation. (#398) 2018-09-04 10:57:11 -04:00
Kai Schwarz 50c126c2d4 upd: Maintainers of contributed providers (#400) 2018-08-30 11:45:52 -04:00
Kai Schwarz 3e5d223675 new provider module HEXONET (#373) 2018-08-30 08:54:42 -04:00
Vincent Bernat d9db572e3c doc: update documentation for Gandi to mention the LiveDNS provider (#385)
The `GANDI` provider also seems to be unable to see new domains (the
ones bought through the new interface), but I didn't mention that as
it may be a bug that could be solves at some point.
2018-08-03 08:53:30 -04:00
Craig Peterson 6c60eac7c7
Work around extra whitespace in spf records (#361)
* handle empty spf parts from bad records

* update spf tool
2018-05-03 10:03:38 -04:00
Craig Peterson 7c1f45b002 casing 2018-04-27 10:48:38 -04:00
Craig Peterson 9eab281513 more typos 2018-04-26 15:36:39 -04:00
Jamie Simmonds 5618442830 "Let's Enrypt" to "Let's Encrypt" (#359) 2018-04-26 15:28:58 -04:00
Craig Peterson 2e8c4a758f
Let's Encrypt Certificate Generation (#327)
* Manual rebase of get-certs branch

* fix endpoints, add verbose flag

* more stable pre-check behaviour

* start of docs

* docs for get-certs

* don't require cert for dnscontrol

* fix up directory paths

* small doc tweaks
2018-04-26 13:11:13 -04:00
Tom Limoncelli 139f4fe1ed Docs: Update NAMESERVER() to not mention IPs. 2018-03-22 11:31:53 -04:00
Tom Limoncelli 511d10efc9
Document SRV, CF*REDIRECT, and note where docs are needed. (#346) 2018-03-22 09:30:09 -04:00
Ben Firshman cd58d26545 Documentation: Add Gandi registrar to example (#335) 2018-03-17 08:43:57 -04:00
Tom Limoncelli 7486ee4ace docs/release-engineering.md: Add local tips 2018-03-16 13:07:42 -04:00
Philipp Hug dfd015e5cd NEW REGISTRAR: OpenSRS (#275)
* Initial commit for OpenSRS registrar support #272
* sort existing name servers before comparing.
* vendor philhug/opensrs-go
* Update docs for OpenSRS #272
* Cache OpenSRS client to prevent http connection leak
* run go fmt
2018-03-04 23:07:22 -05: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 1097c96fcc
New Provider: GANDI-LIVEDNS (API v5) (#320)
* Add gandi LiveDNS api provider
* vendor testify and gandi live DNS
* govendor update github.com/prasmussen/gandi-api/{client,live_dns}
* Fix Gandi-livedns TXT unit test
* TravisCI should use go 1.10
2018-02-24 13:40:18 -05:00
Tom Limoncelli 7bd7105c44 release-engineering.md: Parameterize $VERSION 2018-01-22 21:21:33 -05:00
Brice Figureau 7b8d608019 ROUTE53: Support Route53's ALIAS record type (#239) (#301)
* Stable comparison of metadata (#239)

Iterating over a map in Go never produces twice the same ordering.
Thus when comparing two metadata map with more than one key, the
`differ` is always finding differences.

To properly compare records metadata, we need to iterate the maps
in a deterministic way.

Signed-off-by: Brice Figureau <brice@daysofwonder.com>

* Support for Route53 ALIAS record type (#239)

Route53 ALIAS doesn't behave like a regular ALIAS, and is much more
limited as its target can only be some specific AWS resources or
another record in the same zone.

According to #239, this change adds a new directive R53_ALIAS which
implements this specific alias. This record type can only be used
with the Route53 provider.

This directive usage looks like this:
```js
D("example.com", REGISTRAR, DnsProvider("ROUTE53"),
R53_ALIAS("foo1", "A", "bar") // record in same zone
R53_ALIAS("foo2", "A",
  "blahblah.elasticloadbalancing.us-west-1.amazonaws.com",
   R53_ZONE('Z368ELLRRE2KJ0')) // ELB in us-west-1

```

Unfortunately, Route53 requires indicating the hosted zone id
where the target is defined (those are listed in AWS documentation,
see the R53_ALIAS documentation for links).
2018-01-16 05:53:12 -05:00
Brice Figureau 2fc55dfdc4 Add IGNORE(label) which ignores label at the provider (#183) (#300)
* Add support for the IGNORE(name) directive (#183)

IGNORE is like NO_PURGE but for a spefic record instead of the whole
zone. This is very useful for instance if you have a zone where
only some records are managed externally from dnscontrol (for instance
using kubernetes external dns system).

Adding IGNORE("foo") in the zone will make dnscontrol not trying
to manage the "foo" record (and especially not deleting it).
dnscontrol will error out if the "foo" record is both ignored and
managed in dnscontrol.

This can be seen as a generic Cloudflare's ignored label.

Signed-off-by: Brice Figureau <brice@daysofwonder.com>

* Deprecate CloudFlare ignoredLabels in favor of IGNORE (#183)

Since IGNORE implements a generic `ignoredLabels` system, let
the user know CF `ignoredLabels` are deprecated.

Signed-off-by: Brice Figureau <brice@daysofwonder.com>
2018-01-15 15:39:29 -05:00
Tom Limoncelli 79983f3493 docs/adding-new-rtypes.md: add missing step WRT the feature matrix 2018-01-14 12:30:39 -05:00
Craig Peterson 9dbd4a3066
Simple notification framework (#297)
* bonfire notifications working

* make interface to make more extensible

* some docs

* typo

* rename typo
2018-01-11 11:15:19 -05:00
Pat Moroney 91e2cf67ef NAMEDOTCOM: add TXTMulti capability (#299)
* add TXTMulti capability to the namedotcom provider
* run go generate
* escape multi txt records before sending to the API
2018-01-11 07:23:59 -05:00
Tom Limoncelli c4ec6c8246 Add TXTMulti to the feature matrix.
* Add TXTMulti to the feature matrix.
* Sort the features alphabetically.
2018-01-10 17:06:15 -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 de88bfe8b7
Add support for TXT records with multiple strings (BIND, ROUTE53) (#293)
* BIND: Support TXT records with multiple strings (#289)
* ROUTE53: Add support for TXT records with multiple strings (#292)
2018-01-04 19:19:35 -05:00
Tom Limoncelli d051f51a59
ROUTE53: Document error messages from various credential issues. (#291) 2017-12-23 08:03:05 -05:00
Tom Limoncelli a0f14e5981
GANDI: Add support for CAA rtype (#288)
* GANDI: Add support for CAA rtype
2017-12-22 07:10:29 -05:00
Tom Limoncelli c520471ab7 doc: Fix path to providers stuff. 2017-12-21 09:33:21 -05:00
Tom Limoncelli 8baf9ee1a4 docs: Add bookmark to comparison chart 2017-12-20 16:29:52 -05:00
Tom Limoncelli 0c607348df docs: Add bookmark to comparison chart 2017-12-20 16:27:11 -05:00
Tom Limoncelli 65c3702335 docs: Add bookmark to comparison chart 2017-12-20 16:06:56 -05:00
Tom Limoncelli 611a597ae0
CLOUDFLARE: Support CAA rtype (#285)
* Add CAA support to cloudflare
2017-12-20 10:25:23 -05:00
Tom Limoncelli 86257b3863 Docs: Correct numbering and add integration test advice. 2017-12-14 06:11:10 -05:00
Louis T. Getterman IV 11f29e1dd7 DIGITALOCEAN: Improve example in docs (#281)
Documentation fix to resolve, "Creating do dns provider: Digitalocean Token must be provided." error.
2017-12-11 10:02:13 -05:00
Tom Limoncelli 3f4cc3c025 unittests.md: Update for new-style flags. 2017-12-11 09:57:46 -05:00
Tom Limoncelli 21e4cb4fc3 go generate && add more RelEng docs. 2017-12-06 17:03:07 -05:00
Tom Limoncelli efd34e94a8 docs/release-engineering.md: Minor fixes. 2017-12-06 17:01:16 -05:00
Tom Limoncelli c6e244d8da
Productionize the SPF optimizer (#279)
* Productionize the SPF optimizer
* SPF_BUILDER(): New helper function
* docs/spf-optimizer.md: Document SPF_BUILDER()
2017-12-06 15:50:21 -05:00
Tom Limoncelli 95fb79dfcc Document creds.json can include env variables 2017-12-05 06:18:21 -05:00
Patrick G 203c4ffe85 Improved Namecheap documentation (#221) (#232)
* Improved Namecheap documentation
2017-11-29 23:51:52 -05:00
Daniel Schmitz f5bfcd0d6e NS1: Add SRV record support (#277)
* NS1 SRV record support
* Updated feature matrix
2017-11-29 07:57:35 -05:00
Philipp Hug 53b72f39a8 GANDI: Registrar support (#274)
* GANDI: add registrar support for changing nameservers. #87

* Update docs with Gandi registrar support #87

* Updated dependencies for Gandi Registrar Support #87
2017-11-27 13:04:24 -05:00
Craig Peterson ccf28349ce
Update aws libs and remove waiter (#276)
* update r53 library. Remove waiter code

* live update provider request section

* remove debug
2017-11-27 10:22:08 -05:00
Koen Vlaswinkel 9a44e785ac New provider: Linode (#268) 2017-11-14 23:08:06 -05:00
Tom Limoncelli 750ed4340e Provider Request: NameSilo 2017-11-13 09:59:02 -05:00
Brice Figureau e44dde52e2 New Provider: OVH DNS Provider (#143) (#175)
* OVH DNS Provider (#143)

This adds the OVH Provider along with its documentation.

Unfortunately we can't set this DNS provider to support `CanUsePTR`,
because OVH only supports setting PTR target on the Arpa zone.

* OVH Registrar provider (#143)

This implements OVH as a registrar provider.
Note that NS modifications are done in a "best effort" mode, as the
provider doesn't wait for the modifications to be fully applied
(the operation that can take a long time).

* Allow support for dual providers scenarios

Since OVH released their APIv6, it is now possible to update
zone apex NS records, opening the door to complete dual providers
scenarii.

This change implements apex NS management in an OVH zone.
2017-11-10 11:02:34 -08:00
Tom Limoncelli fea1d7afff Add OWNERS file and instructions. 2017-11-09 13:38:56 -05:00
Tom Limoncelli 2e61c83511 Docs: Note the request for a INWX provider. 2017-11-09 13:28:37 -05:00
Tom Limoncelli e7472f76f3 Downcase DNS names (#253)
* Downcase DNS names
* Document opinions
2017-11-07 14:12:17 -08:00
Tom Limoncelli b614501d56 Add introductory text to Writing Providers 2017-11-07 16:42:11 -05:00
Tom Limoncelli 8d77ca9cc8 release-engineering.md: New releases should be announced in chat (gitter.im) 2017-11-02 16:35:08 -07:00
Tom Limoncelli 79912725d8 Update release-engineering.md 2017-11-02 14:51:52 -07:00
Matt Tunny f7eb7cd1f6 Docs/Provider - missing double quote =D (#257)
* spelling mistake

fix spelling mistake

* missing double quote

missing double quote =D
2017-11-01 08:45:22 -04:00
Matt Tunny cad1aa8d16 spelling mistake (#255)
fix spelling mistake
2017-10-31 08:52:04 -04:00
Thordur Bjornsson 03168d4a7a docs: Fix type in gcloud docs (#248) 2017-10-25 09:21:44 -04:00
Patrick G fad98f73f4 Improve Route53 documentation (#221) (#234)
* Improve Route53 documentation

- Grammar fixes
- Formatting improvements
- Don't encourage using environment vars instead of the credentials file

* Add back sdk config link
2017-10-24 09:44:23 -04:00
Patrick G 98e01e75aa Website fixes (Part 2) (#221) (#236)
* Fix page title spelling

* Fixed some more mistakes

* Spacing fixes

* Fix title in TOC

* Improved TOC
2017-10-24 09:42:30 -04:00
Craig Peterson 60ed1a2e0b Namecheap: switch throttling to only as needed. (#244)
* refactor namecheap to throttle only as needed

* note about srv records

* no it can't

* fmt
2017-10-24 09:41:59 -04:00
rbelnap 1664b64a94 namecheap url doc mention (#245)
* add initial URL support to namecheap provider

* add URL / FRAME records to namecheap provider

* add menion of URL types to namecheap docs
2017-10-23 14:16:16 -04:00
Craig Peterson e548b8f059 DNSimple: Adding SRV, CAA, and ALIAS suppport (#243)
* dnsimple ALIAS

* caa working

* srv

* gen
2017-10-18 15:51:44 -04:00
Patrick G 23427516c0 Added Vultr provider (#217) (#219)
* Added Vultr provider
* Fixed tests
* Fixed CI build validation
* Add unsupported features
* Added #rtype_variations tags according to stackexchange.github.io/dnscontrol/adding-new-rtypes
* Add title (for compatibility with #223)
* Removed extra rtype_variations
2017-10-12 09:21:36 -04:00
Patrick G 002426ce4d Improved DigitalOcean documentation (#227)
- Grammar fixes
- Formatting improvements
- Changed a completly wrong statement about route53 (should be about DO)
2017-10-11 13:13:31 -04:00
Patrick G 60bc15705f Improve DNSimple documentation (#221) (#228)
- Grammar improvements
- Markdown formatting improvements
2017-10-11 13:13:12 -04:00
Patrick G 208eeaac6f Improved Name.com documentation (#231)
- Improved formatting
- Other fixes
2017-10-11 13:12:41 -04:00
Patrick G 8d0576ac7f Improve softlayer documentation (#235)
- Add note that using the creds.json file is the preferred method of authentication
- Improve formatting
2017-10-11 12:06:04 -04:00
Tom Limoncelli 7d3e3b6279 Add-back note about BIND local scripts 2017-10-11 12:02:40 -04:00
Patrick G efbf04e231 Improved BIND docs (#221) (#226)
* Improved BIND docs

- Fixed highlighting language
- Improved markdown formatting
- Improved grammar

* Fix according to review
2017-10-11 11:59:29 -04:00
Patrick G 211add3ec3 Improve NS1 documentation (#233)
- Minor fixes
2017-10-11 11:54:32 -04:00
Patrick G f753c5a700 Improve Google Cloud DNS docs (#230)
- Markdown formatting improvements
- Added note about newlines in private key
2017-10-11 10:10:23 -04:00
Patrick G 326e3a803c Improve Gandi documentation (#229)
- Markdown formatting improvements
- Other fixes
2017-10-11 10:10:01 -04:00
Tom Limoncelli 7f87deb4e5 fixup! 2017-10-11 09:59:45 -04:00
Patrick G e2ed50a136 Fixed Active Directory docs (#225)
- Grammar fixes
- Formatting fixes
2017-10-11 09:58:23 -04:00
Patrick G efe302a957 Fixed Cloudflare docs (#224)
- Grammar fixes
- Fixed wrong highlighting type
- Formatted markdown better
- Other various fixes
2017-10-11 09:55:57 -04:00
Tom Limoncelli 8dedfb1017 Minor doc fixes 2017-10-11 08:40:01 -04:00
Patrick G 31bdb65720 Improved consistency of provider documentation (#222)
- Fixed indentation
- Use same naming scheme for all examples
  (i.e. all caps for provider, REG prefix for registrar)
- Use REG_NONE as registrar when provider does not provide it
- Use example.tld for example domain
- Use 1.2.3.1/24 IP range for examples
- A few spelling fixes
2017-10-11 08:33:52 -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
Craig Peterson 2cfd67e4fa Namecheap take Provider (#202)
* re-copying namecheap dns provider and testing

* document limits. mx broken because super odd api

* manually path namecheap lib. passing tests.

* generate

* generate

* clarify limit

* conflict

* add dependency

* fully document namecheap capabilities
2017-10-03 11:53:56 -04:00
Tom Limoncelli 56b4578833 release-engineering.md: Small cleanups 2017-10-02 15:10:26 -04:00
Tom Limoncelli 86e955befe release-engineering.md: Add links 2017-10-02 13:53:01 -04:00
Tom Limoncelli a151b85cd0 Docs: Link to RE page on the front page 2017-10-02 13:49:05 -04:00
Craig Peterson 6df4396d93 promote home page 2017-10-02 13:35:13 -04:00
Craig Peterson 49038cf51c add include 2017-10-02 11:19:40 -04:00
Craig Peterson 324cde5a1d bigger homepage 2017-10-02 11:14:15 -04:00
Tom Limoncelli eeb3903d5b wip 2017-10-01 14:13:22 -04:00
Tom Limoncelli 38b4045797 wip 2017-09-29 16:04:55 -04:00
Tom Limoncelli d08d57d403 Revamp the website front page (#213)
* First iteration. Just the front page.
2017-09-29 15:44:13 -04:00
Craig Peterson 823e8bb1a3 Add SPF flattening feature. (#126) 2017-09-29 15:30:36 -04:00
Jamie Lennox 7daa7a6467 Add SoftLayer DNS provider (#59)
Add SoftLayer DNS as a DomainServiceProvider.

The SoftLayer API is a bit of a mess and treats MX and SRV records
differently. This leads to some replication and custom handling issues
to work around.

In this patch I have to change the SRV test case to be _tcp instead of
_protocol because softlayer requires a "known" protocol which AFAICT is
tcp, udp or tls. I think this will be acceptable in most cases.

Signed-off-by: Jamie Lennox <jamielennox@gmail.com>
2017-09-26 13:14:53 -04:00
Craig Peterson dd39e9a4be generate 2017-09-15 13:53:41 -04:00
Manatsawin Hanmongkolchai 4bffc37d15 Format helpers.js (#205)
* Format helpers.js with prettier

* Adding docs on how to run prettier
2017-09-15 13:12:09 -04:00
eliheady 4aac517d62 Add TLSA record support (#165) (#203) 2017-09-15 09:03:29 -04:00
Craig Peterson a342aa7e90 add ability to linkify provider matrix 2017-09-14 16:25:39 -04:00
Craig Peterson 3a90435357 Create a dynamic provider features matrix (#201)
* adding simple provider feature matrix generator

* filling out matrix

* clean output

* dead code

* explanatory text

* explanatory text

* typo

* move stuff around

* clean

* editing
2017-09-14 16:13:17 -04:00
Craig Peterson b0c465c3a9 Ns1 provider (#63)
* add ns1 libs to vendor

* Create shim and wire into tests

* ns1 provider more working.

* vendor correct files

* comment diff functions

* ns1 docs

* making mx work with ns1

* ?

* refactor tests to make capability blocks easier. fix up ns1
2017-09-13 11:49:15 -04:00
Craig Peterson 1d9d2b1a19 Refactor to use better cli command framework (#177)
* starting to refactor commands

* work

* not sure

* all commands working!

* actually add file

* work in delay flag again

* start to refactor out console printing

* i hate line endings

* simple travis test to find direct output

* remove all direct printing from push/preview

* checkin vendor

* don't need this yet

* forgot to commit these

* make version explicit command

* some code review

* Add "check" subcommand.

* move stuff to commands package

* fix

* comment out check for printlns. for now

* alphabet hax

* activedir flags gone. use creds instead

* active dir doc update

* remove bind specific flags. creds instead

* default to zones dir

* fix linux build

* fix test

* cleanup random global* vars

* Clean up PowerShell docs

* rename dump-ir to print-ir. combine with print-js
2017-09-13 10:00:41 -04:00
Koen Rouwhorst ab0fd55277 Added 'Route 53' to CAA document. (#196) 2017-09-09 09:26:11 -04:00
Craig Peterson 627334803e rebuilding should fix pages 2017-09-07 22:33:42 -04:00
Craig Peterson c3c52a7bbd wtf? 2017-09-07 22:32:47 -04:00
Craig Peterson 8c7d3997b0 remove site url from index to test 2017-09-07 22:31:01 -04:00
Craig Peterson 4a59a15216 poke to rebuild 2017-09-07 22:21:51 -04:00
Nick Lopez 0138c33a28 Documentation: Update terminology in gcloud.md (#197)
* Google now calls the required role "DNS Administrator" rather than "App Engine Admin" (#197)
2017-09-07 06:46:32 -07:00
Tom Limoncelli d7845e046c docs/ Remove whitespace at EOL 2017-08-29 13:49:39 -04:00
Tom Limoncelli 52be4cec5b fixup! 2017-08-24 12:04:33 -04:00
Tom Limoncelli 71a976e4df Document the release engineering process (#189)
* Document the release process.
2017-08-24 08:32:51 -07:00
Tom Limoncelli 5cf482e8e8 Clarify "must end with a (.)" error message. 2017-08-18 15:50:55 -04:00
Tom Limoncelli d15ef9f1a3 Fix highlighting 2017-08-15 13:54:00 -04:00
Tom Limoncelli ea3e2831a8 Document TXT, NS, NO_PURGE, PURGE, and IMPORT_TRANSFORM (#184)
* Document TXT, NS, NO_PURGE, PURGE, and IMPORT_TRANSFORM
2017-08-15 10:46:31 -07:00
Juho Teperi ad27cc9b3b Digitalocean provider (#171)
* Implement Digitalocean provider
* Vendor digitalocean lib
* Enable SRV for Digitalocean and fix the tests
* Test cname etc. records pointing to the same domain
2017-08-10 13:31:20 -07:00
Tom Limoncelli aa0850fbaf provider-list.md: List maintainers 2017-08-07 13:18:09 -04:00
Tom Limoncelli 85bd94ef7c Document that contributors that they'll be asked to maintain their code. 2017-08-07 11:50:54 -04:00
Tom Limoncelli 09122701c3 Clarify official/contributed providers responsibilities 2017-08-07 11:47:53 -04:00
Tom Limoncelli b89f9c66d1 convertzone should do a better job with NS records. Fixes https://github.com/StackExchange/dnscontrol/issues/162 2017-08-05 11:59:35 -04:00
Tom Limoncelli 988d8d6bf8 Document potential issue with R53 provider. See https://github.com/StackExchange/dnscontrol/pull/155 2017-08-05 11:01:08 -04:00
Tom Limoncelli 2cbabd859b Make it easier to add new Rtypes. (#169)
* NEW: docs/adding-new-rtypes.md
* Mark all "if" and "switch" statements with `#rtype_variations`
* Make consistent use of `default: panic()`
2017-08-04 12:26:29 -07:00
Tom Limoncelli f214fb4515 Update writing-providers.md (#172)
* Update writing-providers.md
2017-08-04 12:19:10 -07:00
Alejandro Lazaro b5e4ab1e23 Cloudflare documentation update (#167)
* Fix syntax errors in documentation
* Add example on how to enable manage_redirects
2017-08-02 10:51:13 -07:00
Tom Limoncelli 2f0f5330fc Add CAA support (#161)
* Added CAA support

* Fixed bind parsing of CAA records

* Added CAA parsing test

* Renamed CAA json fields

* Added CAA tag validation

* Updated CAA docs to clarify on the value field

* parse_tests: Fixed typo in caaflags

* Added integration test

* Small cleanups
2017-07-25 14:59:40 -04:00
Tom Limoncelli d55b20ecdb Add SRV Record Type (#136)
* Add support for SRV records for NAMEDOTCOM and ROUTE53.
* Improve docs
* Rename RR() to ToRR().
* Rename RecordConfig Priority to MxPreference (affects json IR data)
2017-07-19 15:53:40 -04:00
Tom Limoncelli d346d561a0 NAMEDOTCOM needs parameterization to permit integration testing. 2017-07-13 15:21:16 -04:00
Tom Limoncelli e563c53658 PTR should handle "Classless in-addr.arpa delegation" RFC2317 (#149)
* Handle IPv4 "Classless in-addr.arpa delegation" RFC2317 (partial).
* Validate PTR name when in RFC2317 "Classless in-addr.arpa delegation" domains.
* Update docs
* Set CanUsePTR for Route53 and Google CloudDNS.
* BIND: Replace "/" with "_" in filenames.
2017-07-10 19:24:55 -04:00
Tom Limoncelli 9e66402e0b DefaultTTL.md: Improve example 2017-07-09 08:04:28 -04:00
Tom Limoncelli 582e5c2bb1 Make PTR more magical (#148)
* Initial code and tests
2017-07-07 13:59:29 -04:00
Tom Limoncelli aa92817116 Enable PTR records for BIND driver (#146)
* WIP

* Enable PTR records in dnsconfig.js, in BIND provider.

* Rename REVERSE() to REV().

* More accurate PTR target checking

* Document REV()

* Fix broken test
2017-07-06 10:18:15 -04:00
Tom Limoncelli 06461d3bca Add note that GoDaddy support is requested. 2017-06-19 08:39:47 -07:00
Tom Limoncelli 5c282d819b Add request for OVH support 2017-06-15 15:16:15 -04:00
Tom Limoncelli adf2f5e165 List requested-but-unimplemented providers 2017-06-11 09:00:36 -04:00
Tom Limoncelli f929eadbf9 Change double to single quotes in examples. 2017-06-08 14:14:46 -04:00
Tom Limoncelli 023dca79e9 fixup! 2017-06-08 13:56:44 -04:00
Tom Limoncelli da5dd05568 fixup! 2017-06-08 13:54:58 -04:00
Tom Limoncelli 2de98be2b5 Document the new TTL/DefaultTTL duration format. 2017-06-08 13:44:37 -04:00
Tom Limoncelli 839d50d433 _providers/activedir.md: First draft of AD docs. 2017-06-08 10:47:08 -04:00
Tom Limoncelli 5ce8802a54 Fix bug #70: Document a checklist for new providers 2017-06-01 18:23:04 -04:00
Tom Limoncelli c3889fa6c5 Merge branch 'master' into tlim_cfaliases 2017-06-01 18:06:05 -04:00
Richard Hurt 1d0a57fdc8 Update docs to properly use ROUTE53 in examples (#127) 2017-05-31 13:12:40 -04:00
Tom Limoncelli a2110c5021 Add unittest docs 2017-05-27 16:13:55 -04:00
Tom Limoncelli eb77b78c11 Add tips for provider authors. 2017-05-26 08:20:38 -04:00
Tom Limoncelli 955ff41230 Update convertzone docs 2017-05-25 20:42:30 -04:00
Tom Limoncelli cf2208ebfc Merge branch 'master' into tlim_cfaliases 2017-05-25 20:38:48 -04:00
Craig Peterson f1a0d65198 Cloudflare Redirects (#119)
* function sig

* sig

* some custom record infrastructure

* CLOUDFLARE REDIRECTS!

* comments out

* guarding redirects behind provider metadata to manage

* catch commas in js to ensure proper encoding.

* gen

* small fix

* revendor otto

* docs
2017-05-19 14:15:57 -04:00
Tom Limoncelli b620121dce Update alias examples in cloudflare doc 2017-05-16 15:55:51 -04:00
Tom Limoncelli 56e08b9202 Add CF aliases 2017-05-11 01:02:57 -04:00
Tom Limoncelli 4e2669a4e3 gandi.md: Correct typos 2017-05-10 09:19:11 -04:00
Koen Rouwhorst 6a58397a6b Typo: 'consturct' --> 'construct' (#117) 2017-05-08 05:36:29 -06:00
Tiernan OToole 5cad1c3513 Cloudflare createdomain (#113)
* fixing #112

* fixing build issue

* typo

* adding missing commits from master

* fixing gofmt validation errors

* fixing github pull request sugestions

* fixing build issue

* adding debug info

* adding more debug

* tweaking code based on pull request comments

* fixing error
2017-05-05 15:20:43 -06:00
Mathieu Herbert d98c57c85f modify route53 documentation with the aws credentials configuration (#115) 2017-05-05 08:48:02 -04:00
Tiernan OToole f0546a2700 updating cloudflare documentation (#103)
* updating cloudflare doc 

to show how to use proxy and alias

* adding note about new domains not being added to CF
2017-05-03 09:45:31 -06:00
Tom Limoncelli 6565462962 Document that providers don't (or do) add domains to your account automatically. 2017-05-03 09:32:47 -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
eliheady c13d83887c NS RR (apex) TTL example (#107)
* examples.md: more TTL examples
2017-04-28 14:17:44 -04:00
rbelnap 426c2ed38d add BaseURL option to namecheap creds to allow setting sandbox endpoint (#97) 2017-04-25 11:24:55 -04:00
Craig Peterson fb14cea91e Support ALIAS records with Cloudflare (#89)
* simple facility for registering provider capabilities

* support for cloudflare. tests.

* js and docs

* docs

* generate
2017-04-19 13:13:28 -06:00
Ben Firshman ffb2ee7673 Docs fixes (#85)
* Clarify what "apiuser" is in Cloudflare docs

Confusingly it is the email address associated with the account, not the username.

* Remove Gandi registrar from docs

Because it doesn't actually exist.
2017-04-19 10:41:12 -06: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
Craig Peterson 3c22807b91 Testing build ignores docs 2017-04-13 11:02:08 -06:00
Craig Peterson ee17957e96 testing doc update 2017-04-13 10:57:58 -06: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 fc0cac7d29 adding mx and cname 2017-04-11 23:02:57 -06:00
Derek Gottlieb eddb66caa5 Correct docs to reflect supported values for cloudflare_proxy[_default] (#71)
Also correct other minor typos
2017-04-10 19:26:11 -06:00
Derek Gottlieb 0afd171283 Added docs for Namecheap registrar provider (#67) 2017-04-01 09:44:49 -04:00
Derek Gottlieb 2a38a2b71a Added docs for Cloudflare DNS provider (#65) 2017-04-01 09:44:35 -04:00
Derek Gottlieb a8b9c7ab5c Fixed a typo in the Gandi provider docs (#66)
Thanks!
2017-04-01 09:43:47 -04:00
Craig Peterson d205c8b4ed Adding gandi to integration suite. Fixing bugs. (#57)
* Adding gandi to integration suite. Fixing bugs.
Fixes #35
Fixes #36

* small fixes

* gandi docs
2017-03-27 16:03:01 -06:00
Tom Limoncelli b0333f3244 Add a "commented SPF record" example. 2017-03-27 17:44:04 -04:00
Tom Limoncelli bf664a9f44 docs/examples.md: Add "commented SPF" example. 2017-03-27 17:41:28 -04:00
Tom Limoncelli 7aaf749011 docs/examples.md: Use a more complete GSuite macro. 2017-03-27 17:38:49 -04:00
Tom Limoncelli ea47b8ecc1 docs/examples.md: Change " to ' for docs 2017-03-27 17:33:27 -04:00
Tom Limoncelli 305f909449 examples.md: Fix typos. 2017-03-22 17:31:00 -04:00
Tom Limoncelli be192526ef New example: Typical DNS records. 2017-03-22 15:20:26 -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 33b4d2b748 Adding example page to docs 2017-03-20 21:47:18 -06:00
Anthony Eden 4fef4a8550 DNSimple provider (#43)
* Implement a basic DNSimple provider.

Handles domain delegation as well as record create, update, and delete.

Note that this is completely untested at the moment. It’s so alpha it might burn your face off.

* Add some inline comments. Always use the StackExchange libs.

* Clean up dnsimple docs a little

* This will need to be changed before merging.

* Import the dnsimple dnscontrol package from its expected path

* Properly build the FQDN and implement record listing so create/update/delete are used correctly.

* Add support for overriding base URL to allow connection to sandbox.

* Vendor dnsimple-go and its dependencies.

* Remove unnecessary doc file.

* Use dnsutil.AddOrigin for combining record name and origin.

* Modifying dnsimple provider to pass tests
2017-03-18 19:58:47 -06:00
Craig Peterson 101916a6e4 Integration Testing framework (#46)
* integration test started

* details

* More tests.

* idn tests and punycode (not tested fully because I'm on an aiplane)

* test for dual provider compatibility

* readme for tests

* vendor idna

* fix casing
2017-03-16 22:42:53 -07:00
Anthony Eden 0906f5c383 Note about vendoring dependencies. (#44) 2017-03-16 22:22:39 -07:00
Hefeweizen 36c7911926 minor editing (#39) 2017-03-14 14:42:08 -07:00
Craig Peterson b79717e8a4 Text / Github link 2017-03-14 00:46:11 -07:00
Craig Peterson 40e2e3aab9 markdown 2017-03-14 00:43:48 -07:00
Craig Peterson df40bc1ee1 shim for writing providers 2017-03-14 00:43:03 -07:00
Craig Peterson 8e48ab894d rename js link 2017-03-13 14:48:09 -07:00
Craig Peterson 47a4ba4d05 img 2017-03-12 16:31:48 -07:00
Craig Peterson 7ba496bf96 tweaks to gcloud 2017-03-12 16:02:46 -07:00
Tom Limoncelli 603da92a21 Add why-the-dot.md to index.md 2017-02-01 12:32:37 -05:00
Tom Limoncelli 4649ba6bcb Editing. 2017-02-01 12:30:54 -05:00
Tom Limoncelli 7ce2152a0a NEW: why-the-dot.md 2017-02-01 12:22:11 -05:00
Craig Peterson db926f9f20 Set theme jekyll-theme-merlot 2017-01-11 13:27:46 -07:00
Craig Peterson 7ba051d750 adding docs again 2017-01-11 13:02:45 -07:00
Craig Peterson 8e5257c497 remove docs 2017-01-11 13:01:38 -07:00
Craig Peterson ed103516df adding docs to main repo 2017-01-11 12:59:02 -07:00