Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Include Page | ||||
---|---|---|---|---|
|
Description
Excerpt |
---|
This function resets a zone file to its original state. |
Include Page | ||||
---|---|---|---|---|
|
Panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples
|
Parameters
Parameters | Type | Description | Possible values | Example |
---|---|---|---|---|
domain | string | Required The record's domain. | A valid domain name. | example.com |
Returns
Return | Type | Description | Possible values | Example | |||||
---|---|---|---|---|---|---|---|---|---|
result | hash | A hash of the function's results. | A hash that contains the statusmsg and status returns. | ||||||
| string | A status message from the DNS server. The function returns this value in the | A string. |
| |||||
| hash | A hash of the mail exchanger's returns. The function returns this value in the | A hash that contains the issecondary , local , detected , remote , isprimary , changed , secondary , and mxcheck return. | ||||||
| Boolean | Whether the domain's mail exchanger is the secondary exchanger. The function returns this value in the |
| 0 | |||||
| Boolean | Whether the recently-deleted mail exchanger was a local exchanger. The function returns this value in the |
| 0 | |||||
| string | This return is identical to the The function returns this value in the | A valid string. | remote | |||||
| Boolean | Whether the recently-deleted mail exchanger was a remote exchanger. The function returns this value in the |
| 1 | |||||
| Boolean | Whether the domain is the account's primary domain. The function returns this value in the |
| 0 | |||||
| Boolean | Whether a change has occurred. The function returns this value in the |
| 1 | |||||
| Boolean | Whether the recently-deleted mail exchanger was a secondary exchanger. The function returns this value in the |
| 0 | |||||
| string | The type of mail exchanger that was recently deleted. The function returns this value in the |
| auto | |||||
reason | string | A reason for failure.
| A string that describes the error. | This is an error message. | |||||
result | Boolean | Whether the function succeeded. |
| 1 |
Panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function information
About this moduleThe ZoneEdit module manages DNS zone files and records.About cPanel API 2
Find a function
Livesearch |
Related functions
|
HideElements | ||
---|---|---|
|