A limitation of the DuckDNS API is that it only allows one TXT record at a time.
So, you can use one domain name per command. There is a trick to allow multiples which is described here. This examples uses acme.sh but the idea is the same for Certbot
The restriction is noted in the Certbot DuckDNS docs: