-
Notifications
You must be signed in to change notification settings - Fork 17
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
fix TXT record not wrapped in quotes #13
base: master
Are you sure you want to change the base?
Conversation
Known problem: Can't cleanup the TXT record after success, due to |
Thanks for the PR. However, this has never been necessary before, why is it now? 🤔 Cloudflare's docs state that they will automatically add quotes if missing:
Is that wrong? |
As you can see in caddy-dns/cloudflare#89 , Cloudflare stop adding quotes. |
Hmm, yeah, I've seen that issue, but the evidence is only someone saying "it seems" -- I'm looking for actual documentation. That changelog is interesting, but as you said, doesn't seem to apply to the API. I'm confused if Cloudflare would actually roll out a breaking change like that with seemingly no documentation? Anyway, I'm fine with this change (though I'll have a suggestion for a revision before we merge it) -- but I do want to understand what happened first. This plugin has worked for years. Why did it suddenly break? Did Cloudflare really break their API? If so, where's the docs? |
I can't find more documents from CF too, but I saw some complaints about forcefully adding quotes recently in the CF community. BTW, I did a test again just now, and Caddy (official build) managed to obtain the cert, it seems CF has made some changes again. |
Thanks for looking into it!
I'm just not convinced that Cloudflare is changing things around willy-nilly with their API like this. Maybe they are, and they're breaking things, and that sucks... I think something else is going on. But I really want to understand what it is before changing a package that has been working steadily for years. |
According to the doc of Cloudflare, quotation marks is required for TXT record.
https://www.cloudflare.com/learning/dns/dns-records/dns-txt-record/
fix caddy-dns/cloudflare#89