DomainZones

DomainZones.add

add a new dns zone for a given domain by id or domainname

Permission

admin customer

Parameter

FieldTypeDescription
idintoptional domain id
domainnamestringoptional domain name
recordstringoptional, default empty
typestringoptional, zone-entry type (A, AAAA, TXT, etc.), default 'A'
priointoptional, priority, default empty
contentstringoptional, default empty
ttlintoptional, default 18000

Response

string as json-encoded array

DomainZones.get

return a domain-dns entry by either id or domainname

Permission

admin customer

Parameter

FieldTypeDescription
idintoptional, the domain id
domainnamestringoptional, the domain name

Response

string as json-encoded array

DomainZones.update

You cannot update a dns zone entry. You need to delete it and re-add it.

DomainZones.listing

List all entry records of a given domain by either id or domainname

Permission

admin customer

Parameter

FieldTypeDescription
idintoptional, the domain id
domainnamestringoptional, the domain name
sql_searcharrayoptional array with index = fieldname, and value = array with 'op' => operator (one of <, > or =), LIKE is used if left empty and 'value' => searchvalue
sql_limitintoptional specify number of results to be returned
sql_offsetintoptional specify offset for resultset
sql_orderbyarrayoptional array with index = fieldname and value = ASC|DESC to order the resultset by one or more fields

Response

bool

DomainZones.listingCount

returns the total number of domainzone-entries for given domain

Permission

admin customer

Parameter

FieldTypeDescription
idintoptional, the domain id
domainnamestringoptional, the domain name

Response

bool

DomainZones.delete

deletes a domain-dns entry by id

Permission

admin customer

Parameter

FieldTypeDescription
entry_idint
idintoptional, the domain id
domainnamestringoptional, the domain name

Response

bool