4 Commits

Author SHA1 Message Date
Roderick Schaefer
3e4f4a3f54 Fixes CNAME support in the PowerDNS provider (#547) 2018-05-09 17:50:14 +02:00
Anand Singh Kunwar
e84630f011 Fixed Bug in PowerDNS provider and added testcases
* Fixed PowerDNS provider bug affecting endpoint conversion to
  zone in a particular case
* Added a regressive test case, covered an additional case

PowerDNS provider bug: In the function ConvertEndpointsToZones,
the endpoints are sorted lexicographically increasing
(and by record type in case of match). The zones are sorted by
decreasing order of length. There's a loop through of zones
under which the code loops through endpoints. In the case
the first endpoint does not match with the first zone,
the complete zone won't get populated with any endpoints.
2018-04-20 17:15:48 +05:30
Nick Jüttner
32ce01e7fb Fix multi targets PowerDNS (#532) 2018-04-18 21:36:43 +02:00
Anhad Jai Singh
ec822d7bbd Add PowerDNS as a provider
Commit adds:
* Implementation of PowerDNS as a provider
* Tests for said implementation
* github.com/ffledgling/pdns-go, which provides go client bindings for
  PowerDNS's HTTP API, as a dependency
* "pdns" as an additional option for the `--provider` flag
* `--pdns-server` and `--pdns-api-key` as additional flags for PowerDNS
  specific configuration
2018-04-16 19:11:35 +05:30