create_zone
Create a DNS zone in Hetzner Cloud in primary or secondary mode, optionally seed records, then delegate your domain to the returned authoritative nameservers.
Instructions
Create a DNS zone. mode "primary" = Hetzner hosts the records (optionally seed with rrsets or a zonefile); "secondary" = Hetzner pulls from primary_nameservers via AXFR. Returns zone + Action. After creating, delegate the domain to the zone's authoritative_nameservers at your registrar
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>"
},
"name": "create_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Default TTL for records without their own TTL (default 3600) | |
| mode | No | primary | |
| name | Yes | Domain name, e.g. example.com (no trailing dot) | |
| labels | No | ||
| rrsets | No | Initial RRSets (primary only; mutually exclusive with zonefile) | |
| zonefile | No | BIND zone file to import (primary only; mutually exclusive with rrsets) | |
| primary_nameservers | No | Required for mode=secondary |