Used to get the zone attached to a domain
Name | Type | Description | Restrictions |
---|---|---|---|
domainName | String | The domain name |
|
Name | Type | Required / Optional | Description |
---|---|---|---|
template | String | Optional | Name of the template the zone is linked to |
hostMaster | String | Required | The email address of the hostmaster |
refresh | Integer | Required | The time when the slave will try to refresh the zone from the master, in seconds |
retry | Integer | Required | The time between retries if the slave (secondary) fails to contact the master when refresh has expired, in seconds |
expire | Integer | Required | Indicates when the zone data is no longer authoritative, in seconds |
ttl | Integer | Required | The duration that the record may be cached, in seconds |
defaultRecords | List < defaultRecords > | Required | Default DNS records |
records | List < records > | Optional | DNS records |
Name | Type | Required / Optional | Description |
---|---|---|---|
name | String | Required | The record name. ##DOMAIN## will be replaced by the domain name to which this template will be applied |
type | Enum | Required |
The record type
Possible values:
|
content | String | Required | Type specific content of the record |
ttl | Integer | Required | The duration that the record may be cached, in seconds |
prio | Integer | Optional | The priority, mandatory if "type" is MX or SRV |
Name | Type | Required / Optional | Description |
---|---|---|---|
name | String | Required | The record name. ##DOMAIN## will be replaced by the domain name to which this template will be applied |
type | Enum | Required |
The record type
Possible values:
|
content | String | Required | Type specific content of the record |
ttl | Integer | Required | The duration that the record may be cached, in seconds |
prio | Integer | Optional | The priority, mandatory if "type" is MX or SRV |
Generic errors can be expected.
GET /v2/domains/domainName/zone