# GET /dns/clients/{address}

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

UrbeStack release 0.2.35 API operation in the dns group.

Get a DNS distribution client or node and its zones

- Who may call it: administrator
- Token scope, any of: dns, read, all
- Answers: 200 OK

Look up a client or node by its IPv4 address. The response includes its registration and the zones this server holds for it. Each zone includes its record count, a hash of the records as received, its serial and its creation time.

## As a command

- [urbestack-dns-client-list](https://urbestack.com/docs/commands/urbestack-dns-client-list.md): Lists this DNS server's clients with their IPv4 addresses, labels, zone counts, last call times and any recorded reason for refusal.

## 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/{address}" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "client": {
    "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
  },
  "zones": [
    {
      "created_at": "2026-09-09T10:15:00Z",
      "hash": "text",
      "name": "alice",
      "records": 1,
      "serial": 1
    }
  ]
}
```

## Errors

- 400: Invalid IPv4 address
- 401: Authentication required
- 404: No client at <address>
