record_add

Add a record to a zone

Inputs Description Type Regular expression Mandatory
API login Your api login String (min 3, max 30) Yes
API password Your api Password String (min 5, max 15) Yes
zoneName The registered domain name you want to add a record String (min 5, max 255) Yes
host Record host String (min 1, max 200) Yes
type Record type A, CNAME, MX, TXT, AAAA, NS, NAPTR, SRV Yes
weight Record weight int No
data Record data String (max 4096) Yes

 

Outputs Description Possible values
The standard result code and message Please refer to the chapter ‘Tags description’

 

Command

<api>
[…]
<command>
<record_add>
<zoneName>mydomain.extension</zoneName>
<type>…</type>
<host>…</host>
<data>…</data>
<weight>…</weight>
</record_add>
</command>
</api>

Response

<?xml version="1.0" encoding="utf-8"?>
<api>
<response>
<trID>…</trID>
<result code="…">
<msg>…</msg>
</result>
</response>
</api>