From 20878f17b29895e0b81a6d55aa59efe17bbd7209 Mon Sep 17 00:00:00 2001 From: Rodrigo Stuchi Date: Thu, 2 Nov 2023 16:10:07 -0300 Subject: [PATCH] cli53: add page (#11361) Co-authored-by: K.B.Dharun Krishna Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/common/cli53.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/cli53.md diff --git a/pages/common/cli53.md b/pages/common/cli53.md new file mode 100644 index 000000000..fb53c8d58 --- /dev/null +++ b/pages/common/cli53.md @@ -0,0 +1,36 @@ +# cli53 + +> Command line tool for Amazon Route 53. +> More information: . + +- 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}}`