Thanks to visit codestin.com
Credit goes to github.com

Skip to content

alexfrydl/ddns-route53

Repository files navigation

ddns-route53

A tiny daemon that monitors the host's public IP for changes and updates one or more records in Amazon Route 53.

This can be used to implement dynamic DNS for your own domains.

Usage

> ddns-route53 example1.com test.example2.com
[2024-09-20 19:24:12] Public IP is 123.123.123.123.
[2024-09-20 19:24:12] Updated `example1.com` to 123.123.123.123.
[2024-09-20 19:24:12] Updated `test.example2.com` to 123.123.123.123.

Docker Compose

services:
  app:
    image: alexfrydl/ddns-route53
    command:
      - example1.com
      - example2.com
    environment:
      AWS_ACCESS_KEY_ID: AKIAIOSFODNN7EXAMPLE
      AWS_SECRET_ACCESS_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
      AWS_REGION: us-east-1
    restart: unless-stopped

Details

AWS credentials are loaded from the environment. Every five minutes, the daemon uses ipify.org to determine the host's current public IP. Whenever the IP changes, the daemon updates the A records of the domain names given as command line arguments.

About

A dynamic DNS client daemon for Amazon Route 53.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published