Commit Graph

31 Commits

Author SHA1 Message Date
Julilla Paul
10f4a26184
chore: make CheckEndpoint an Endpoint type method 2025-02-10 11:20:39 -08:00
Julilla Paul
ad9f300589
chore: move validation to endpoint 2024-11-20 13:46:57 -08:00
Julilla Paul
edd7b0710c
chore: add validation for MX and SRV records 2024-11-13 11:19:05 -08:00
Kubernetes Prow Robot
7ef0e2e527
Merge pull request #4578 from Demonware/pdns-use-soft-errors
feat: add soft errors to pdns provider
2024-10-27 14:06:53 +00:00
Kubernetes Prow Robot
25b44e5c4e
Merge pull request #4648 from saravanan30erd/fix-mx-srv
Add support for MX and SRV records in pdns provider
2024-10-03 09:44:27 +01:00
romeroalx
dad4d13a2d fix for linting issue in provider/pdns/pdns.go 2024-09-19 11:31:25 +02:00
romeroalx
1a909b871d pdns provider: added optional argument to make server_id configurable 2024-09-17 20:43:45 +02:00
Saravanan Palanisamy
ab58f50c9e update test cases 2024-08-11 21:24:17 +04:00
Saravanan Palanisamy
f653ea1edd Add trailing dot for MX and SRV records in pdns provider 2024-08-01 13:54:17 +04:00
Julilla Paul
ee2219358b
fix: json marshal failure should be a real error 2024-07-04 13:06:19 -07:00
Julilla Paul
82b0fab8eb
feat: add soft errors to pdns provider
Add soft errors to pdns provider where it is possible to retry or recover
2024-06-26 09:22:31 -07:00
Thomas Maroschik
99b7abda7e feat: add debug message to CNAME to ALIAS conversion
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
2024-01-10 18:12:49 +01:00
Thomas Maroschik
60450d09d0 fix(pdns): provider implicitly changes CNAME to ALIAS
Fixes: https://github.com/kubernetes-sigs/external-dns/issues/3970
2024-01-08 14:47:36 +01:00
Kubernetes Prow Robot
0483ffde22
Merge pull request #3839 from matusf/fix/pdns-tls-on
Make TLS enabled by default for PowerDNS provider
2023-09-05 11:24:51 -07:00
Matúš Ferech
7aa9d25067
Align PDNS provider with other providers by removing MatchParent
PNDS provider is the only one which uses MatchParent functionality. The
MatchParent functionality breaks domain and regex domain filters. It
also makes PDNS provider behave differently than other providers while
having the same configuration. MatchParent can be replaced by using
multiple domain filters. After discussion with maintainers we concluded
that MatchParent should be removed.
2023-08-14 12:49:23 +02:00
Matúš Ferech
806209544c
Add test for regex domain filter
This test is expected to fail and aims to show that regex domain filter
is not working.
2023-08-14 11:14:18 +02:00
Matúš Ferech
721c4e2110
Make TLS enabled by default for PowerDNS provider
All of the providers have TLS enabled by default so this change will
make PDNS provider behave as exected. Additionally, enabling TLS
by default is a good practice and previous bahaviour was a bit
misleading. It was possible to pass `--tls-ca` without
`--pdns-tls-enabled` and the PDNS provider would ignore the tls and
instantiate client with disabled tls. This change adds a flag to disable
the tls: `--pdns-skip-tls-verify`. Similar flag is used by pihole and
bluecat providers.

Additionaly this change makes providing custom TLS CA optional. It if is
not provided. A system certificates will be used. This makes PDNS behave
the same as other providers.
2023-08-14 11:06:43 +02:00
Matúš Ferech
7f61bbae44
Remove redundant test
Omited TLS config is the same as empty TLS config. It will default to
the same value.
2023-08-14 10:56:27 +02:00
Matúš Ferech
2d34694860
Refactor PDNS provider TLS tests
Use factory function which creates new PDNS provider. The only
changing argument is TLSConfig, so we can default all of the rest.
2023-08-14 10:56:25 +02:00
Ludovic Ortega
60102ed91f
fix: pdns logging 2023-08-04 14:41:11 +02:00
Kubernetes Prow Robot
f26fa4bb5f
Merge pull request #3338 from epollia/pdns_alias
create an alias when record in a zone another than the target
2023-06-26 02:37:45 -07:00
Skyler Mäntysaari
6f42a8a2da Initial IPv6 support 2023-03-30 17:49:28 -07:00
Shchukin Konstantin
16b8192783 create an alias when creord in a zone other than the target 2023-01-24 12:10:28 +07:00
Andy Bursavich
74ffff6c26 gofumpt 2022-09-20 20:48:57 -07:00
Eugene Venter
e32daefbbc pdns: also match parent zones when partitioning zones 2021-05-31 10:03:06 +12:00
Dave Salisbury
f4a1b675a9 pdns_test: update multiple/mixed record expected values 2021-02-25 17:49:20 +11:00
Dave Salisbury
94b8617889 pdns: create one endpoint per-rrset not one per-record
If you had an RRSet that contained multiple records, the provider would
end up generating multiple endpoints where really it needs to produce a
single endpoint with multiple targets.
2021-02-25 17:49:16 +11:00
Nick Jüttner
3388e3ddf1 improve linter quality for external-dns 2020-06-06 22:29:24 +02:00
Adam Stankiewicz
f008e894df Allow for custom property comparators
Fixes issue #1463

Co-authored-by: Alastair Houghton <alastair@alastairs-place.net>
2020-05-12 16:27:46 +02:00
Raffaele Di Fazio
82539e35a3 makes tests pass
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2020-05-08 13:54:13 +02:00
Raffaele Di Fazio
db4224c705 restructures the providers (build only)
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2020-05-08 13:05:17 +02:00