dns: add libdns provider registry

Curated cloudflare, gigahost, hetzner, powerdns and rfc2136.
Settings decode via json tags; env per field, <field>_path for secrets.

Updates #2137
This commit is contained in:
Kristoffer Dalby committed 2026-10-18 20:53:18 +02:00
1 parent a777969027
commit 24cf63294c
5 files changed
+320 -3

No files matched your search

+11 -1
View File
@@ -19,9 +19,16 @@ require (
github.com/go-chi/metrics v0.1.1
github.com/go-gormigrate/gormigrate/v2 v2.1.7
github.com/go-json-experiment/json v0.0.0-20260820222146-c27c302e5fc3
github.com/go-viper/mapstructure/v2 v2.5.0
github.com/google/go-cmp v0.7.0
github.com/hashicorp/golang-lru/v2 v2.0.7
github.com/jagottsicher/termcolor v1.0.2
github.com/kradalby/libdns-gigahost v0.0.0-20261014145029-4c03bc63b974
github.com/libdns/cloudflare v0.2.2
github.com/libdns/hetzner/v2 v2.0.1
github.com/libdns/libdns v1.1.1
github.com/libdns/powerdns v0.1.4
github.com/libdns/rfc2136 v1.0.1
github.com/oapi-codegen/runtime v1.7.0
github.com/oauth2-proxy/mockoidc v0.0.0-20240214162133-caebfff84d25
github.com/ory/dockertest/v3 v3.12.0
@@ -135,7 +142,6 @@ require (
github.com/go-jose/go-jose/v4 v4.1.4 // indirect
github.com/go-logr/logr v1.4.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
github.com/go4org/hashtriemap v0.0.0-20260925222741-44e5305f85d9 // indirect
github.com/godbus/dbus/v5 v5.2.2 // indirect
github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
@@ -151,6 +157,7 @@ require (
github.com/grpc-ecosystem/grpc-gateway/v2 v2.29.0 // indirect
github.com/hashicorp/go-version v1.9.0 // indirect
github.com/hdevalence/ed25519consensus v0.2.0 // indirect
github.com/hetznercloud/hcloud-go/v2 v2.27.0 // indirect
github.com/huin/goupnp v1.3.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
@@ -163,6 +170,7 @@ require (
github.com/kamstrup/intmap v0.5.2 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/klauspost/compress v1.20.1 // indirect
github.com/kradalby/gigahost-go/client v0.0.0-20261014144355-025b38b667ed // indirect
github.com/lib/pq v1.12.3 // indirect
github.com/lithammer/fuzzysearch v1.1.8 // indirect
github.com/mattn/go-colorable v0.1.15 // indirect
@@ -170,7 +178,9 @@ require (
github.com/mattn/go-runewidth v0.0.31 // indirect
github.com/mdlayher/netlink v1.11.2 // indirect
github.com/mdlayher/socket v0.7.0 // indirect
github.com/miekg/dns v1.1.73 // indirect
github.com/mitchellh/go-ps v1.0.0 // indirect
github.com/mittwald/go-powerdns v0.6.6 // indirect
github.com/moby/docker-image-spec v1.3.1 // indirect
github.com/moby/moby/api v1.55.0 // indirect
github.com/moby/moby/client v0.5.1 // indirect