CMDCommand · run as root on the server · dns family
urbestack-dns-record-add
First published 3 Oct 2026
0.1.0Unchanged since publicationUsage
# urbestack-dns-record-add --zone ZONE --name NAME --type TYPE --content CONTENT [--ttl SECONDS] [--priority N] [--system] [--owner USER]Description
From the command's --help outputAdds a record to a DNS zone. Give --name relative to the zone, or use @ for the zone apex. The supported types are A, AAAA, CNAME, MX, TXT, SRV, CAA and NS. Use full hostnames for targets, such as mail.example.com, or use @ for the zone apex. For SRV, give --content as "weight port target". For CAA, give it as 'flags tag "value"'. MX and SRV require --priority from 0 to 65535. Use --ttl to set a TTL in seconds. The record inherits the zone's default TTL if you omit --ttl. Use --system to add records reserved for the server, such as NS records at the apex or records at or under _acme-challenge. Use --owner with a customer's username to require that the zone still belongs to that customer when the record is added. A CNAME must have its own name and cannot be added at the apex. UrbeStack checks its DNS rules and validates the resulting zone with named-checkzone. A duplicate record returns 409. Other DNS rule or zone validation failures return 400. A rejected record is never saved.Usage: urbestack-dns-record-add --zone ZONE --name NAME --type TYPE --content CONTENT [--ttl SECONDS] [--priority N] [--system] [--owner USER] Adds a record to a DNS zone. Give --name relative to the zone, or use @ for the zone apex. The supported types are A, AAAA, CNAME, MX, TXT, SRV, CAA and NS. Use full hostnames for targets, such as mail.example.com, or use @ for the zone apex. For SRV, give --content as "weight port target". For CAA, give it as 'flags tag "value"'. MX and SRV require --priority from 0 to 65535. Use --ttl to set a TTL in seconds. The record inherits the zone's default TTL if you omit --ttl. Use --system to add records reserved for the server, such as NS records at the apex or records at or under _acme-challenge. Use --owner with a customer's username to require that the zone still belongs to that customer when the record is added. A CNAME must have its own name and cannot be added at the apex. UrbeStack checks its DNS rules and validates the resulting zone with named-checkzone. A duplicate record returns 409. Other DNS rule or zone validation failures return 400. A rejected record is never saved.
Options
Find other commands that accept these optionsSame in the API
These operations run the command.Generated from release 0.2.35 (current) · urbestack-dns-record-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-record-add/