Zone:export

Export a zone in the BIND file format

Through the following request you can export a zone in the BIND format. The format is defined in RFC 1035 as well as the documentation for BIND. You may only export zones 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:export>
            <zone:name>#DOMAIN.TLD#</zone:name>
        </zone:export>
    </request>

<zone:export> (Occurrences: 1)

R #DOMAIN.TLD# The name of the domain that uses the zone
If the action was successful, the following code will be returned:
<?xml version="1.0" encoding="UTF-8"?>
    <response xmlns:zone="http://www.eurodns.com/zone">
        <result code="1000">
            <msg>Command completed successfully</msg>
        </result>
        <resData>
            <zone:name>#DOMAIN.TLD#</zone:name>
            <zone:data><![CDATA[#BIND FILE CONTENTS#]]></zone:data>
        </resData>
    </response>

<zone:export> (Occurrences: 1)

R #DOMAIN.TLD# The name of the domain that uses the zone
R #BIND FILE CONTENTS# The contents of the exported BIND file (Example)

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