Network
Build RFC 1035 DNS zone files (SOA + NS/A/AAAA/CNAME/MX/TXT/SRV/CAA/TLSA/NAPTR/DS) with per-record validation and a readable summary.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/dns-zone-file-record-builder' \
-H 'Content-Type: application/json' \
-d '{"zoneOrigin":"example.com","defaultTtl":3600,"primaryNs":"ns1.example.com","adminEmail":"[email protected]","serialNumber":"2026070801","refresh":3600,"retry":900,"expire":1209600,"minimum":3600,"recordsText":"@ IN A 203.0.113.10\nwww IN A 203.0.113.10\n@ IN MX 10 mail.example.com.\n@ IN TXT \"v=spf1 mx -all\""}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/dns-zone-file-record-builder| Name | Type | Required | Description |
|---|---|---|---|
| zoneOrigin | text | Yes | — |
| defaultTtl | number | No | — |
| primaryNs | text | Yes | — |
| adminEmail | text | Yes | — |
| serialNumber | text | No | — |
| refresh |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-dns-zone-file-record-builder": {
"name": "dns-zone-file-record-builder",
"description": "Build RFC 1035 DNS zone files (SOA + NS/A/AAAA/CNAME/MX/TXT/SRV/CAA/TLSA/NAPTR/DS) with per-record validation and a readable summary.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=dns-zone-file-record-builder",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "dns-zone-file-record-builder",
"arguments": {
"zoneOrigin": "example.com",
"defaultTtl": 3600,
"primaryNs": "ns1.example.com",
"adminEmail": "[email protected]",
"serialNumber": "2026070801",
"refresh": 3600,
"retry": 900,
"expire": 1209600,
"minimum": 3600,
"recordsText": "@ IN A 203.0.113.10\nwww IN A 203.0.113.10\n@ IN MX 10 mail.example.com.\n@ IN TXT \"v=spf1 mx -all\""
}
}
}| number |
| No |
| — |
| retry | number | No | — |
| expire | number | No | — |
| minimum | number | No | — |
| recordsText | textarea | No | One record per line: name [ttl] IN TYPE rdata. @ = zone origin. Comments start with ;. |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Questions or issues? Contact [email protected]