Network Commands ​
These commands help you manage network configurations, DNS settings, and related services in the AdminBolt system.
bolt-cli flush-dns ​
Flushes the DNS cache to ensure updated DNS records are used.
Example: ​
bash
bolt-cli flush-dns [--domain=example.com]bolt-cli firewall ​
Manages firewall rules, allowing you to control port access and security zones.
Options: ​
--action: The action to perform (allow)--port: The port number to configure--zone: Accepted but not used by the command--protocol: The network protocol for the rule (e.g.tcp,udp)--comment: A description stored with the rule
Example: ​
bash
bolt-cli firewall --action=allow --port=80 --zone=publicThis command adds an allow rule for a port with --action=allow.
bolt-cli get-status ​
Gets the status of the AdminBolt installation and prints it as JSON: the panel version, the PHP version, the number of accounts and domains, and the hostname. It reports nothing about the network.
Example: ​
bash
bolt-cli get-statusbolt-cli health-check ​
Performs a health check on critical services and restarts any that need it.
Example: ​
bash
bolt-cli health-checkbolt-cli ping-domains ​
Checks every domain in the panel database and reports whether it is up or down.
Example: ​
bash
bolt-cli ping-domains