add_dns_static
Add static DNS entries to MikroTik RouterOS to map hostnames to IP addresses, CNAMEs, MX records, or SRV records. Enable custom name resolution rules for reliable network infrastructure.
Instructions
Adds a static DNS entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | ||
| name | Yes | ||
| text | No | ||
| cname | No | ||
| device | No | ||
| regexp | No | ||
| address | No | ||
| comment | No | ||
| disabled | No | ||
| srv_port | No | ||
| srv_target | No | ||
| srv_weight | No | ||
| mx_exchange | No | ||
| srv_priority | No | ||
| mx_preference | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |