Add Dns Record
add_dns_recordAdd a DNS record to a Subreg DNS zone by specifying domain, name, type, and content. Requires write access.
Instructions
Add a DNS record to a zone hosted on Subreg DNS. Requires SUBREG_READONLY=false.
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": {
"domain": "<domain>",
"name": "<name>",
"type": "<type>",
"content": "<content>"
},
"name": "add_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | ||
| name | Yes | ||
| prio | No | ||
| type | Yes | ||
| domain | Yes | ||
| content | Yes |