Docs · CLI Reference
baseguard set
The set command views and changes settings stored locally on this device. These settings apply only to the current node and are kept across reconnects.
Usage
$ baseguard set [options]Running set without options prints the current settings:
$ baseguard setdns: trueOptions
| Option | Description |
|---|---|
--dns <true|false> |
Turn DNS on or off for this node. Default true. |
Examples
Disable DNS on This Node
$ baseguard set --dns=falseBaseguard stops managing the system resolver on this device and restores the original configuration. Node names such as server-01 will no longer resolve here, but the node stays connected and reachable by IP. Other nodes are not affected.
Re-enable DNS
$ baseguard set --dns=true