opn_update_dns_override
Update a Unbound DNS host override by UUID and apply changes immediately. Modify hostname, domain, IP, or enable state while preserving other settings.
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 | ||
| domain | No | ||
| server | No | ||
| enabled | No | ||
| hostname | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||