Skip to main content

Vercel CLI now supports verifying DNS configuration

By Steven Van ·

The new vercel domains verify command checks DNS records, nameservers and project attachment, and can output JSON for CI scripts.

The Vercel CLI can now check a domain's DNS setup directly. The new vercel domains verify command inspects ownership, DNS records, nameservers, DNSSEC, conflicting records, and project attachment, then reports whether a domain is correctly configured, attached to the right project, and verified. If something's wrong, it prints the exact records or nameservers to change.

  • Add --format json to get the full diagnosis (status, reason, recommended records, conflicts, and suggested next commands) for use in scripts.
  • The command exits non-zero when a domain is misconfigured or unverified, so it can be used as a check in CI.
  • Use --project to verify against a specific Vercel project's expected records, or --strict to check the exact domain only, without falling back to the parent zone's configuration.

The feature requires Vercel CLI version 54.15.1 or later.

Vercel
Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →

Read the original announcement →

Read Vercel CLI now supports verifying DNS configuration on Creators Toolbox