addZoneRecord

This method adds a DNS record to the specified subdomain.

Syntax

status = addZoneRecord(username, password, [customer_number,] domain, subdomain, record_obj)

Return value

status, this method returns a status code of OK if all went well.

Parameters

  • username
    string
    Username for LoopiaAPI.
  • password
    string
    Password for LoopiaAPI.
  • customer_number
    string
    Customer ID for the account. Used only by resellers who work with the customer’s account.
  • domain
    string
    Domain name to which the subdomain you want to administer belongs.
  • subdomain
    string
    Subdomain to administer.
  • record_obj
    record_obj
    DNS record data to add.
Was this article helpful?

Related Articles