no no, only one, nothing with staging, I reinserted the URI back and now it again fails:
Certbot failed to authenticate some domains (authenticator: dns-desec). The Certificate Authority reported these problems:
Domain: miharu.dedyn.io
Type: caa
Detail: CAA record for miharu.dedyn.io prevents issuance
So why what is wrong out of a sudden with the URI? How can it be fixed?
That was the command in your first post. So, we know --dry-run will fail with CAA and accounturi that ONLY includes your production account.
Adding a second CAA value should work. You might need to ask your DNS provider.
Still, try this command ONCE now. You already got a valid production cert earlier today so we need force to issue another one. You won't be able to use --dry-run until you get CAA accounturi for that.
sudo certbot renew --force-renew
Using force can soon get you blocked due to rate limits. So, best to fix your CAA than repeatedly using --force.
Okay. Good. We were fighting two problems with similar symptoms.
One was --dry-run was failing because the accounturi did not allow staging to issue cert
And, possibly the issuewild is too strict by Let's Encrypt and only allowing wildcard names in the cert and not the root name too. This was pointed out earlier but results got messed up due to the --dry-run account.
You got a valid production cert today which your server is using. So your system should be operating properly. And, --dry-run works with that format of CAA record.
Let us try to reproduce your problem offline. It may take a day or two and we'll let you know. Does that sound good?