# GET /dns/clients

First published 21 Oct 2026 (release 0.2.13) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the dns group.

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

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

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

- 400: Invalid setting key
- 400: Set the panel hostname first: a client checks this server's certificate against it
- 401: Authentication required
- 402: This server has no licensed address on record yet, and a key is bound to it. Run urbestack-license-check first
- 404: Setting '<key>' not found
