Get your free beta license ↗
API operation · dns group
POST

/dns/distribution/start

First published 12 Nov 20260.2.28Unchanged since publication

Start a DNS distribution network on this server

Who may call it
AdministratorResellerCustomer
Token scope, any of
dnsall
Answers200 OK

This server becomes the first node and can serve zones sent by other UrbeStack servers on its nameservers. The operation completes synchronously. Existing zones stay in service without regenerating zone files or reloading the DNS service.

Returns 409 if this server is already a node or sends zones as a client. Disconnect a client first with DELETE /dns/distribution.

As a command

Run as root on the server

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X POST "$API/dns/distribution/start" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "nodes": [
    {
      "address": "info@example.com",
      "hostname": "server.example.com",
      "ipv4": "text",
      "ipv6": "text",
      "nameservers": [
        "text"
      ],
      "port": 8443
    }
  ],
  "role": "standalone"
}

Errors

2 errors, each a status and a sentence
401Authentication required
409This server is already a node of a distribution network
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.28 on 12 Nov 2026.
urbestack.com/docs/api/post-dns-distribution-start/