Zone:info

How to retrieve zone records

To get the list of records for a zone, send the following code to our API server. You may only manage zones and/or records for domains that are in your account.

XML Template
<?xml version="1.0" encoding="UTF-8"?>
    <request xmlns:zone="http://www.eurodns.com/zone">
        <zone:info>
            <zone:name>#DOMAIN.TLD#</zone:name>
        </zone:info>
    </request>

<zone:info> (Occurrences: 1)

R #DOMAIN.TLD# Retrieve the zone records of this domain
If the action was successful, the following code will be returned:
<?xml version = "1.0" encoding = "UTF-8"?>
    <response xmlns:record="http://www.eurodns.com/record" xmlns:zone="http://www.eurodns.com/zone">
        <result code="1000">
            <msg>Command completed successfully</msg>
        </result>
        <resData>
            <zone:name>#DOMAIN.TLD#</zone:name>
            <zone:records>
                <zone:record id="#RECORD ID#">
                    <record:type>#RECORD TYPE#</record:type>
                    <record:host>#RECORD HOST#</record:host>
                    <record:data>#RECORD DATA#</record:data>
                    <record:ttl>#RECORD TTL#</record:ttl>
                    <record:mx_priority>#RECORD MX PRIORITY#</record:mx_priority>
                    <record:priority>#RECORD SRV PRIORITY#</record:priority>
                    <record:refresh>#RECORD REFRESH#</record:refresh>
                    <record:retry>#RECORD RETRY#</record:retry>
                    <record:expire>#RECORD EXPIRE#</record:expire>
                    <record:minimum>#RECORD MINIMUM#</record:minimum>
                    <record:serial>#RECORD SERIAL#</record:serial>
                    <record:resp_person>#RECORD RESP PERSON#</record:resp_person>
                    <record:weight>#RECORD WEIGHT#</record:weight>
                    <record:port>#RECORD PORT#</record:port>
                    <record:flag>#RECORD FLAG#</record:flag>
                    <record:tag>#RECORD TAG#</record:tag>
                </zone:record>
            </zone:records>
        </resData>
    </response>

<resData> (Occurrences: 1)

R #DOMAIN.TLD# Name of the domain using this zone

<zone:records> (Occurrences: 1+)

Note: If the zone contact multiple records, this section will be repeated. Depending on the type, more or less elements will be returned

R  #RECORD ID# Identifier of the record
R #RECORD TYPE# Type of the record (SOA, NS, PTR, MX, A, CNAME, AAAA, TXT, APEX, CAA)
R #RECORD HOST# Host of the record
R #RECORD DATA# Data of the record
R/O #RECORD TTL# How long to cache records retrieved from the zone file
R/O #RECORD MX PRIORITY# If record type is MX, priority of the record
R/O #RECORD SRV PRIORITY# If record type is SRV, priority of the record
R/O #RECORD REFRESH# If record type is SOA, how often secondary DNS servers should check if changes are made to the zone
R/O #RECORD RETRY# If record type is SOA
R/O #RECORD EXPIRE# If record type is SOA, how long the zone will be valid after a refresh
R/O #RECORD MINIMUM# Used as the default TTL for new records created within the zone
R/O #RECORD SERIAL# If record type is SOA, used by secondary DNS servers to check if the zone has changed
R/O #RECORD RESP PERSON# If type record is SOA, specifies the domain mailbox name for a responsible person
R/O #RECORD WEIGHT# If type record is SRV
R/O #RECORD PORT# If record type is SRV
R/O #RECORD FLAG# The issuer critical flag (in case of CAA record)
R/O #RECORD TAG# The tag (issue/issuewild/iodef, in case of CAA record)

Legend

O The element is optional and does not have to be specified in the request and/or answer
R The element is mandatory and has to specified in the request and/or answer