Commit Graph

14 Commits

Author SHA1 Message Date
Nick Jüttner
c63bf03097
Merge pull request #737 from ottoyiu/pdns-domainfilter
PowerDNS: Add DomainFilter support
2018-11-14 13:50:19 +01:00
Bily Zhang
c0968ab857 Fix typos: sychronized->synchronized, resouce->resource, sepecified->specified (#769)
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-11-12 08:33:53 +01:00
Otto Yiu
04ca5ec22f pdns: Add DomainFilter support 2018-10-22 13:54:11 -07:00
Bartel Sielski
476e0456ac Fix Host field in HTTP request when using pdns provider
The Host field of the HTTP request is set incorrectly when passing
the configured server.  The underlying HTTP library experts a hostname
to be passed.  When passing it a string of the form 'http://pdns.example.com'
this gets converted into 'http:' (stripping everything from the first
slash onward).  However setting the Host field in the pdnsClientConfig
object is not needed because the underlying library will then parse the
hostname from the URL.

Fixes #661

Signed-off-by: Bartel Sielski <bartel.sielski@gmail.com>
2018-09-06 15:52:44 +02:00
Jason Hoch
c40e563292 Simplify flag checks; format 2018-06-21 11:56:36 -04:00
Jason Hoch
8223796ae7 Utilizes tlsutils in pdns 2018-06-20 16:44:13 -04:00
Jason Hoch
9a7fafa0c5 Addresses golint warnings #2 2018-06-19 16:05:35 -04:00
Jason Hoch
d56ef6dbda gofmt 2018-06-19 15:56:55 -04:00
Jason Hoch
0ecf2e68ae Addresses golint warnings 2018-06-19 15:54:20 -04:00
Jason Hoch
15b279a4bc Adds TLS flags for pdns provider 2018-06-19 15:40:32 -04:00
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