Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Include Page | ||||
---|---|---|---|---|
|
Description
Excerpt |
---|
This function lists a domain's MX records. |
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Panel | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples
|
Parameters
Parameter | Type | Description | Possible values | Example |
---|---|---|---|---|
| string | Required The zone record's domain. | A valid domain name on the server. | example.com |
Returns
Return | Type | Description | Possible values | Example | |||||
---|---|---|---|---|---|---|---|---|---|
| array of hashes | An array of zone record data hashes. | This array of hashes includes 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's type. The function returns this value in the |
| MX | |||||
| string | The domain's mail exchanger. The function returns this value in the | A valid mail exchanger. | mail.example.com | |||||
| integer | The MX record's priority order. The function returns this value in the | An integer that represents the record's priority order.
| 20 |
Panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function information
About WHM API 1
Find a function
Related functions
|