Create RRSets
POST /v1/dns/records/{zone_name}/{name}/rrsets
Create RRSets for a name, along with records, rrset options and metadata.
Path Parameters
zone_name
The name of the zone.
Example: example.com
name
The DNS name, not including the zone portion.
Example: dns-name
Body
application/json
Body Sample
[ { "dns_type": "A", "metadata": { "public property": "public value" }, "rdata": [ { "label": "optional-label-1", "update_group": "grp1", "value": "192.0.2.1" }, { "value": "192.0.2.1" } ], "ttl": 60 }]
Body Description
array[object]
metadata undefined
*dns_type string
enum
DNS name type supported by API
Example: "A"
Possible Values |
---|
A |
AAAA |
CAA |
CNAME |
MX |
NS |
SRV |
TXT |
PTR |
_URL |
rdata array[object]
List of Rdata for this RRset
Example: [{"label":"optional-label-1","update_group":"grp1","value":"192.0.2.1"},{"value":"192.0.2.1"}]
label undefined
update_group undefined
*value string
Rdata value
Example: "192.0.2.1"
ttl integer,null
Example: 60
Minimum: 0