if you search DNS certbot guide i did one on how to use the new DNS plugins
did you do this? if so you would have come across this guide:
it is fairly detailed but if you follow it you should be able to use automated provisioning of DNS records if your DNS server is one of the supported ones.
Once again as you have not described your setup I am only able to provide high level guidance.
Andrei