Skip to content

Manage DNS records

Learn how to manage DNS records for your domains on Vercel.

Once a domain has been added and is using Vercel's Nameservers, all of its DNS Records can be found by selecting the domain from the Domains page. From there, you can view, add, verify, and remove the records. You can also adjust the email presets, if necessary.

This document will guide you through each of these options.

Note: To make sure DNS records are applied, and to allow you to manage them, your domain needs to use Vercel's nameservers. If you are using a third-party domain, you will be provided with the Vercel nameservers to copy and use with your registrar.

On the dashboard, click on the Domains tab:

Selecting the Domains tab from the Vercel Dashboard page.

Once on the Domains tab, click on a domain of your choice to view its Advanced Settings page.

Selecting the domain to view its Advanced Settings page.

Once on the Advanced Settings page of your domain, fill out the DNS Record form and click on the Add button.

DNS Records form to add a new DNS Record.

You can then create a new DNS record with the following data:

  • Name: The prefix or location of the record. For www.example.com, the name argument would be www.
  • Type: Types can be A, AAAA, ALIAS, CAA, CNAME, MX, SRV, or TXT.
  • Value: The value of the record.
  • TTL: Default is 60 seconds. For advanced users, this value can be customized.
  • More: Some records will require more data. MX records, for example, will request "priority".
Note: Once a DNS record has been added, it can take up to 24 hours to the DNS records to fully update and any local caches to be cleared.

Once DNS records have been changed, you may wish to check that these have been set correctly. There are many third-party tools that do this, such as DNS Checker and DNS Map - these show the state of your DNS records in different regions of the world.

You can also use the terminal to check the DNS record for your domain, examples of doing this for the records above are found below:

$ dig A api.example.com +short

Verifying the A record set for a domain using the terminal.

$ dig MX example.com +short

Verifying the MX record set for a domain using the terminal.

If you need to remove DNS records, you can do so once again by using the DNS UI.

Default records can't be removed. However, new records can override them if required.

Vercel does not provide an email service. To be able to receive emails through a Domain that you've added to Vercel, you need to add the respective DNS Records of type MX.

For most common third-party email providers, Vercel helps with this process by allowing you to add those missing DNS Records using so-called DNS Email Presets on your dashboard.

In order to make use of them, navigate to the Domains page of your Personal Account or Team, click the Domain of your choice and click the Add Email Preset button on the right:

Adding a DNS Email Preset by clicking the Add Email Preset button.

You will be presented with a list of commonly used third-party email providers. If yours is in the list, select it and the necessary MX DNS Records will automatically be configured on your Domain.

If your email provider is not in the list, please refer to their documentation and dashboard to find out which MX DNS Records you need to add.