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

/dns/distribution/nameservers

First published 12 Nov 20260.2.28Unchanged since publication

Check external DNS resolution for distribution nameservers

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

On a node, the response lists each nameserver name, the node assigned to it, the IPv4 address in its local A record, and the result from an external resolver. Each name is assigned to one node, and its local IP address records use that node's IP addresses. The administrator must create or update the host record at the registrar. Until the host record is updated, a reassigned name still leads to the previous node.

UrbeStack queries A records using the resolvers in mail.check_resolvers in order and uses the first NOERROR or NXDOMAIN response. The default resolvers are 1.1.1.1 and 8.8.8.8.

A server that left or was removed from its network reports the names it previously answered for. Its retained zones continue to receive queries while those names still resolve to this server. Other servers that are not nodes return an empty names list.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/dns/distribution/nameservers" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "checked_at": "text",
  "in_place": true,
  "left": true,
  "names": [
    {
      "hostname": "server.example.com",
      "ipv4": "text",
      "name": "alice",
      "node": "text",
      "resolves": [
        "text"
      ],
      "state": "ok"
    }
  ],
  "proposal": "text"
}

Errors

9 errors, each a status and a sentence
400Domain name required
400Domain name too long
400Invalid IPv4 address
400Invalid IPv6 address
400Invalid domain name
400Invalid port
400Invalid setting key
401Authentication required
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.28 on 12 Nov 2026.
urbestack.com/docs/api/get-dns-distribution-nameservers/