domain.create()
Create a domain record.
Parameters
- Domain - string (required)
The zone's name
- Description - string (optional)
Currently undisplayed.
- Type - string (required)
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)
- lpm_displayGroup - string (optional)
Display group in the Domain list inside the Linode DNS Manager
- 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.create",
"DATA":{
"DomainID":5123
}
}
Errors
NOACCESS, VALIDATION