DNS records are rules that tell domain name servers how to handle traffic to your domains and subdomains.
For domains managed by Netlify, we will automatically create "NETLIFY" records that point to our servers when you assign a domain or subdomain for your site. You can also add your own DNS records to point to other services, such as an email provider.
Supported record types
Netlify DNS supports the following types of records:
- A: Address record, which is used to map host names to their IPv4 address.
- AAAA: IPv6 Address record, which is used to map host names to their IPv6 address.
- ALIAS: A pseudo-record that works like a CNAME but can be safely used at the Zone Apex because it always resolves to A (or AAAA) record(s).
- CAA: Certificate Authority (CA) Authorization, which is used to specify which CAs are allowed to create certificates for a domain.
- CNAME: Canonical name record, which is used to specify alias names.
- MX: Mail exchange record, which is used in routing requests to mail servers.
- NS: Name server record, which delegates a DNS zone to an authoritative server.
- SPF: Sender Policy Framework record, a deprecated record type formerly used in e-mail validation systems (use a TXT record instead).
- SRV: Service locator record, which is used by some voice over IP, instant messaging protocols, and other applications.
- TXT: Text record, which can contain arbitrary text and can also be used to define machine-readable data, such as security or abuse prevention information.
Add a new record
To add a new DNS record:
- Go to the Domains tab in your team dashboard and select the domain you want to edit.
- At the bottom of the DNS records panel, select Add new record.
- Choose the type of record to create from the dropdown menu and fill in the remaining options. The fields you need to fill out will depend on the type of record you select.
- Select Save to create the record and make the changes live.
Remember, it may take up to a few hours for record changes to propagate.
Note that you can host records for other services (e.g. your mail provider, your backend API, etc.) with us as long as you host at least one website with us that uses the domain.
If you're adding DNS records as part of the process of moving your DNS service to Netlify DNS, your next step is to delegate your domain to Netlify.
Did you find this doc useful?
Your feedback helps us improve our docs.