All API tools
DevOps & Config
DNS Zone Record Generator API
POST
/v1/dns-record-generator Free tier1 credit / callAuthentication
Send your API key as a bearer token. Create one free in the dashboard.
Authorization: Bearer $TOOLSXPO_KEYParameters
Passed as fields in the JSON body. Example values shown.
| Name | Example |
|---|---|
| domain | example.com |
| format | BIND |
| ttl | 3600 |
| includeSoa | true |
| nsServer | ns1.example.com. |
| adminEmail | admin.example.com. |
| serial | 2026051701 |
| records | [object Object],[object Object],[object Object],[object Object] |
Example request
curl -X POST "https://api.toolsxpo.com/v1/dns-record-generator" \
-H "Authorization: Bearer $TOOLSXPO_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"example.com","format":"BIND","ttl":"3600","includeSoa":"true","nsServer":"ns1.example.com.","adminEmail":"admin.example.com.","serial":"2026051701","records":"[object Object],[object Object],[object Object],[object Object]"}'Response
A standard JSON envelope: { ok, data, meta }. The result is in data (text); meta.credits reports what the call cost.