Batch import domains in webmin to virtualmin

Hi!

I have a backup name server running freebsd with webmin configured for some easy maintenance. How ever i want to take it a bit further and transfer all the domains who currently are configured in webmin to virtualmin.

I succeeded in doing this by hand (see image), but i need to do 300+ domains to i’s like to automate this a bit :slight_smile:

When i fill in the domain name by hand and chose all the options i have below that it creates the single domain into a virtualmin entity with Bind DNS enabled. Anyone got some tips/hint for me to automate this ?

Screenshot

PS. how do i include the image directly into the message ?

No one with any clue ?

have you looked at the API/CLI documentation?

Yes, but i coulnd’t find exactly what i wanted.

Thats why i asked for a example