How-to

Managing DNS Records

Learn how to add, verify, and remove DNS records for your domains on Vercel with this guide.
Table of Contents

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.

  1. 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.

  2. 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.

    DNS Records form to add a new DNS Record.
    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, HTTPS, MX, NS, SRV, or TXT.

    • 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:

terminal
$ dig A api.example.com +short
Verifying the A record set for a domain using the terminal.
terminal
$ dig MX example.com +short
Verifying the MX record set for a domain using the terminal.

To remove DNS records:

  1. 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.
  2. 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.

Removing a DNS record from the DNS UI.
Removing a DNS record from the DNS UI.

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.

  1. From your dashboard, navigate to the Domains tab.
  2. Select the domain you wish to add a preset to and click the Add DNS Preset dropdown on the right:
    Adding a DNS Preset by clicking the Add DNS Preset button.
    Adding a DNS Preset by clicking the Add DNS Preset button.
  3. 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.

Last updated on July 24, 2024