dcloud dns zone-transfer setTurn transfers on, or change who may transfer the zone and whom to NOTIFY
Takes effect within one nameserver pull. Transfers are TCP only; IXFR is answered with the full zone unless the secondary is current. Secondaries get records as a resolver with no location sees them (a geolocation set its default, a weighted set every variant, ALIAS and failover the current addresses); a change in those bumps the serial. Not with DNSSEC on.
Synopsis
dcloud dns zone-transfer set id --allow allow [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--allowRequiredarray of string
Who may transfer the zone: 1 to 20 IP addresses or CIDR blocks (203.0.113.7, 203.0.113.0/24, 2001:db8::/48; IPv4 /8 or narrower, IPv6 /16 or narrower). Replaces the list. 400 names an entry that is neither
Constraints: 1-64 chars
--notifyOptionalarray of string
Where to send NOTIFY when the zone changes: up to 10 public "address" or "address:port" ("[v6]:port"). Null or absent: every single public address of the allow-list, on port 53. [] sends none
Constraints: 1-64 chars
May be null.
--require-tsigOptionalboolean (--require-tsig / --no-require-tsig)
Refuse transfer requests not signed with the zone key. Absent: kept, true for a new setting. Off, the allow-list is the only check
--algorithmOptionalenum
The TSIG key algorithm. Absent: kept, hmac-sha256 for a new key. A change makes a new secret
One of:
hmac-sha256,hmac-sha384,hmac-sha512
Example
dcloud dns zone-transfer set id --allow '["example"]'Generated from the API description, the same one the API checks requests against and the CLI is built from.