Commit graph

230 commits

Author SHA1 Message Date
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
Tom Limoncelli
839d50d433 _providers/activedir.md: First draft of AD docs. 2017-06-08 10:47:08 -04:00
Craig Peterson
89a2784f35 gen 2017-06-08 09:19:47 -04:00
Craig Peterson
32a056e2b7 magic string durations 2017-06-08 09:15:14 -04:00
Manatsawin Hanmongkolchai
c458594788 Added _amazonses to list of allowed name with underscore (#133)
Thanks for the PR!
2017-06-07 08:54:39 -04:00
Craig Peterson
dcf2285dd2 Canonicalize IPv6 addresses. (Fixes #25) (#129) 2017-06-05 15:34:40 -04:00
Craig Peterson
4bb2562d45 Merge branch 'master' of github.com:StackExchange/dnscontrol 2017-06-05 15:08:38 -04:00
Craig Peterson
6a80f71d66 Canonicalize IPv6 addresses. (Fixes #25) (#129) 2017-06-05 14:57:32 -04:00
Craig Peterson
5de49a6264 adding flat/tests 2017-06-05 14:26:59 -04:00
Craig Peterson
9eb1589d8c consolidate 2017-06-05 14:10:12 -04:00