Fields
- axfr-ips
- A comma-separated list of IPs or IP blocks allowed to perform AXFRs for this template’s domains. Only valid for master/primary templates and if restrict-axfr is enabled. (optional; read/write)
- created-at
- Initial creation time of this resource. (readonly)
- custom-nameservers
- A comma-separated list of custom nameservers. If nil, the template will use Zerigo’s default list of servers. Only valid for templates with custom-ns enabled. (optional; read/write)
- custom-ns
- Indicates if custom (vanity) nameservers are enabled for this template. Only allowed if the account’s service plan supports custom nameservers. (optional; read/write)
- default-ttl
- Default TTL (time-to-live), in seconds, for host records attached to this zone template. (required; read/write)
- hostmaster
- The email of the DNS administrator or hostmaster. A nil value will default to Zerigo’s hostmaster address. Note that this is publicly visible in the domain records. Only valid for templates with custom-ns enabled. (optional; read/write)
- host-templates
- An array of host records. See Host Templates. (readonly)
- host-templates-count
- Total number of hosts that belong to this template. (readonly)
- id
- Unique ID for this zone template. (readonly)
- name
- A name for this template. (required; read/write)
- notes
- Notes about the template. (optional; read/write)
- ns1
- The remote master nameserver, required when ns-type is ‘sec’. (read/write)
- ns-type
- One of ‘pri_sec’, ‘pri’, and ‘sec’. See Zones Overview for details. (required; read/write)
- nx-ttl
- Default “domain/host not found” TTL (time-to-live), in seconds, when a host record for this template doesn’t exist. If nil, our nameservers will use the lesser of 3 hours or the default-ttl value. (optional; read/write)
- restrict-axfr
- Indicates if AXFR transfers should be restricted to the list of IPs in axfr-ips. Only valid for master/primary templates. (optional; read/write)
- slave-nameservers
- The remote slave nameservers, in a comma-separated list. Required when ns-type is ‘pri’. (read/write)
- updated-at
- Last update time of this resource. (readonly)
