Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Include Page | ||||
---|---|---|---|---|
|
Description
Excerpt |
---|
This function edits a DNS zone record. |
To effectively use this function, use the following workflow:
- Run the
dumpzone
function on the DNS zone record to edit. - Locate the
Line
value that corresponds to the data to edit. - Use the values from that zone record to formulate the appropriate
editzonerecord
parameters.
Warning | ||
---|---|---|
| ||
|
Include Page | ||||
---|---|---|---|---|
|
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 | ||||||||||||||||||||
line | integer | Required The zone record's file line number. | A positive integer that represents a line number in the domain's DNS zone file. | 24 | ||||||||||||||||||||
name | string | Required The record's name. | A valid domain name or hostname.
| hostname.example.com. | ||||||||||||||||||||
class | string | Required The record's class. |
| IN | ||||||||||||||||||||
ttl | integer | Required The record's Time To Live (TTL). | A positive integer that represents the TTL, in seconds. | 86400 | ||||||||||||||||||||
type | string | Required The DNS record type. |
| A |
Include Page | ||||
---|---|---|---|---|
|
Returns
This function only returns metadata.
Panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function information
About WHM API 1
Find a function
Related functions
|