Add static DNS record
set_dns_hostCreate a static DNS record on the router to resolve a domain to a specific IP for split-horizon DNS. Refuses to add a second address to avoid round-robin.
Instructions
Create a static DNS record ('ip host ') served by the router's own DNS proxy - the LAN half of a split-horizon setup, where the same name must resolve to an internal reverse proxy inside the network and to the WAN address outside it. A name that already resolves to a different address is refused rather than extended: 'ip host' accepts several addresses per name and would round-robin it. Remove the old record first. dry_run is TRUE by default; a real write is saved to startup-config and verified by re-reading the tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name, e.g. 'grafana.example.com' | |
| address | Yes | IPv4 address the name should resolve to | |
| dry_run | No | Default true |