Create a DNS record
Creates a DNS record for a domain.
Authorizations
Default authentication mechanism
Path Parameters
The domain used to create the DNS record.
"example.com"
Query Parameters
The Team identifier to perform the request on behalf of.
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
The Team slug to perform the request on behalf of.
"my-team-url-slug"
Body
The type of record, it could be one of the valid DNS records.
Must be of type A
.
A
A subdomain name or an empty string for the root domain.
"subdomain"
The record value must be a valid IPv4 address.
"192.0.2.42"
The TTL value. Must be a number between 60 and 2147483647. Default value is 60.
60 <= x <= 2147483647
60
A comment to add context on what this DNS record is for
500
"used to verify ownership of domain"
The type of record, it could be one of the valid DNS records.
Must be of type A
.
A
A subdomain name or an empty string for the root domain.
"subdomain"
The record value must be a valid IPv4 address.
"192.0.2.42"
The TTL value. Must be a number between 60 and 2147483647. Default value is 60.
60 <= x <= 2147483647
60
A comment to add context on what this DNS record is for
500
"used to verify ownership of domain"
The type of record, it could be one of the valid DNS records.
Must be of type AAAA
.
AAAA
A subdomain name or an empty string for the root domain.
"subdomain"
An AAAA record pointing to an IPv6 address.
"2001:DB8::42"
The TTL value. Must be a number between 60 and 2147483647. Default value is 60.
60 <= x <= 2147483647
60
A comment to add context on what this DNS record is for
500
"used to verify ownership of domain"
The type of record, it could be one of the valid DNS records.
Must be of type ALIAS
.
ALIAS
A subdomain name or an empty string for the root domain.
"subdomain"
An ALIAS virtual record pointing to a hostname resolved to an A record on server side.
"cname.vercel-dns.com"
The TTL value. Must be a number between 60 and 2147483647. Default value is 60.
60 <= x <= 2147483647
60
A comment to add context on what this DNS record is for
500
"used to verify ownership of domain"
The type of record, it could be one of the valid DNS records.
Must be of type CAA
.
CAA
A subdomain name or an empty string for the root domain.
"subdomain"
A CAA record to specify which Certificate Authorities (CAs) are allowed to issue certificates for the domain.
"0 issue \\\"letsencrypt.org\\\""
The TTL value. Must be a number between 60 and 2147483647. Default value is 60.
60 <= x <= 2147483647
60
A comment to add context on what this DNS record is for
500
"used to verify ownership of domain"
The type of record, it could be one of the valid DNS records.
Must be of type CNAME
.
CNAME
A subdomain name or an empty string for the root domain.
"subdomain"
The TTL value. Must be a number between 60 and 2147483647. Default value is 60.
60 <= x <= 2147483647
60
A CNAME record mapping to another domain name.
"cname.vercel-dns.com"
A comment to add context on what this DNS record is for
500
"used to verify ownership of domain"
The type of record, it could be one of the valid DNS records.
Must be of type MX
.
MX
A subdomain name or an empty string for the root domain.
"subdomain"
An MX record specifying the mail server responsible for accepting messages on behalf of the domain name.
"10 mail.example.com."
0 <= x <= 65535
10
The TTL value. Must be a number between 60 and 2147483647. Default value is 60.
60 <= x <= 2147483647
60
A comment to add context on what this DNS record is for
500
"used to verify ownership of domain"
The type of record, it could be one of the valid DNS records.
Must be of type SRV
.
SRV
The TTL value. Must be a number between 60 and 2147483647. Default value is 60.
60 <= x <= 2147483647
60
A comment to add context on what this DNS record is for
500
"used to verify ownership of domain"
The type of record, it could be one of the valid DNS records.
Must be of type TXT
.
TXT
A TXT record containing arbitrary text.
"hello"
The TTL value. Must be a number between 60 and 2147483647. Default value is 60.
60 <= x <= 2147483647
60
A comment to add context on what this DNS record is for
500
"used to verify ownership of domain"
The type of record, it could be one of the valid DNS records.
Must be of type NS
.
NS
A subdomain name.
"subdomain"
The TTL value. Must be a number between 60 and 2147483647. Default value is 60.
60 <= x <= 2147483647
60
An NS domain value.
"ns1.example.com"
A comment to add context on what this DNS record is for
500
"used to verify ownership of domain"
The type of record, it could be one of the valid DNS records.
Must be of type HTTPS
.
HTTPS
The TTL value. Must be a number between 60 and 2147483647. Default value is 60.
60 <= x <= 2147483647
60
A comment to add context on what this DNS record is for
500
"used to verify ownership of domain"