Replies: 3 comments
-
|
Hi @pwinkeler, tl;dr: It can be done, it's simple, but it could be wasted effort. Solution OptionsIt is very simple to add or change DNS records, either from a plugin, or a custom script, a Python program using
Bottom line: Depending on the functionality you need, there are many ways to choose from. Which is good (and one of the reasons I really like NetBox). Why I still wouldn't do it (unless there's a very good reason)DNS-01Currently the ACME protocol supports the DNS-01 challenge (among others not relevant here). The idea is that the ACME server sends you a token and you put it into a DNS record to prove your ownership of the zone. That approach has some shortcomings:
DNS-PERSIST-01That's why a new validation method is currently being phased in. The idea behind DNS-PERSIST-01 is to put a static record into your DNS zone that defines the CA authorised to sign certificates for names in the zone, the ACME account that is used to request them, and optionally a lifetime and an issuance policy. That way, you can add a DNS record with a sensible TTL once and you're fine. No more dynamic DNS updates. Securiry-wise, you now need to really make sure that your ACME account key doesn't get compromised. On the other hand, there's no more necessity to have API or TSIG keys for write access to your DNS zones floating around, so that's probably a draw. Time HorizonLet's Encrypt is rolling out ACME DNS-PERSIST-01 in the immediate future in staging, and in the next few months in production. Chances are that your pain will go away before your solution is finished. |
Beta Was this translation helpful? Give feedback.
-
|
Additional information by LE: https://letsencrypt.org/2026/02/18/dns-persist-01 |
Beta Was this translation helpful? Give feedback.
-
|
Thanks Peter, for that very insightful response. The new persistent DNS record approach obviates the need for such dynamic update tooling so I will cool my heels and focus my development work elsewhere.
PaulW
… On Mar 20, 2026, at 09:10, Peter Eckel ***@***.***> wrote:
Additional information by LE: https://letsencrypt.org/2026/02/18/dns-persist-01
—
Reply to this email directly, view it on GitHub <#802?email_source=notifications&email_token=AC3M34JUHMY367OQZYGE5OT4RU7MJA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNRSGI3DCOBQUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-16226180>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AC3M34LGT3AF7WWJWO67Z7T4RU7MJAVCNFSM6AAAAACWYSGVNGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMMRSGYYTQMA>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As we all know, SSL Certificate lifetimes are getting shorter and thus automating their renewals is front and center. There are a number of ways to automatically prove domain ownership to a certificate authority but many of them require the automated creation of DNS records. Would it be possible to create a plugin for this ecosystem that uses Netbox APIs to create the required record in Netbox DNS which could then publish it out via one of the other DNS integration plugins?
Beta Was this translation helpful? Give feedback.
All reactions