Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

42
linode-cli-domains Normal file
View File

@@ -0,0 +1,42 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# linode-cli domains
> Manage Linode Domains and DNS configuration.
> See also: `linode-cli`.
> More information: <https://www.linode.com/docs/products/tools/cli/guides/domains/>.
- List all managed domains:
`linode-cli domains list`
- Create a new managed domain:
`linode-cli domains create --domain {{domain_name}} --type {{master|slave}} --soa-email {{email}}`
- View details of a specific domain:
`linode-cli domains view {{domain_id}}`
- Delete a managed domain:
`linode-cli domains delete {{domain_id}}`
- List records for a specific domain:
`linode-cli domains records-list {{domain_id}}`
- Add a DNS record to a domain:
`linode-cli domains records-create {{domain_id}} --type {{A|AAAA|CNAME|MX|...}} --name {{subdomain}} --target {{target_value}}`
- Update a DNS record for a domain:
`linode-cli domains records-update {{domain_id}} {{record_id}} --target {{new_target_value}}`
- Delete a DNS record from a domain:
`linode-cli domains records-delete {{domain_id}} {{record_id}}`