Setting subdomain for new VMs

I cannot find where to set which domain is used for creating new machines. My server has delegation for 2 zones, and it was picking the one I didn’t want. but once I removed it, it was picking no zone at all.
But anyway where does Cloudmin select the domain it uses for creating hosts?

Have you checked under host systems in the cloudmin menu?

I did, it’s not there, but I just found it: once the host machine is selected on the left bar you need to go to System Operations >> KVM Host Settings, and there’s an option “Add KVM systems to DNS domain” where you can select the DNS. It took me a while to find it…