/dns/zones/{name}/taken
0.2.6Unchanged since publicationTake over a DNS record set generated by UrbeStack
dnsallA record set contains all records with the same name and type in a zone. Eligible sets include apex NS records, nameserver glue, and the IP address and mail records for the server's hostname. Use a name relative to the zone, or @ for the apex.
After takeover, UrbeStack stops generating the set or updating it from server settings. The records have system set to true, and only an administrator can change them. An administrator who edits or successfully deletes a server-generated record also takes over its entire set.
The 201 response includes the zone, name, type, records in the set, and publication outcome. If the administrator already controls the set, the response includes its existing records with taken set to false.
As a command
Run as root on the serverParameters
namepath ·DomainNameRequirednamestring, up to 200 charactersRequiredtypestring, one of A, AAAA, CNAME, MX, TXT, SRV, CAA, NSRequiredExample
See the API overview for how to set $API and $TOKEN.curl -sS -X POST "$API/dns/zones/example.com/taken" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "alice",
"type": "A"
}'201 Created{
"name": "alice",
"published": true,
"records": [
{
"content": "text",
"created_at": "2026-09-09T10:15:00Z",
"id": 1,
"managed_key": "text",
"name": "alice",
"origin": "yours",
"priority": 1,
"server": true,
"system": true,
"ttl": 1,
"type": "A"
}
],
"reload": "text",
"taken": true,
"type": "rebuild",
"zone": "text"
}Errors
12 errors, each a status and a sentence400--<o> is required400Domain name required400Domain name too long400Invalid domain name400Invalid record name400Record name required400Record name too long400Record type must be one of 400The panel writes no <type> record at <name> in <zone.name>; it is yours already401Authentication required404The <type> records at <name> in <zone.name> are not taken over; the panel writes them already404Zone '<name>' not foundurbestack.com/docs/api/post-dns-zones-name-taken/