domain.resource.update()

Update a domain record.

Parameters

DomainID - numeric (required)
ResourceID - numeric (required)
Name - string (optional)
The hostname or FQDN. When Type=MX the subdomain to delegate to the Target MX server.

Target - string (optional)
When Type=MX the hostname. When Type=CNAME the target of the alias. When Type=TXT the value of the record. When Type=A or AAAA the token of '[remote_addr]' will be substituted with the IP address of the request.

Priority - numeric (optional)
Priority for MX and SRV records, 0-255

Weight - numeric (optional)
Port - numeric (optional)
Protocol - string (optional)
The protocol to append to an SRV record. Ignored on other record types.

TTL_sec - numeric (optional)
TTL. Leave as 0 to accept our default.

Example Response

{
   "ERRORARRAY":[],
   "ACTION":"domain.resource.update",
   "DATA":{
      "ResourceID":28537
   }
}

Errors

NOTFOUND,VALIDATION


Home | Manager | Contact Us | Jobs | Terms of Service | Privacy Policy | ™ © 2003-2012 Linode, LLC. All rights reserved.