cli53 0.3.3

Command-line script to administer the Amazon Route 53 DNS service
cli53 is a tool that provides import and export from BIND format and simple command line management of Route 53 domains.

Getting Started

Create a hosted zone:

 cli53 create

Check what we've done:

 cli53 list

Import a BIND zone file:

 cli53 import --file zonefile.txt

Replace with an imported zone, waiting for completion:

 cli53 import --file zonefile.txt --replace --wait

Manually create some records:

 cli53 rrcreate www A --ttl 3600
 cli53 rrcreate www A --ttl 3600 --replace
cli53 rrcreate '' MX '10' '20'

Export as a BIND zone file (useful for checking):

 cli53 export

Create some weighted records:

 cli53 rrcreate www A --weight 10 --identifier server1
 cli53 rrcreate www A --weight 20 --identifier server2

Create an alias to ELB:

 cli53 rrcreate www ALIAS ABCDEFABCDE

Further documentation is available, e.g.:

 cli53 --help
 cli53 rrcreate --help


  sudo pip install cli53

You can then run cli53 from your path:


You need to set your Amazon credentials in the environment as AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY or configure them in ~/.boto. For more information see:


As Amazon limits operations to a maximum of 100 changes, if you perform a large operation that changes over 100 resource records it will be split. An operation that involves deletes, followed by updates such as an import with --replace will very briefly leave the domain inconsistent. You have been warned!

Main features:

  • create hosted zones
  • delete hosted zones
  • list hosted zones
  • import to BIND format
  • export to BIND format
  • create resource records
  • delete resource records
  • works with BIND format zone files we all know and love - no need to edit XML!
  • create AWS weighted records
  • create AWS Alias records to ELB

last updated on:
September 14th, 2012, 12:31 GMT
developed by:
Barnaby Gray
license type:
MIT/X Consortium License 
ROOT \ Internet \ DNS


In a hurry? Add it to your Download Basket!

user rating



What's New in This Release:
  • Check boto version
read full changelog

Add your review!