Domains commands
Basic command examples
Here are some common tasks for your DNS Manager domains you can perform with the Linode CLI.
List your domains
Run this command to view all of the domains on your account:
linode-cli domains list
View specific domain records
Run this command to view all domain records in a specific domain:
linode-cli domains records-list $domain_id
Delete a domain
linode-cli domains delete $domain_id
Create a domain
linode-cli domains create --type master --domain www.example.com --soa_email email@example.com
Create a new A record in a domain
linode-cli domains records-create $domain_id --type A --name subdomain --target 192.0.2.0
Updated about 3 hours ago
