Host a DNS zone (500 sats 30d, 5,000 sats 1y)
zone_createCreates a hosted, DNSSEC-signed zone on our nameservers. First call check (tool zone_create): a new zone gets its own nameserver pair, which must be set at the registrar before the payment step; pass the ns_ticket from that answer. The answer gives the zone token once (keep it: it manages the zone), the nameservers and the DS record. Paid, no account. Without payment the call returns payment_required with the price, a Lightning invoice and a Cashu payment request; pay only within what your user allowed, then call again with the same arguments plus l402=':', or call with cashu=''. Every request is checked for free before an invoice is made; use check first.
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>",
"period": "<period>"
},
"name": "zone_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| l402 | No | Lightning payment proof for a retry: '<macaroon>:<preimage>', where macaroon comes from the payment_required answer of the previous call and preimage is the 64-hex proof your wallet returns after paying its invoice. Use it with the same tool and arguments. | |
| zone | Yes | The domain to host, e.g. example.com (a name you registered at any registrar). | |
| cashu | No | Cashu token (cashuA... or cashuB...) worth at least the price, from an accepted mint (see info). Pays without a previous call. | |
| period | Yes | 30d (30 days) or 1y (365 days). Prices differ: see the tool title. | |
| ns_ticket | No | The ns_ticket from the delegation_missing answer of an earlier check or call (secret, shown once, 48 h): proves you got this zone's nameserver pair. | |
| previous_token | No | The old zone token, only when hosting again a zone you removed or let expire (reserved for you for a while). |