v1
latestOpenAPI 3.1.02026-07-244861122.7 KBrecords
Create a new name
Create a new name, with records and metadata.
post/v1/dns/records/{zone_name}
Path parameters
zone_namestring required
The name of the zone.
Example:example.com
The name of the zone.
Request body
Example request
{
"name": "dns-name",
"rrsets": [
{
"dns_type": "A",
"rdata": [
{
"value": "192.0.2.1",
"label": "optional-label-1"
},
{
"value": "192.0.2.2"
}
],
"ttl": 60,
"metadata": {
"key": "value"
}
},
{
"dns_type": "AAAA",
"rdata": [
{
"value": "2001:db8::1",
"label": "optional-label-2"
}
],
"ttl": 60
}
],
"metadata": {
"property": "value"
}
}Response
resource created