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:import> (Occurences: 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:import> (Occurences: 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 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