domain.update()
Update a domain record.
Parameters
DomainID
- numeric (required)
Domain
- string (optional)
The zone's name
Description
- string (optional)
Currently undisplayed.
Type
- string (optional)
master or slave
SOA_Email
- string (optional)
Required when type=master
Refresh_sec
- numeric (optional)
Retry_sec
- numeric (optional)
Expire_sec
- numeric (optional)
TTL_sec
- numeric (optional)
status
- numeric (optional)
0, 1, or 2 (disabled, active, edit mode)
master_ips
- string (optional)
When type=slave, the zone's master DNS servers list, semicolon separated
axfr_ips
- string (optional)
IP addresses allowed to AXFR the entire zone, semicolon separated
Example Response
{
"ERRORARRAY":[],
"ACTION":"domain.update",
"DATA":{
"DomainID":5123
}
}
Errors
NOTFOUND,VALIDATION