import_zonefile
Replaces all DNS records in a primary zone with a BIND zone file; export the current zone file first to back up records omitted from the import.
Instructions
Replace ALL records of a primary zone with a BIND zone file. Destructive for records not in the file; export_zonefile first as a backup. Returns an Action
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": {
"zone": "<zone>",
"zonefile": "<zonefile>"
},
"name": "import_zonefile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Zone ID or name, e.g. example.com | |
| zonefile | Yes |