CMDCommand · run as root on the server · dns family
urbestack-dns-replace
Latest change (release 0.2.35): Replacement now includes the server's own records.
Usage
2 forms# urbestack-dns-replace --from OLD --to NEW [--zone ZONE] [--skip ID|ZONE:NAME:TYPE]... [--dry-run]# urbestack-dns-replace --from OLD [--zone ZONE] --findDescription
From the command's --help outputReplaces an IP address or hostname across DNS zones, regardless of who added the matching records. It matches whole IPv4 addresses in A records and SPF ip4: terms, whole IPv6 addresses in AAAA records and SPF ip6: terms, and whole hostnames in CNAME, MX and SRV targets. --to must differ from --from and be of the same kind. Template records that follow dns.ipv4 or dns.ipv6 take the new value and become manually maintained. Replacement also includes records UrbeStack writes from the server's identity, including the panel hostname's IP address and mail records and the nameservers' glue records. As in the zone editor, changing one of these records makes its record set manually maintained in that zone. UrbeStack stops updating the record set until you give it back. Replacement skips delegations. If another record in the zone already has the same name, type and new content, UrbeStack removes the old record. Each affected zone gets a new serial and is reloaded. Use --zone to limit the search to one zone. Repeat --skip with the ID of each record to exclude. For a glue record drawn from the server's identity, use ZONE:NAME:TYPE because it has no ID. Use --dry-run to preview a replacement before applying it. Use --find with --from for a read-only list of matches by zone and record ID. taken marks records UrbeStack maintains for the server. The kept list shows matching delegations.Usage: urbestack-dns-replace --from OLD --to NEW [--zone ZONE] [--skip ID|ZONE:NAME:TYPE]... [--dry-run] urbestack-dns-replace --from OLD [--zone ZONE] --find Replaces an IP address or hostname across DNS zones, regardless of who added the matching records. It matches whole IPv4 addresses in A records and SPF ip4: terms, whole IPv6 addresses in AAAA records and SPF ip6: terms, and whole hostnames in CNAME, MX and SRV targets. --to must differ from --from and be of the same kind. Template records that follow dns.ipv4 or dns.ipv6 take the new value and become manually maintained. Replacement also includes records UrbeStack writes from the server's identity, including the panel hostname's IP address and mail records and the nameservers' glue records. As in the zone editor, changing one of these records makes its record set manually maintained in that zone. UrbeStack stops updating the record set until you give it back. Replacement skips delegations. If another record in the zone already has the same name, type and new content, UrbeStack removes the old record. Each affected zone gets a new serial and is reloaded. Use --zone to limit the search to one zone. Repeat --skip with the ID of each record to exclude. For a glue record drawn from the server's identity, use ZONE:NAME:TYPE because it has no ID. Use --dry-run to preview a replacement before applying it. Use --find with --from for a read-only list of matches by zone and record ID. taken marks records UrbeStack maintains for the server. The kept list shows matching delegations.
Options
Find other commands that accept these optionsSame in the API
These operations run the command.Change log
1 change since publication, newest first0.2.3526 Nov 2026Replacement now includes the server's own records.As in the zone editor, replacing one of these records makes its record set manually maintained in that zone. Use ZONE:NAME:TYPE with --skip for a glue record because it has no ID.
0.2.014 Oct 2026First published.
Generated from release 0.2.35 (current) · urbestack-dns-replace --help outputThis entry last changed in release 0.2.35 on 26 Nov 2026.
urbestack.com/docs/commands/urbestack-dns-replace/