zone:info

How to retrieve the records for a zone

The 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> (Occurences: 1)
R #DOMAIN.TLD# Retrive 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>
            </zone:record>
        </zone:records>
    </resData>
</response>

<resData> (Occurences: 1)
R #DOMAIN.TLD# Name of the domain using this zone
<zone:records> (Occurences: 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, SRV)
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 type record is SRV

Legend
O The element is optional and may be present or not in the request/response
R The element is mandatory and must be present one or more times in the request/response