snippetbashTip
cli53 — Tool for Amazon Route 53. More information: <https://github.com/barnybug/cli53>.
Viewed 0 times
commandroutecli53cliamazonmoretoolfor
Problem
How to use the
cli53 command: Tool for Amazon Route 53. More information: <https://github.com/barnybug/cli53>.Solution
cli53 — Tool for Amazon Route 53. More information: <https://github.com/barnybug/cli53>.List domains:
cli53 listCreate a domain:
cli53 create {{example.com}} --comment "{{comment}}"Export a bind zone file to
stdout:cli53 export {{example.com}}Create a
www subdomain pointing to a relative record in the same zone: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]}} {{example.com}} '{{www 300 CNAME lb.example.com.}}'Create a
www subdomain pointing to an IP address: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}}'Delete a record A:
cli53 {{[rd|rrdelete]}} {{example.com}} {{www}} {{A}}Code Snippets
List domains
cli53 listCreate a domain
cli53 create {{example.com}} --comment "{{comment}}"Export a bind zone file to `stdout`
cli53 export {{example.com}}Create a `www` subdomain pointing to a relative record in the same zone
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]}} {{example.com}} '{{www 300 CNAME lb.example.com.}}'Context
tldr-pages: common/cli53
Revisions (0)
No revisions yet.