-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow updating of other record types #7
Comments
When building this module, I also thought about adding some type of acme challenge support. However there is no standardized acme dns-01 challenge protocol. There is already a general DNS API in ISPConfig. For this reason no other record types / protocols were implemented yet. |
DNS-01 for letsencrypt only requires TXT record under specified zone. |
This is true and maybe I'll revisit this in the future. |
I have published a new release v1.3.0 which supports adding / deleting TXT records. Let me know if there are any questions or if someone is working on a client implementation. |
Thank you very much, I will try it later. What I should have noted is, that to issue a wildcard certificate, you need to set two different TXT records with the same name (at least for Let's Encrypt). Do you support multiple records with the same name/hostname? |
Yes that's possible. It's also one of the reasons why it was not as simple as just allowing another record type. You can add as many TXT records with the token as you need. For the same Domain. As long as no use quota is exceeded. It also means when deleting a TXT record, you need to include the same data in the request so the correct entry can be matched. |
Version 1.4.1 was released which contains small improvements for TXT update requests. Because I was personally interested in getting this to work, I released a new certbot plugin which is using this API and can successfully request (wildcard) SSL certificates: https://github.com/mhofer117/certbot-dns-ispconfig-ddns |
I'd like to propose the idea of changing other DNS record types. For example TXT record
_acme-challenge
is used to issue SSL certificates in ACME (letsencrypt) protocol.I personally use ISPConfig for DNS and have a Raspberry pi at home which updates it's DNS record via DDNS. To request a basic certificate, you only need to host a file on the webserver, but for wildcard certificate, you need to set this TXT record's value to a provided challenge.
The text was updated successfully, but these errors were encountered: