There is an explanation in the error message you shared on what should be done to fix the error. The error has nothing to do with certbot, and most probably with Virtualmin itself.
It seems that you don’t have DNS configured correctly for the domain. Please have a closer look at our Let’s Encrypt troubleshoot. I hope it helps: