2025-03-14 21:59:59 -06:00
|
|
|
# cli53
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
> Tool for Amazon Route 53.
|
2025-03-14 21:59:59 -06:00
|
|
|
> More information: <https://github.com/barnybug/cli53>.
|
|
|
|
|
|
|
|
|
|
- List domains:
|
|
|
|
|
|
|
|
|
|
`cli53 list`
|
|
|
|
|
|
|
|
|
|
- Create a domain:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`cli53 create {{example.com}} --comment "{{comment}}"`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Export a bind zone file to `stdout`:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`cli53 export {{example.com}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Create a `www` subdomain pointing to a relative record in the same zone:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`cli53 {{[rc|rrcreate]}} {{example.com}} '{{www 300 CNAME lb}}'`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Create a `www` subdomain pointing to an external address (must end with a dot):
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`cli53 {{[rc|rrcreate]}} {{example.com}} '{{www 300 CNAME lb.example.com.}}'`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Create a `www` subdomain pointing to an IP address:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`cli53 {{[rc|rrcreate]}} {{example.com}} '{{www 300 A 150.130.110.1}}'`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Replace a `www` subdomain pointing to a different IP:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`cli53 {{[rc|rrcreate]}} --replace '{{www 300 A 150.130.110.2}}'`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Delete a record A:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`cli53 {{[rd|rrdelete]}} {{example.com}} {{www}} {{A}}`
|