Renames, disabled or re-enables a DNS zone.
This command can be used to adjust the settings of a DNS zone, identified by the --domain
flag followed by a zone name, and --host
flag followed by the name of the system it was hosted on.
To lock a zone so that it can no longer be queried, use the --disable
flag. To remove the lock, use the --enable
flag. To change the name of a domain, use the --new-domain
flag followed by the new name.
If run from the command line or remotely by root
the --owner
flag must also be given, followed by the name of a system owner who is allowed to provision DNS zones.
Example usage
cloudmin modify-dns-zone --domain foo.com --host lentor.home --owner kvmprovision.home --disable OK: host=lentor.home
Command Line Help
cloudmin modify-dns-zone --domain name --host name [--owner name] [--disable | --enable] [--new-domain name]