Git Product home page Git Product logo

dynboto's Introduction

dynBoto

Short Description: A simply script to dynamically change Route 53 Records

Description: This script goes through a list of user defined subdomains. If those subdomains have an ip which differs from the external IP of the computer running this script, dynBoto will update the Route53 records for those domains.

Usage:

  1. You must install and configure the AWS-CLI software with the creditanls for the Route53 account you wish to update with this script.
  2. You must install the boto3 library for python.
  3. In the directory where dynBoto.py is saved create a text file called 'subdomains' WITH NO EXTENSION
  4. Change HostedZoneId on line 25 & 56 to match the desired hosted zone ID.
  5. Change .YOURURL.HERE to your domain name on line 34.
  6. Optional: Set a cron to run this script at your desired interval, be sure that the cron user is the same user for which you configured the aws-cli in step one. For thirty minutes do this.... */30 * * * * /PATH/TO/PYTHON /PATH/TO/THIS/SCRIPT/dynBoto.py

My cron on debian looks like this... */30 * * * * /usr/bin/python /PATH/TO/THIS/SCRIPT/dynBoto.py

dynboto's People

Contributors

gmarkow avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.