CLI Tool

You are currently watching the v2 legacy branch documentation.

CLI Tool

The CLI Tool allows you to start predefined tasks from the PHP CLI interface which is particular usable for large jobs so you will not need the SoluteDNS in browser console.

The CLI tool can be started by calling the cli.php script from the PHP CLI. The cli.php file is located in the SoluteDNS installation directory.


You can provide the SLI tool the following options:

  • index
  • secure
  • discover


You need to give the chosen option a numeric value being the remote server id you want to work on.

cli.php --secure=1


The following example with start the index process for server id 2:

/usr/local/bin/php /home/user/public_html/modules/addons/solutedns/cli.php --index=2