Skip to content

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=public

This command adds an allow rule for a port with --action=allow.

bolt-cli run-firewall-fix

⚠️ Not available in the current version - this command is not present in the current CLI. Kept for reference.

Runs fixes for common firewall issues or misconfigurations.

Example:

bash
bolt-cli run-firewall-fix

bolt-cli get-status

Gets the current system and network status information.

Example:

bash
bolt-cli get-status

bolt-cli health-check

Performs a general system health check including network connectivity.

Example:

bash
bolt-cli health-check