Get full zone records
Inputs | Description | Type | Regular expression | Mandatory |
API login | Your api login | String (min 3, max 10) | Yes | |
API password | Your api password | String (min 5, max 15) | Yes | |
name | The registered domain name you want the zone for | String (min 5, max 255) | Yes |
Outputs | Description | Possible values |
[zone] name | Name of the created zone | |
[zone] ttl | TTL of the zone | |
[zone] soaPrimaryNs | Primary NS of the SOA | |
[zone] soaRespPerson | Email of the responsible person for the zone | |
[zone] soaRefresh | Refresh interval of the SOA | |
[zone] soaRetry | Retry interval of the SOA | |
[zone] soaExpire | Expiration interval of the SOA | |
[zone] soaMinimum | Minimum TTL of the SOA | |
[zone] [records] [record] id | Id of the record | |
[zone] [records] [record] host | Host of the record | |
[zone] [records] [record] type | Type of the record | |
[zone] [records] [record] weight | Weight of the record | |
[zone] [records] [record] data | Data of the record |
Command
<api> […] <command> <zone_get> <name>mydomain.extension</name> </zone_get> </command> </api> |
Response
<?xml version="1.0" encoding="utf-8"?> <api> <response> <trID>…</trID> <result code="…"> <msg>…</msg> </result> </response> <resData> <zone> <name>…</name> <ttl>…</ttl> <soaPrimaryNs>…</soaPrimaryNs> <soaRespPerson>…</soaRespPerson> <soaRefresh>…</soaRefresh> <soaRetry>…</soaRetry> <soaExpire>…</soaExpire> <soaMinimum>…</soaMinimum> <records> <record> <id>…</id> <host>…</host> <type>…</type> <weight>…</weight> <data>…</data> </record> <record> <id>…</id> <host>…</host> <type>…</type> <weight>…</weight> <data>…</data> </record> <record> <id>…</id> <host>…</host> <type>…</type> <weight>…</weight> <data>…</data> </record> </records> </zone> </resData> </api> |