Create a new name
POST /v1/dns/records/{zone_name}
Create a new name, with records and metadata.
Path Parameters
zone_name
The name of the zone.
Example: example.com
Body
application/json
Body Sample
Body Description
metadata object
A collection of string key/value pairs that provide additional information or classification for an object.
* name string
The DNS name, not including the zone portion.
Example: dns-name
rrsets array[object]
[RRSet to create.]
* dns_type string
enum
DNS name type supported by API
Example: A
Possible Values |
---|
A |
AAAA |
CAA |
CNAME |
MX |
NS |
SRV |
TXT |
CDNSKEY |
CDS |
CERT |
CSYNC |
DHCID |
DNAME |
DNSKEY |
DNSSEC |
DS |
IPSECKEY |
KX |
LOC |
NAPTR |
PTR |
RP |
SSHFP |
TLSA |
_URL |
rdata array[object]
List of Rdata for this RRset
label object
Label for an Rdata that uniquely identifies it within its RRSet
Example: a-label-123
* value string
Rdata value
Example: 192.0.2.1
ttl integer
Example: 60
Minimum: 0