pve_node_dns_set
Configure DNS resolver settings (primary, secondary, tertiary IPs and search domain) on a Proxmox VE node. Dry-run returns a plan; confirm to apply.
Instructions
MUTATION: update DNS resolver configuration on a PVE node.
RISK_MEDIUM (a wrong resolver config breaks name resolution cluster-wide — same failure mode as node hosts_set). CAPTURE: reads current DNS config before planning (also readable directly via pve_node_dns); if unreadable → complete=False. Dry-run by default (returns a PLAN); confirm=True executes (PUT, Smoke-confirm) and returns {"status": "ok", "result": None}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dns1 | No | Primary DNS resolver IP address. | |
| dns2 | No | Secondary DNS resolver IP address. | |
| dns3 | No | Tertiary DNS resolver IP address. | |
| node | No | PVE node name to configure; defaults to the configured node if omitted. | |
| search | No | DNS search domain to set on the node. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the DNS change. | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |