mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 13:53:34 +00:00
Update cheatsheets
This commit is contained in:
14
tldr/cli53
14
tldr/cli53
@@ -14,28 +14,28 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Create a domain:
|
||||
|
||||
`cli53 create {{mydomain.com}} --comment "{{comment}}"`
|
||||
`cli53 create {{example.com}} --comment "{{comment}}"`
|
||||
|
||||
- Export a bind zone file to `stdout`:
|
||||
|
||||
`cli53 export {{mydomain.com}}`
|
||||
`cli53 export {{example.com}}`
|
||||
|
||||
- Create a `www` subdomain pointing to a relative record in the same zone:
|
||||
|
||||
`cli53 {{rc|rrcreate}} {{mydomain.com}} {{'www 300 CNAME lb'}}`
|
||||
`cli53 {{[rc|rrcreate]}} {{example.com}} {{'www 300 CNAME lb'}}`
|
||||
|
||||
- Create a `www` subdomain pointing to an external address (must end with a dot):
|
||||
|
||||
`cli53 {{rc|rrcreate}} {{mydomain.com}} {{'www 300 CNAME lb.externalhost.com.'}}`
|
||||
`cli53 {{[rc|rrcreate]}} {{example.com}} {{'www 300 CNAME lb.example.com.'}}`
|
||||
|
||||
- Create a `www` subdomain pointing to an IP address:
|
||||
|
||||
`cli53 {{rc|rrcreate}} {{mydomain.com}} {{'www 300 A 150.130.110.1'}}`
|
||||
`cli53 {{[rc|rrcreate]}} {{example.com}} {{'www 300 A 150.130.110.1'}}`
|
||||
|
||||
- Replace a `www` subdomain pointing to a different IP:
|
||||
|
||||
`cli53 {{rc|rrcreate}} --replace {{'www 300 A 150.130.110.2'}}`
|
||||
`cli53 {{[rc|rrcreate]}} --replace {{'www 300 A 150.130.110.2'}}`
|
||||
|
||||
- Delete a record A:
|
||||
|
||||
`cli53 {{rd|rrdelete}} {{mydomain.com}} {{www}} {{A}}`
|
||||
`cli53 {{[rd|rrdelete]}} {{example.com}} {{www}} {{A}}`
|
||||
|
||||
Reference in New Issue
Block a user