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]
These are options that only apply to the
vercel dns command, therefore, more information is provided.
--limit option can be used to specify the maximum number of dns records returned when using
ls. The default value is
20 and the maximum is
vercel dns ls --limit 100
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.