Commit graph

239 commits

Author SHA1 Message Date
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
Craig Peterson d19e1fb338 1 space 2017-08-01 09:18:47 -04:00
Craig Peterson 40e21e7763 Update README.md 2017-08-01 09:17:11 -04:00
Craig Peterson 24ff9eb423 Fix build 2017-08-01 09:13:31 -04:00
Craig Peterson baf045d0ab RecordConfig string shouldn't panic. 2017-08-01 08:52:58 -04:00
Tom Limoncelli e5d16a763f fixup! 2017-07-27 21:25:00 -07:00
Tom Limoncelli 2c340a42c6 Add a link to the Google Group 2017-07-27 21:21:36 -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 1a84edbe9c RecordConfig.String() doesn't handle MX or TXT records properly. 2017-07-21 16:52:54 -04:00
Tom Limoncelli caa71c4031 Mark RecordConfig when Target contains multiple embedded fields. 2017-07-20 18:59:09 -04:00
Craig Peterson 28d0b0c5a0 vendor minify package 2017-07-20 17:42:11 -04:00
Craig Peterson 710d14b1a9 tests that would have caught tag renaming bug. js tests now don't marahsl expected through the go object. Instead minify both sides to compare 2017-07-20 17:41:15 -04:00
Craig Peterson d106c88488 fix js field name 2017-07-20 17:20:47 -04:00
Pat Moroney 8d390aad24 add the new ANAME record type to the records list (#158) 2017-07-20 16:39:40 -04:00
Pat Moroney dee2456fdf AAAA records were not listed in ToRR() (#159) 2017-07-20 16:08:28 -04:00
Tom Limoncelli e6ce3b8895 Cleanup SRV testing
* Integration tests: PTR tests should only happen if CanUsePTR
* Integration tests: SRE tests should only happen if CanUseSRV
* CanUseSRV should be validated early (in pkg/normalize/validate.go)
* CLOUDFLARE does not support SRV. Check for this during validation
* GCLOUD CanUsesRV (mostly by accident, but whatever works)
2017-07-20 15:55:26 -04:00
Tom Limoncelli 4bdaf37c78 NAMEDOTCOM CanUseAlias 2017-07-20 10:10:43 -04:00
Tom Limoncelli 9aac24e14c Add support for SRV records for BIND 2017-07-19 16:02:11 -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 032750743c DNSIMPLE: Supports PTR records 2017-07-19 14:41:18 -04:00
Pat Moroney 5b71da6a48 add ALIAS support for Name.com provider (#156) 2017-07-19 13:23:17 -04:00
Tom Limoncelli d401d5ec05 Merge branch 'upgrade_dns' 2017-07-17 08:59:27 -04:00
Norm MacLennan d1fba2c236 Route53 provider: pass the right correction message based on action (#151) 2017-07-14 16:03:04 -04:00
Tom Limoncelli 8b3bc9e5e6 Upgrade github.com/miekg (#154) 2017-07-13 18:38:04 -04:00
Tom Limoncelli 00dfe2e6da Upgrade github.com/miekg 2017-07-13 18:36:33 -04:00
Tom Limoncelli d346d561a0 NAMEDOTCOM needs parameterization to permit integration testing. 2017-07-13 15:21:16 -04:00
Tom Limoncelli 4fc8bd86fd providers.json: Add NAMEDOTCOM 2017-07-13 10:39:55 -04:00
Tom Limoncelli b7af5e70fe providers.json: Pass file thought fmtjson 2017-07-13 10:38:51 -04:00
Tom Limoncelli 598017a843 providers.json: Turn // into "comments". 2017-07-13 10:36:57 -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
Craig Peterson 152892f62a generalize capability validation 2017-07-06 10:24:21 -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
No GUI bce99a1c25 Support passing the JSON as a parameter (#147)
* Support passing the JSON as a parameter

This allows dnscontrol to be able to be used with other tools that
support outputting to it's intermediate JSON format.

Closes #73

* Pass dnsConfig pointer to Unmarshal
2017-07-06 08:45:05 -04:00
Tom Limoncelli 06461d3bca Add note that GoDaddy support is requested. 2017-06-19 08:39:47 -07:00
Tom Limoncelli 0b34c42ff4 Rename RR() to ToRR(). 2017-06-17 11:00:12 -04:00
Tom Limoncelli 5c282d819b Add request for OVH support 2017-06-15 15:16:15 -04:00
Tom Limoncelli 2b93e6725f Gandi does not support TTLs > 30 days (#139)
* Fix https://github.com/StackExchange/dnscontrol/issues/108

TODO(tlim): Add tests.

* fixup!
2017-06-12 11:38:26 -04:00
Craig Peterson f23e67daf7 Create README.md 2017-06-12 11:35:34 -04:00
Tom Limoncelli 9228c039fe fixup! 2017-06-11 09:31:26 -04:00
Tom Limoncelli 46707722f6 Fix: Validate CNAME targets (check for "/") #37 2017-06-11 09:30:12 -04:00
Tom Limoncelli adf2f5e165 List requested-but-unimplemented providers 2017-06-11 09:00:36 -04:00
Tom Limoncelli 79a9de256e Clarify error message. 2017-06-09 11:57:30 -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