Network
DNS Zone File Record Builder
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.
html· HTML resultOpen tool
Quick start
Call this tool from your code in three languages.
cURL
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\""}'API reference
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
HTTP
POST https://api.elysiatools.com/en/api/tools/dns-zone-file-record-builderParameters
| Name | Type | Required | Description |
|---|---|---|---|
| zoneOrigin | text | Yes | — |
| defaultTtl | number | No | — |
| primaryNs | text | Yes | — |
| adminEmail | text | Yes | — |
| serialNumber | text | No | — |
| refresh |
MCP integration
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Server configuration
Add this block to your MCP client configuration:
mcp.json
{
"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"
}
}
}List available tools
After connecting to the SSE endpoint, list the exposed tools:
tools/list
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Call this tool
Invoke the tool by its id, passing arguments built from its parameters:
tools/call
{
"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\""
}
}
}Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).