twistedgrim / route53-dyndns

A simple dynamic DNS service for Route53.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amazon Route53 Dynamic DNS Tool

A simple dynamic DNS service for Route53.

Retrieving your external IP

This service performs a DNS query to retrieve your IP address from an OpenDNS resolver. This method arguably faster and more reliable than using an http(s) service.

Similar functionality could be done via the shell using dig: dig +short myip.opendns.com @resolver1.opendns.com;

It now supports the ability to set multiple A records (including a wildcard) your WAN IP address.

Usage

docker run -d \
    --name route53 \
    -e AWS_ACCESS_KEY_ID= \
    -e AWS_SECRET_ACCESS_KEY= \
    -e AWS_CONNECTION_REGION=us-east-1 \
    -e ROUTE53_DOMAIN_A_RECORDS= \
    -e ROUTE53_UPDATE_FREQUENCY=10800 \
    -e ROUTE53_RECORD_TTL=300 \
    bradqwood/route53-dyndns

Required Environment Variables

  • AWS_ACCESS_KEY_ID - An AWS Access Key
  • AWS_SECRET_ACCESS_KEY - An AWS Secret Key
  • AWS_CONNECTION_REGION - The AWS region for connections
  • ROUTE53_DOMAIN_A_RECORDS - The A record(s) to update, such as myhouse.domain.com,*.domain.com
  • ROUTE53_UPDATE_FREQUENCY - The frequency (in seconds) to check for updates. Unless you have very specific needs, consider using a very large value here.
  • ROUTE53_RECORD_TTL - The TTL of the A Record in seconds

Credit

Heavily influenced by:

About

A simple dynamic DNS service for Route53.


Languages

Language:Python 82.2%Language:Shell 12.4%Language:Dockerfile 5.3%