Help Center
Login Sign up
  1. Home
  2. API reference
  3. API documentation (JSON/XML)
  4. Objects

Zone object

API reference (XML/JSON) · Updated 2023-09-25

Description

The Zone object defines the DNS information stored on name servers for a domain.

Structure

Keyword JSONKeyword XML
OccursTypeFormatDescription
actionns_action0 - 1enum

NameServerActionConstants

Additional name server check is performed.
allowTransferallow_transfer0 - 1boolean
Allow AXFR
  • false = no
  • true = yes

Default = false

For XML, 0 (false) and 1 (true) can also be used.

commentcomment0 - 1string
A custom field. Can only be updated via PUT /zone/{name}/{nameserver}/_comment. Requires appropriate ACLs.
createdcreated0 - 1stringdate-timeDate the zone was created on.
updatedupdated0 -1stringdate-time

The date of the last update.

dnssecdnssec0 - 1boolean

Enables DNSSEC for the zone.

domainsafedomainsafe0 - 1boolean
Denotes of the zone is present in the DomainSafe service.
freeTextfree0 - nstring
Freely definable resource records to be entered in BIND Syntax.
Use this option only if you are familiar with the Domain Name System. Otherwise, your domain may be unreachable.
grantsallow_transfer_from0 - 1stringipA list of IP addresses from which a zone transfer (AXFR) by be started from for this zone.
idnidn0 - 1string
Punycode version of the origin.
mainmain0 - 1objectMainIpMain IP address of the zone. Required for ns_action "primary" and "complete".
nameServerGroupns_group0 -1string
Name of the name server group.
nameServersnserver1 - 7*)objectNameServerList of hostnames to be used as name severs.
originname1stringdomainZone name

nscheck0 - 1enumDNSCheckConstantsAdditional name server checks are performed
ownerowner0 - 1objectBasicUserOwner of the zone object.
resourceRecordsrr0 - nobjectResourceRecordResource record
soasoa1objectSOAInformation on the management of the zone.
sourcesource1stringhostnameName server from which a zone is copied via AXFR (with zone_import).

virtualNameServer

system_ns0 - 1stringhostnameThe first name server managed by the system.
updaterupdater0 - 1objectBasicUserUser who last updated the zone.
wwwIncludewww_include0 - 1boolean
Create a www A-record automatically?
  • false = no
  • true = yes

Default = true

For XML, 0 (false) and 1 (true) can also be used.


force_unused0 - 1boolean

When deleting zones, keep zones that are still in use.

  • false = no
  • true  = yes

Default values:
Without default-block: Default value = true
With default-block: Default value = false

For XML, 0 (false) and 1 (true) can also be used.

purgeDatepurge_date0 - 1stringdateDate on which the zone is purged (removed) from the system.
purgeTypepurge_type0 - 1 enumPurgeTypeSetting for automatic zone deletion
logId
0-1numberlongThe id of the related log-entry.
roid
0-1Integer

int32

The resource object identifier of the zone.

*) Depends on the respective registry.