A new version of the API (v4) is available here: developers.linode.com.

domain.list()

Lists domains you have access to.

Parameters

  • DomainID - numeric (optional) Limits the list to the specified DomainID

Example Response

{
   "ERRORARRAY":[],
   "ACTION":"domain.list",
   "DATA":[
      {
         "DOMAINID":5093,
         "DESCRIPTION":"",
         "TYPE":"master",
         "STATUS":1,
         "SOA_EMAIL":"dns@example.com",
         "DOMAIN":"linode.com",
         "RETRY_SEC":0,
         "MASTER_IPS":"",
         "EXPIRE_SEC":0,
         "REFRESH_SEC":0,
         "TTL_SEC":0
      },
      {
         "DOMAINID":5125,
         "DESCRIPTION":"",
         "TYPE":"slave",
         "STATUS":1,
         "SOA_EMAIL":"",
         "DOMAIN":"nodefs.com",
         "RETRY_SEC":0,
         "MASTER_IPS":"1.3.5.7;2.4.6.8;",
         "EXPIRE_SEC":0,
         "REFRESH_SEC":0,
         "TTL_SEC":0
      }
   ]
}

Errors

None.