Managing DNS Records
Learn how to add, verify, and remove DNS records for your domains on Vercel with this guide.Once a domain has been added and is using Vercel's nameservers, you can view its DNS records from the Domains page. From there, you can view, add, verify, remove the records, or add presets.
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 your team's dashboard, select the Domains tab. From the Domains page, click on a domain of your choice to view its Advanced Settings page.
Once on the Advanced Settings page of your domain, select the Enable Vercel DNS button to fill out the DNS Record form. Once complete, click on the Add button.
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
,HTTPS
,MX
,NS
,SRV
, orTXT
. -
Value: The value of the record.
-
TTL: Default is 60 seconds. For advanced users, this value can be customized.
-
Comment: An optional comment to provide context on what this record is for.
-
More: Some records will require more data. MX records, for example, will request "priority".
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 dig
command to check the DNS record for your domain:
$ dig A api.example.com +short
$ dig MX example.com +short
To remove DNS records:
- On your team's dashboard, select the Domains tab. From the Domains page, click on a domain of your choice to view its Advanced Settings page.
- Select the ellipsis (⋯) to access the context menu and select Delete DNS Zone. Follow the prompts to delete the record.
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 or add specific DNS configurations through a domain that you've added to Vercel, you need to add the respective DNS Records, such as MX for email or TXT for other services.
Vercel streamlines this process for common third-party services by allowing you to add missing DNS Records using DNS Presets on your dashboard.
- From your dashboard, navigate to the Domains tab.
- Select the domain you wish to add a preset to and click the Add DNS Preset dropdown on the right:
- You will be presented with a list of commonly used third-party providers. If your provider is listed, select it, and the necessary DNS Records—such as MX for email or TXT for other services like Bluesky will automatically be configured on your domain.
If your provider is not listed, please refer to their documentation to find out which DNS Records you need to add.
Was this helpful?