Guides - Linode CLI Commands for the DNS Manager

Access the entire Linode platform from the command line, easily adding, removing, or modifing services.

Create a Linode account to try this guide with a $ credit.
This credit will be applied to any valid services used during your first  days.
  1. List the Domains on your account:

    linode-cli domains list
  2. View all domain records in a specific Domain:

    linode-cli domains records-list $domain_id
  3. Delete a Domain:

    linode-cli domains delete $domain_id
  4. Create a Domain:

    linode-cli domains create --type master --domain --soa_email
  5. Create a new A record in a Domain:

    linode-cli domains records-create $domain_id --type A --name subdomain --target

This page was originally published on

Your Feedback Is Important

Let us know if this guide was helpful to you.