I’m a newb MIAB user. Out of the box, MIAB just worked for me. On day one I setup a TLS certificate provisioned from Let’s Encrypt. I thought that it would automatically regenerate itself, but it didn’t, and now when I try to manually provision one I get the error “DNS problem: SERVFAIL looking up CAA for fleckmail.com”
MIAB is running on a Digital Ocean VM running Ubuntu 14.04.
I’ve got no idea how to tackle this issue. Any advice would be greatly appreciated.
CAA records are completely optional – setting a CAA record has nothing to do with provisioning a Let’s Encrypt certificate. The error most likely indicates a general DNS error (see this).
@sfkHooper: Are you using your Mail-in-a-Box for DNS (or are you using external DNS)?
Sorry to necro an old thread, but the topic has arisen again, and I have insight to the problem and a solution. Of course @just4t 's solution also works.
This happens on a MiaB install that is NOT hosting email for the root domain.
What is happening in this case is that the LE issuance process is doing a dig of the authoritative name server (ns1.box.testbox.com) and being refused a record. Not stating that there is NO record, but REFUSING to provide the record (because it does not exist as the domain testbox.com’s DNS is not being provided by the MiaB install.)
This breaks LE’s certificate issuance process.
The solution is to add a user or alias for the root domain, and then the box will update accordingly returning no record found rather than refused.
@JoshData Just in case this is new information for you … as this is still an issue with v 0.43.
I was also having this exact problem with a new MIAB set up where I didn’t have a user for the root domain. Adding an alias for the root domain allowed letsencrypt to provision successfully. Thank you for posting a solution.