This article will help you migrate your DNS configuration to another provider and avoid downtime.
To locate the current DNS provider of your domain, you can run the following command:
dig NS example.com +short
The result will show the current DNS authority. Next, you'll need to locate your DNS records from the provider's dashboard. If you are using Vercel, the DNS configuration is located in your dashboard.
After you've successfully located all records associated with your domain, you can either download a "zone file" or copy each record manually to the new provider.
To verify the records, you can query the DNS configuration served by the future DNS authority:
dig A api.example.com +short @ns1.vercel-dns.com
If you were moving your DNS to Cloudflare, for example, the correct command would be:
dig A api.example.com +short @188.8.131.52
Before proceeding, we recommend checking every record you moved. For more insight into the DNS resolution, remove the
In your registrar's dashboard (where you bought the domain), change the Nameservers to your new provider. Nameserver changes can take up to 48 hours to propagate. If you bought the domain from Vercel, reach out to Vercel Support for the Nameserver change.