CMDCommand · run as root on the server · dns family
urbestack-dns-challenge-add
First published 3 Oct 2026
0.1.0Unchanged since publicationUsage
# urbestack-dns-challenge-add --name _acme-challenge.example.com --value VALUE --job IDDescription
From the command's --help outputPublishes a TXT record for certificate validation and confirms that DNS serves the value before reporting success. Use --name for the fully qualified record name, such as _acme-challenge.example.com, and --job for the certificate job ID. If no zone on this server contains the name, the command returns 404. The record expires after one hour. Publishing the same name and value again for the same job renews the expiry. Multiple TXT values can coexist at the same name, as when a certificate order covers both a domain apex and its wildcard. The default TTL is 60 seconds and can be changed with dns.challenge_ttl. Without DNS distribution, the command checks the local DNS server. With DNS distribution, it sends the zone to every node immediately and checks that each node that accepts the zone serves the value. It also checks the local server if it is itself a node or if there are no remote nodes to verify. If a node refuses the zone, the command fails and reports the node's reason. If a node's API is unreachable, the command queries its DNS service directly. If the node still answers DNS, the command fails and the certificate job retries on the next run. A stale answer from that node could make validation fail about half the time. If the node also fails to answer DNS, the command reports it as down and continues because the certificate authority skips unresponsive nameservers. If distribution or verification fails after publication, the command removes the record and republishes the zone without it.Usage: urbestack-dns-challenge-add --name _acme-challenge.example.com --value VALUE --job ID Publishes a TXT record for certificate validation and confirms that DNS serves the value before reporting success. Use --name for the fully qualified record name, such as _acme-challenge.example.com, and --job for the certificate job ID. If no zone on this server contains the name, the command returns 404. The record expires after one hour. Publishing the same name and value again for the same job renews the expiry. Multiple TXT values can coexist at the same name, as when a certificate order covers both a domain apex and its wildcard. The default TTL is 60 seconds and can be changed with dns.challenge_ttl. Without DNS distribution, the command checks the local DNS server. With DNS distribution, it sends the zone to every node immediately and checks that each node that accepts the zone serves the value. It also checks the local server if it is itself a node or if there are no remote nodes to verify. If a node refuses the zone, the command fails and reports the node's reason. If a node's API is unreachable, the command queries its DNS service directly. If the node still answers DNS, the command fails and the certificate job retries on the next run. A stale answer from that node could make validation fail about half the time. If the node also fails to answer DNS, the command reports it as down and continues because the certificate authority skips unresponsive nameservers. If distribution or verification fails after publication, the command removes the record and republishes the zone without it.
Options
Find other commands that accept these optionsGenerated from release 0.2.35 (current) · urbestack-dns-challenge-add --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-dns-challenge-add/