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

/dns/distribution/stop

First published 12 Nov 20260.2.28Unchanged since publication

Stop this server's DNS distribution network

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

This server returns to the standalone role, serves only its own zones, and stops accepting zones from other servers.

Returns 409 if this server is not a node or if the network still has clients or other nodes. Before stopping the network, remove those clients and nodes and choose what happens to their zones.

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/stop" \
  -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

3 errors, each a status and a sentence
401Authentication required
409This network still has
409This server is not 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-stop/