Creates a new BIND zone,
and sets up BIND if needed.
This script is designed to be called from the Cloudmin installer,
but can be used anywhere if you like.
It creates a DNS domain set with the
and whose owner email address is set with
The primary nameserver is set with the optional
which defaults to the system's hostname.
The zone is created in the view specified by the
or you can have it select a view automatically (if needed) with
Command Line Help
Creates a new BIND DNS zone. cloudmin setup-bind-zone --zone domain.name [--email address@host] [--master hostname] [--view name | --auto-view]