Cloudflare DNS record types: A Guide for Website Owners
Understand DNS record types, where A, CNAME, MX, TXT and DNSSEC records fit, and which Cloudflare behaviors are provider-specific.
Facts that can change should include a source and check date. Benchmark claims should state the plan, region, method, and test period.
DNS record types tell systems what a domain or subdomain represents and where to find the related service. For a website owner, use the type requested by the relevant hosting, email, certificate, or other service provider: A/AAAA for an IP address, CNAME for another hostname, MX for mail delivery, TXT for verification and other text-based services, and specialized records for certificates, service discovery, delegation, or DNSSEC. Enter the exact name and value supplied by that provider.
The records you are most likely to use#
| Record type | What it does | Common website-owner use |
|---|---|---|
| A / AAAA | Connects a domain or subdomain to an IPv4 or IPv6 address. | Points a website or subdomain to an address supplied by a hosting or service provider. |
| CNAME | Connects one hostname to another hostname. | Points a hostname to a service hostname when the service instructs you to do so. |
| MX | Tells email systems which mail server receives messages for the domain. | Routes incoming email to the mail service named in its setup instructions. |
| TXT | Stores text for verification and other services. | Publishes domain-ownership verification or other service configuration text. |
| CAA | Specifies which certificate authorities may issue certificates for the domain. | Limits certificate issuance when your certificate workflow documents a CAA record. |
| SRV | Identifies the host and port used by a particular service. | Publishes a service endpoint that requires both a host and a port. |
| SVCB / HTTPS | Provides clients with connection information for a service or website. | Adds connection information when the relevant service documentation requests it. |
| NS | Identifies authoritative nameservers. | Supports subdomain setup or delegation to another nameserver arrangement. |
| DS / DNSKEY | Supports DNSSEC, which cryptographically protects DNS records. | Coordinates DNSSEC values with the authoritative DNS provider. |
| PTR / SOA | PTR supports reverse DNS; SOA provides zone-management information. | Usually remains an infrastructure concern unless your DNS or hosting instructions require action. |
A and AAAA are address records, while CNAME points to another hostname. MX is for mail delivery, so it should not be substituted for a record used to verify a domain or authenticate email.
Email authentication#
SPF, DKIM, and DMARC address different parts of email authentication. Cloudflare documents SPF as identifying authorized senders, DKIM as cryptographic signing, and DMARC as handling and reporting for messages that do not comply. An email service may request several DNS entries. Follow its instructions for the record type, hostname, value, and any required priority or other fields.
How to choose and update a record#
- Identify what the service needs to connect: an IP address, another hostname, a mail server, verification text, a certificate authority, or a service endpoint.
- Use the record type named by the hosting, email, certificate, or other service provider. Similar-looking records are not interchangeable.
- Copy the supplied hostname and value exactly. Include any required priority, port, or other field rather than creating a value based on guesswork.
- Review existing records before editing or deleting them. A change can affect website routing, email delivery, ownership verification, certificate issuance, or another configured service.
- Set or retain the TTL requested by the provider when one is specified. Cloudflare documents TTL as the length of time DNS resolvers cache a response. Existing cached responses can remain until their TTL expires.
- Test the result separately from the configuration claim. A DNS lookup shows what DNS currently publishes; it does not by itself prove that a website loads, email is accepted, a certificate can be issued, or an application service is reachable.
Cloudflare-specific behavior#
Cloudflare documents several behaviors that should not be treated as universal rules for every DNS provider:
- Cloudflare says A and AAAA records are the records it can proxy. Proxy status and CNAME-proxy limitations are Cloudflare implementation details, so do not assume another provider offers the same options.
- Cloudflare automatically creates SOA records when its authoritative nameservers are used.
- Cloudflare documents automatic HTTPS-record behavior for qualifying proxied names.
- Cloudflare says NS records are generally added in its DNS records area for subdomain setup or delegation.
If your DNS is managed by Cloudflare, use its documentation for these dashboard behaviors. If another provider manages DNS, follow that provider's instructions and do not copy Cloudflare-specific assumptions into its interface.
Sources#
Sources
- Cloudflare: DNS record types Checked 2026-10-28
- Cloudflare DNS documentation Checked 2026-10-28