add_dns_regexp
Adds a DNS regexp entry to MikroTik RouterOS to match domain names using regular expressions and resolve them to a specific address.
Instructions
Adds a DNS regexp entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | 1d | |
| device | No | ||
| regexp | Yes | ||
| address | Yes | ||
| comment | No | ||
| disabled | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |