cli53

Command-line script to administer the Amazon Route 53 DNS service
Download

cli53 Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Barnaby Gray
  • Publisher web site:

cli53 Tags


cli53 Description

cli53 is a tool that provides import and export from BIND format and simple command line management of Route 53 domains.Getting StartedCreate a hosted zone: cli53 create example.comCheck what we've done: cli53 listImport a BIND zone file: cli53 import example.com --file zonefile.txtReplace with an imported zone, waiting for completion: cli53 import example.com --file zonefile.txt --replace --waitManually create some records: cli53 rrcreate example.com www A 192.168.0.1 --ttl 3600 cli53 rrcreate example.com www A 192.168.0.2 --ttl 3600 --replace cli53 rrcreate example.com '' MX '10 192.168.0.1' '20 192.168.0.2'Export as a BIND zone file (useful for checking): cli53 export example.comCreate some weighted records: cli53 rrcreate example.com www A 192.168.0.1 --weight 10 --identifier server1 cli53 rrcreate example.com www A 192.168.0.2 --weight 20 --identifier server2Create an alias to ELB: cli53 rrcreate example.com www ALIAS ABCDEFABCDE dns-name.elb.amazonaws.com.Further documentation is available, e.g.: cli53 --help cli53 rrcreate --helpInstallation sudo pip install cli53You can then run cli53 from your path: cli53You 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: http://code.google.com/p/boto/wiki/BotoConfigCaveatsAs 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!Product's homepage


cli53 Related Software