Get your free beta license ↗
CMDCommand · run as root on the server · dns family

urbestack-dns-client-receive

First published 21 Oct 20260.2.13Unchanged since publication

Usage

7 forms
# urbestack-dns-client-receive --address IPV4 --zone NAME --action put|delete [--hash SHA256] [--serial N] [--hostmaster MAILBOX] [--ttl SECONDS] [--soa 'REFRESH RETRY EXPIRE NEGATIVE'] < rows.json
# urbestack-dns-client-receive --address IPV4 --client IPV4 --action client-put < row.json
# urbestack-dns-client-receive --address IPV4 --client IPV4 --action client-delete [--zones delete|hand --to IPV4]
# urbestack-dns-client-receive --address IPV4 --action join [--invited] [--check] < node.json
# urbestack-dns-client-receive --address IPV4 --action leave [--zones keep|delete]
# urbestack-dns-client-receive --address IPV4 --action disconnect [--zones keep|delete]
# urbestack-dns-client-receive --address IPV4 --action nameservers < names.json

Description

From the command's --help output
Applies DNS zone and network updates sent through the API by a client or node. --address gives
the registered IPv4 address of the caller, which the API verifies against the source of the
request.

With --action put, the records supplied on standard input replace the records in --zone. A new
zone lists the caller as its origin. Supply a JSON object with a rows array of records with
name, type, ttl, priority and content fields. UrbeStack ignores apex NS records, validates the
other records, checks the whole zone with named-checkzone and requires a match if you supply a
SHA-256 hash with --hash. With --action delete, the caller can remove only a zone held here for
it. Both actions update the zone files, reload named as needed and record the caller's last
contact.

To serve the same zone settings on every node, pass the origin's SOA serial with --serial (1 to
4294967295), SOA mailbox with --hostmaster (an email address or a DNS name in SOA mailbox
notation) and default TTL with --ttl (1 to 604800 seconds). Pass --soa as four space-separated
values in seconds, in this order. Refresh and retry each take 60 to 604800, expire takes 3600 to
31536000, and negative caching takes 0 to 86400.

Only another DNS node can use --action client-put or --action client-delete. --client gives the
IPv4 address of the client or node to update. client-put creates or updates the entry from a
JSON object on standard input. It accepts label, key_hash, node, nameserver, ipv4, ipv6, port,
hostname, joined_at and created_by. key_hash is the SHA-256 hash of the key's secret, and
joined_at is a UTC timestamp such as 2026-09-17T14:02:00Z. A node needs a nameserver name, which
also serves as its default label. Changes to a node entry update the zones that use its
nameserver. client-delete removes the entry and its zones by default. Use --zones hand with --to
to hand the zones to the client or node at that IPv4 address before removal, as with
urbestack-dns-client-del. A node uses leave to remove itself.

With --action join, the caller joins as a DNS node using a key issued by urbestack-dns-node-add.
Supply a JSON object on standard input with hostname, port and zones, plus ipv4 and ipv6 as
available. zones lists the names of the caller's own zones. If both servers own a zone with the
same name, delete it from one server before retrying. --invited uses the joining key issued to
an existing client as its new key. The client becomes a node and retains its zones. --check
reports whether the join can proceed. A successful join updates the zones to use the new node's
nameserver IP addresses and returns this server's key hash, the network's nameservers and nodes,
and the client list. The new node's next call queues a job to send this server's own zones. The
DNS timer also sends any zones still due.

With --action leave, a joined node becomes a client and remains the origin of its zones with
--zones keep, the default. --zones delete removes its entry and zones. Its nameserver name moves
to the first remaining node, and UrbeStack updates the zones to use it there.

With --action disconnect, a client makes its final call under its current key. --zones keep is
the default. It keeps the zones under the client's entry, revokes the key and records when the
client disconnected. --zones delete removes the entry and its zones. A client with no zones is
removed either way. UrbeStack tells the other nodes about the disconnect.

With --action nameservers, a node sends the full set of nameservers after removing a name or
moving it to another node. Supply a JSON object on standard input with a nameservers array and a
holders object that maps each name to its node's IPv4 address. Every node must retain at least
one nameserver name. UrbeStack renders the zones with the new list.

Options

Find other commands that accept these options

More in dns

35 commands, by what they work onView all commands in this family →
urbestack-dns-challenge-
urbestack-dns-node-
urbestack-dns-record-
urbestack-dns-ttl-
urbestack-dns-zone-
Generated from release 0.2.35 (current) · urbestack-dns-client-receive --help outputThis entry has been unchanged since it was first published in release 0.2.13 on 21 Oct 2026.
urbestack.com/docs/commands/urbestack-dns-client-receive/