add_dns_domain
Create a DNS zone and register a domain in the domains table via Hostkey's PowerDNS API. Requires pdns/edit permission to run.
Instructions
Create a DNS zone and add a domain to the domains table (pdns/add_domain). Requires pdns/edit permission.
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>",
"confirm": "<confirm>"
},
"name": "add_dns_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Domain name, e.g. example.com | |
| confirm | Yes | Must be true to run the operation. |