Resource

dcloud_dns_zone_transfer

Zone transfers (AXFR/IXFR) of a hosted zone to your own secondary nameservers, with a TSIG key and NOTIFY on change. Read the key's secret with dcloud dns zone-transfer get-key; it never passes through Terraform. Not with dcloud_dns_zone_dnssec on the same zone.

Example Usage

resource "dcloud_dns_zone_transfer" "example" {
  zone_id = dcloud_dns_zone.example.id
  # Your secondary nameservers: they may transfer the zone and get a NOTIFY on change.
  allow        = ["203.0.113.53", "2001:db8:53::53"]
  require_tsig = true
}

Schema

Required

  • allow (List 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
  • zone_id (String) The hosted zone to transfer. Changing it replaces the resource.

Optional

  • algorithm (String) 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.
  • notify (List 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.
  • require_tsig (Boolean) Refuse transfer requests not signed with the zone key. Absent: kept, true for a new setting. Off, the allow-list is the only check

Read-Only

  • id (String) The resource's id.
  • primaries (List of String) The platform nameservers' addresses: the secondary's primaries.

Generated from the provider's schema.