I know the OS is old but it’s working and no time to update it however it is secure at least. I’ve been running into this error on and off for years. I do not enable IPv6 on any of my VMs and do not enable them in Virtualmin yet I seem to run into this error intermittently. I know my DNS servers do not have any IPv6 DNS records either. Is there an easy way to permanently fix this?
Validating configuration for my.domain.tld ..
.. errors were found, which will prevent Let's Encrypt from issuing a certificate :
* Apache website : An IPv6 DNS record www.my.domain.tld with address 2606:4700:20::xxxx:xxxx exists, but this virtual server does not have IPv6 enabled
As stated, there are no IPv6 records in the DNS so I’m not sure how it claims there are. In the Change IP Address IPv6 isn’t even disaplayed as an option. I checked the VirtualHost in Apache and there are no IPv6 configurations there either. This is why I’m not sure what’s causing it.
you are asking LE to look for a www.domain.tld - these days that means LE will look for an AAAA record if there isn’t one it will fail. - answer is stop requesting it from LE or enable it (why not?0 these days it gets sort of taken for granted.
perhaps a stupid question, but have you tried DNS-resolving the domain name (with or without www) from a remote location to see what gets returned as a result? It might be that the Cloudmin Server has an IPv6 address and (for some reason) automatically adds this as an AAAA-record or something? I don’t know Cloudmin so I’m just guessing, but that IPv6 address is coming from somewhere.
You not using cloudflare at all, I seen a issue with it giving a ip6 address. can you do a reverse lookup on the IP6 address Lets Encrypt is complaining about?