add_dns_static
Create a static DNS A record mapping a hostname to an IP address, with optional TTL, on a MikroTik RouterOS device.
Instructions
Tambah entri DNS statis (A record: name -> address). BUTUH MIKROCLAW_ALLOW_WRITE=true.
Args: name: nama host, mis. 'nas.lan'. address: IP tujuan, mis. '192.168.88.10'. ttl: time-to-live, mis. '1d', '1h'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"address": "<address>"
},
"name": "add_dns_static"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | 1d | |
| name | Yes | ||
| address | Yes |