# POST /dns/distribution/stop

First published 12 Nov 2026 (release 0.2.28) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the dns group.

Stop this server's DNS distribution network

- Who may call it: administrator
- Token scope, any of: dns, all
- Answers: 200 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

- [urbestack-dns-node-stop](https://urbestack.com/docs/commands/urbestack-dns-node-stop.md): Stops this server's DNS distribution network.

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
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

- 401: Authentication required
- 409: This network still has 
- 409: This server is not a node of a distribution network
