Giter Site home page Giter Site logo

r53_dns_updater's Introduction

r53-dns-updater

Build Status

r53_dns_updater will keep an AWS Route53 DNS record up-to-date against the actual public IP of the host it's run on.

This means it can be used as a cheap and easy way to keep a DNS record pointed towards your non-static home network IP.

Usage

Simply run r53_dns_updater --help for usage information and important notes.

r53_dns_updater is intended to be run via a scheduler (like cron). Simply run it however often you want, and it'll do the rest.

Installation

r53_dns_updater requires only python3 and a few pip modules. Simply run pip install -r requirements.txt and run the script!

Configuration

This script uses boto3, which assumes your AWS credentials are in at least one of a few locations. The easiest way is to set environment variables, but there are a number of other configuration methods. For further instruction on setting up your AWS credentials, see this documentation: http://boto3.readthedocs.io/en/latest/guide/configuration.html

r53_dns_updater's People

Contributors

zhimsel avatar

Stargazers

 avatar

Watchers

 avatar  avatar

r53_dns_updater's Issues

r53-dns-updater still occasionally gets public IP as 8.8.8.8

This was supposed to have been fixed in ef403bb; it did greatly reduce the frequency of this error, but it still does happen (every few days now, instead of multiple times per day).

I'm thinking the easiest way is to simply blacklist 8.8.8.8 as a possible public IP, but I'm hesitant to hard-code anything like that. I'll have to think about some other options.

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.