vercel dns command is used to manage DNS record for domains, providing functionality to list, add, remove, and import records.
vercel dns ls
vercel dns add [domain] [subdomain] [A || AAAA || ALIAS || CNAME || TXT] [value]
vercel dns add [domain] '@' MX [record-value] [priority]
vercel dns add [domain] [name] SRV [priority] [weight] [port] [target]
vercel dns add [domain] [name] CAA '[flags] [tag] "[value]"'
vercel dns rm [record-id]
vercel dns import [domain] [path-to-zonefile]
The following global options can be passed when using the
vercel dns command:
For more information on global options and their usage, refer to the options section.