mholt / caddy-dynamicdns

Caddy app that keeps your DNS records (A/AAAA) pointed at itself.
Apache License 2.0
244 stars 24 forks source link

Add desec.io #8

Closed rugk closed 3 years ago

rugk commented 3 years ago

https://desec.io/ is awesome and has a pretty good featurefull REST api: https://desec.readthedocs.io/en/latest/dns/domains.html

It would be great if you could support it.

francislavoie commented 3 years ago

Support for DNS providers is via libdns.

See https://caddy.community/t/writing-new-dns-provider-modules-for-caddy/7786

You're most likely to get support for your DNS provider by writing the plugin yourself. We can't test it or implement it if we don't use that provider. And it's not really to our benefit to spend our time doing so.

rugk commented 3 years ago

Okay, good to hear thanks. The go template there looks simple enough and it's always good to have a reusable (go) library.

/cc @peterthomassen


Also created https://github.com/mholt/caddy-dynamicdns/issues/8 now.

mholt commented 3 years ago

Yeah, Francis is right; libdns is the place for this. Totally reusable, works for the ACME DNS challenge and any other DNS record needs too!

Will close this particular issue but leave the one in libdns open; feel free to continue discussion if needed.