This function returns a domain's DNS zone configuration. |
Examples
|
Parameter | Type | Description | Possible values | Example |
---|---|---|---|---|
| string | Required The zone record's domain. | A valid domain name on the server. | example.com |
Return | Type | Description | Possible values | Example | ||
---|---|---|---|---|---|---|
| array of hashes | An array of hashes of zone record data. | The hashes in this array contain the | |||
| string | The record's name. The function returns this value in the | A valid domain name or hostname. | hostname.example.com | ||
| integer | The zone record's line number. The function returns this value in the | A positive integer. | 1 | ||
| string | The record's class. The function returns this value in the |
| IN | ||
| integer | The record's Time To Live (TTL). The function returns this value in the | A positive integer that represents the TTL, in seconds. | 86400 | ||
| string | The DNS record type. The function returns this value in the |
| A |
Function information
About WHM API 1Find a function Related functions |