Create DNS Zone
hetzner_create_zoneCreate a DNS zone in primary or secondary mode to manage records or transfer from external nameservers, optionally adding TTL, RRSets, or a zonefile.
Instructions
Create a new DNS zone in primary or secondary mode. Optionally provide TTL, primary nameservers (for secondary), initial RRSets, or a zonefile.
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>",
"mode": "<mode>"
},
"name": "hetzner_create_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Default TTL in seconds for records in this zone | |
| mode | Yes | Zone mode: "primary" (managed here) or "secondary" (transferred from external primary) | |
| name | Yes | Fully qualified domain name of the zone, e.g. "example.com" | |
| labels | No | Labels as key-value pairs | |
| rrsets | No | Initial RRSets to create with the zone | |
| zonefile | No | Initial zone content in RFC 1035 zonefile format (alternative to rrsets) | |
| primary_nameservers | No | Primary nameservers (required for secondary zones) |