getZoneRecords

This method retrieves a list of all DNS records for the specified subdomain.

Syntax

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

Return value

record_obj[], the method returns an array of record_obj where each struct corresponds to a DNS record.

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 belongs.
  • subdomain
    string
    Subdomain to retrieve DNS records for.
Was this article helpful?

Related Articles