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
A subdomain name or an empty string for the root domain.
"subdomain"
The type of record, it could be one of the valid DNS records.
A
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"
A subdomain name or an empty string for the root domain.
"subdomain"
The type of record, it could be one of the valid DNS records.
A
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"
A subdomain name or an empty string for the root domain.
"subdomain"
The type of record, it could be one of the valid DNS records.
AAAA
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"
A subdomain name or an empty string for the root domain.
"subdomain"
The type of record, it could be one of the valid DNS records.
ALIAS
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"
A subdomain name or an empty string for the root domain.
"subdomain"
The type of record, it could be one of the valid DNS records.
CAA
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"
A subdomain name or an empty string for the root domain.
"subdomain"
The type of record, it could be one of the valid DNS records.
CNAME
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"
A subdomain name or an empty string for the root domain.
"subdomain"
The type of record, it could be one of the valid DNS records.
MX
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.
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.
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"
A subdomain name.
"subdomain"
The type of record, it could be one of the valid DNS records.
NS
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.
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"