opn_update_dns_override
Modify a DNS host override's hostname, domain, IP, description, or enabled status using its UUID. Changes are applied instantly to Unbound.
Instructions
Update an Unbound DNS host override by UUID and apply immediately.
Use this when you need to change the hostname, domain, IP address, or other properties of a DNS override. Only the parameters you provide are changed; all other settings are preserved.
Changes are applied immediately (Unbound is reconfigured automatically). DNS overrides cannot be auto-reverted — verify settings before calling. Use opn_list_dns_overrides first to find the UUID.
Parameters:
uuid: override UUID (from opn_list_dns_overrides)
hostname: new hostname part (e.g. 'myserver')
domain: new domain part (e.g. 'local.lan')
server: new IP address (IPv4 or IPv6)
description: new description
enabled: enable/disable the override
Returns: dict with 'result' (str), 'uuid' (str), and 'applied' status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | ||
| hostname | No | ||
| domain | No | ||
| server | No | ||
| description | No | ||
| enabled | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||