list-domains

Posted 2014-03-18 01:37 by Joe

list-domains.pl

list-domains.pl

Lists domains on some or all managed servers

This command outputs a list of Virtualmin domains on some or all managed systems. By default the output is in table format similar to Virtualmin's own list-domains.pl command, but you can switch to a more complete and parsable format with the --multiline flag.

Example usage

  cloudmin list-domains --host xencentos.home
  Domain                    System                    Description
  ------------------------- ------------------------- -------------------------
  xencentos.home            xencentos.home            Test domain on CentOS
  xencentos.com.au          xencentos.home            Alias in real domain
  atname.xencentos.home     xencentos.home            Test for @ names
  imapproblem.com           xencentos.home            imapproblem.com
  dnstest.com               xencentos.home            dnstest.com
  php4move.com              xencentos.home            PHP 4 wrapper move test
  django.xencentos.home     xencentos.home            Test for django
  domainmove.com            xencentos.home            Test for moving scripts

Command Line Help

Lists domains on some or all managed systems.

cloudmin list-domains [--multiline]
                      [--all-hosts] | [--host name]*
                      [--group name]*
                      [--type real|kvm|this]*
                      [--os oscode]*
                      [--owner name]*
                      [--status status-code|"up"|"wm"|"bad"]
                      [--host-on name]
                      [--domain name]*