cli53: add page (#11361)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
pull/23/head
Rodrigo Stuchi 2023-11-02 16:10:07 -03:00 committed by K.B.Dharun Krishna
parent d85c846d48
commit 20878f17b2
No known key found for this signature in database
GPG Key ID: 1B8ECA406788AFA4
1 changed files with 36 additions and 0 deletions

36
pages/common/cli53.md Normal file
View File

@ -0,0 +1,36 @@
# cli53
> Command line tool for Amazon Route 53.
> More information: <https://github.com/barnybug/cli53>.
- List domains:
`cli53 list`
- Create a domain:
`cli53 create {{mydomain.com}} --comment "{{comment}}"`
- Export a bind zone file to `stdout`:
`cli53 export {{mydomain.com}}`
- Create a `www` subdomain pointing to a relative record in the same zone:
`cli53 {{rc|rrcreate}} {{mydomain.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.'}}`
- Create a `www` subdomain pointing to an IP address:
`cli53 {{rc|rrcreate}} {{mydomain.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'}}`
- Delete a record A:
`cli53 {{rd|rrdelete}} {{mydomain.com}} {{www}} {{A}}`