1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

719 Commits

Author SHA1 Message Date
061ea63322 require() should handle paths as relative (like nodeJS) (#443)
* Integrate @nlowe's documentation and tests
* Use filepath.Clean() instead of filepath.Abs()
* Use a stackless implementation
2019-01-29 10:29:00 -05:00
f9fc6243d4 Add SSHFP DNS record support. (#439)
* Add SSHFP DNS record support.
* Fix integration test.
2019-01-28 17:26:20 -05:00
f96a2189a1 remove duplicate test cert 2019-01-16 14:59:08 -05:00
1b1f37da9d Fix TLSA parse_test. 2019-01-11 10:34:13 -05:00
12010ba0cd Documentation: Fix typos and formatting in SPF_BUILDING (#435)
* Fix function name
* Fix indentation
2019-01-02 08:30:06 -05:00
35f74d9582 Fix spf-optimizer TOC link (#434) 2018-12-29 10:28:41 -05:00
cec58cea20 Documentation: Clarify releng docs. 2018-12-19 15:09:16 -05:00
dc4dd5ba44 Release v2.8 2018-12-19 15:09:16 -05:00
c5fce0f327 Documentation: Fix OVH API First Steps link (#416) 2018-12-19 15:06:41 -05:00
a5e14a5f93 fixup! 2018-12-19 10:22:37 -05:00
f83b624ea1 BUG: parse_tests: Fix (revert) earlier reformatting (#431) 2018-12-19 10:19:50 -05:00
5594904f3d CLOUDFLARE: Added options to set the target account for new domains (#430) 2018-12-19 09:48:27 -05:00
133b7e6414 fixup! 2018-12-18 17:49:03 -05:00
365b1985b9 NAMEDOTCOM: Improve error docs 2018-12-18 17:45:31 -05:00
199da3bb99 Release v2.8 2018-12-18 15:28:34 -05:00
6d93f80abb NAMEDOTCOM: Documented some error messages. 2018-12-18 15:26:26 -05:00
74fa9ed0c0 GANDI-LIVE: Document "no such zone" error. 2018-12-16 09:05:16 -05:00
ff3d446681 Codestyle: Fix formatting on parse_test JSON (#427)
* Fix failing parse_test 021
* Fix JSON formatting in parse_test directory
* js_test.go now reports json content length
2018-12-13 11:46:43 -05:00
a930802a8f Documentation: Added brew installation method to README (#426) 2018-12-13 07:24:34 -05:00
bb8d0cacb6 Warn (but don't fail) if creds.json file does not exist (#425) 2018-12-11 11:56:06 -05:00
38074df158 BIND: Warn if output directory does not exist. (#424) 2018-12-10 14:05:01 -05:00
4ef9e8bc40 Fix SRV record handling when target is shortname (#422)
* models/record.go: SRV targets are case insensitive. Downcase them.
* models/t_srv.go: Rename setTargetIntAndStrings() to setTargetSRVIntAndStrings() (makes it easier to search for /setTargetSRV/).
* pkg/js/parse_tests/021-srv.js*: SRV: Add parse_tests
* pkg/normalize/validate.go: SRV targets are hostnames, turn into FQDNs.
* Add  #rtype_variations warnings for future developers
2018-12-07 16:30:04 -05:00
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
93a36cbba9 GCLOUD: Support TXTMulti (#415)
* GCLOUD: Support TXTMulti
* Testing: Test max TXT record length
2018-10-14 10:53:11 -04:00
a2c54c85af Update DNSimple-go to v0.20.0 and fix provider (#414)
Signed-off-by: Amy Aronsohn <WagThatTail@Me.com>
2018-10-14 00:30:58 -04:00
4e417eaa06 Fix DNSimple SRV and MX records (#413)
* Fix SRV and MX records, update knownFailures

This gets us back to tests passing

Signed-off-by: Amy Aronsohn <WagThatTail@Me.com>

* Better comment

Signed-off-by: Amy Aronsohn <WagThatTail@Me.com>
2018-10-14 00:30:13 -04:00
cf7f199462 allow ecc certs if desired (#411) 2018-10-09 18:51:48 -04:00
6764811c5f Abstraction for Certificate Storage (+ vault storage) (#406)
* new abstraction around storage

* re-work completely to fit new acme package pre-solving paradigm

* vault storage plugin

* add some vendor

* delete old vendor pinning mechanism
2018-10-08 16:11:19 -04:00
06ee4d6fb1 Verbose debug logging via the ConsolePrinter and printer package. (#404)
This:
 * adds a global -v flag for verbosity
 * refactors the "printer" package to have a DefaultPrinter and package
   functions that call it, similar to net/http's DefaultServeMux
 * adds printer tests
 * moves current users of Debugf to Printf
 * moves most users of the "log" package to use "printer"
 * demotes noticably noisy log messages to "Debugf", like "IGNORE"-
   and "NO_PURGE"-related messages
2018-10-08 16:10:44 -04:00
f58acabe9f Build: Minimum Go version is now 1.10 (#409)
Can not build by go version under 1.9.
because using the strings.Builder by library.
2018-10-02 10:29:32 -04:00
36228949e9 Update internal version for 0.2.7 2018-09-10 22:25:55 -04:00
554efa768d Create release-drafter.yml 2018-09-10 21:47:49 -04:00
e30cbff674 fix build 2018-09-07 14:17:02 -04:00
d006f62f8f make sure key/value grouping always uses fqdn 2018-09-07 13:46:44 -04:00
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
e616cd7979 Update route53Provider.go (#401) 2018-09-04 12:58:02 -04:00
61281d7046 Add NAMESERVER_TTL and associated documentation. (#398) 2018-09-04 10:57:11 -04:00
61c92c9215 Correctly group R53_ALIAS records during IncrementalDiff. (#399)
Previously, unnecessary corrections were possible if both an R53_ALIAS
pointing to an A record and to an AAAA record existed for the same label,
and map iteration over existing and desired found them in different orders.
(This is a common configuration for IPv6-enabled records.)

This commit:
 * mirrors key logic in the R53 provider
 * centralizes logic around keys in the models package
 * adds tests
2018-09-04 10:55:27 -04:00
50c126c2d4 upd: Maintainers of contributed providers (#400) 2018-08-30 11:45:52 -04:00
2c8e57075e revendor hexonet lib 2018-08-30 09:03:51 -04:00
3e5d223675 new provider module HEXONET (#373) 2018-08-30 08:54:42 -04:00
402fc449e2 Certs: Create directories with execute permissions so they can be opened (#395)
* Create directories with execute permissions so they can be opened
* Use 0700 permissions on certificate directories instead of 0755
2018-08-27 12:12:53 -04:00
e680fb9a46 ROUTE53: Bug: fix corner case when deleting alias (#394) 2018-08-23 17:46:50 -04:00
18f47d3291 dnsimple: gofmt (#388)
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
2018-08-13 10:41:54 -04:00
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
95ebf1d35b Include PTR types in SPF Builder (#378)
* Include PTR types in SPF

* Simplify PTR and Exists logic

* Include PTR test case

* Include PTR test case

* Remove extra }
2018-08-02 10:57:41 -04:00
b0f86bc007 Documentation: Clarify the when to implement certain interfaces (#376) 2018-07-25 12:59:04 -04:00
b40f188fae Flatten: Improve spfcache.json instructions (#375) 2018-07-24 16:37:25 -04:00
6ace5e2b4b Cloudflare: Add support for MX priorities of "" (0) (#374)
* Cloudflare: Add support for MX priorities of "" (0)
2018-07-24 08:51:10 -04:00
921fa98490 Include record set type in record key. (#336) 2018-06-25 14:15:21 -04:00