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

/dns/clients

First published 21 Oct 20260.2.13Unchanged since publication

List DNS distribution clients and the other nodes in this server's network

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

The clients and nodes arrays are sorted by IPv4 address. Each entry includes the server's IPv4 address, label, reported web interface hostname, zone count, registration details, last call time and last recorded refusal reason. Node entries also include nameserver names, port, IP addresses and join time. A client entry includes joining_as while a node invitation is pending and disconnected_at if the client disconnected and left its zones here.

The self object reports the licensed IPv4 address, lowercase web interface hostname and port used in a distribution key. The port defaults to 8443. If the identity is unavailable, these three fields are null and self.refusal gives the reason.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/dns/clients" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "clients": [
    {
      "address": "info@example.com",
      "also_nameservers": [
        "text"
      ],
      "created_at": "2026-09-09T10:15:00Z",
      "created_by": "text",
      "created_on": "text",
      "disconnected_at": "text",
      "hostname": "server.example.com",
      "ipv4": "text",
      "ipv6": "text",
      "joined_at": "text",
      "joining_as": "text",
      "label": "my laptop",
      "last_error": "text",
      "last_seen_at": "text",
      "nameserver": "text",
      "node": true,
      "port": 8443,
      "zones": 1
    }
  ],
  "nodes": [
    {
      "address": "info@example.com",
      "also_nameservers": [
        "text"
      ],
      "created_at": "2026-09-09T10:15:00Z",
      "created_by": "text",
      "created_on": "text",
      "disconnected_at": "text",
      "hostname": "server.example.com",
      "ipv4": "text",
      "ipv6": "text",
      "joined_at": "text",
      "joining_as": "text",
      "label": "my laptop",
      "last_error": "text",
      "last_seen_at": "text",
      "nameserver": "text",
      "node": true,
      "port": 8443,
      "zones": 1
    }
  ],
  "self": {
    "address": "info@example.com",
    "hostname": "server.example.com",
    "node": true,
    "port": 8443,
    "refusal": "text",
    "sends_to": {
      "address": "info@example.com",
      "host": "text"
    }
  }
}

Errors

5 errors, each a status and a sentence
400Invalid setting key
400Set the panel hostname first: a client checks this server's certificate against it
401Authentication required
402This server has no licensed address on record yet, and a key is bound to it. Run urbestack-license-check first
404Setting '<key>' not found
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.13 on 21 Oct 2026.
urbestack.com/docs/api/get-dns-clients/