Sign inSign up

andrewgjohns/dynodns

By andrewgjohns

Updated 10 months ago

Update DNS A record when your IP address changes Currently works with Route53, Cloudflare, Gandi

Image
Networking
Internet of things
Developer tools
1

1.1K

andrewgjohns/dynodns repository overview

andrewgjohns/dynodns is a lightweight, multi-architecture Docker image that automatically updates your DNS A records with your server’s current public IP address. It currently supports AWS Route53 and is designed with a pluggable provider system for future support (Cloudflare, DigitalOcean, etc.).

Source code and CI/CD setup available on GitLab.

Features

  • Detects your public IPv4 address automatically
  • Updates DNS A records if the IP has changed
  • Supports multi-architecture builds (amd64 and arm64)
  • Designed for Docker deployments and cron scheduling
  • Easy configuration via environment variables

Configuration

All settings are provided via environment variables (use a .env file for convenience):

PROVIDER=route53
ZONE_ID=your_zone_id
RECORD_NAME=your.domain.com
AWS_ACCESS_KEY_ID=xxxx
AWS_SECRET_ACCESS_KEY=xxxx
AWS_REGION=eu-west-1

Usage

docker run --env-file .env andrewgjohns/dynodns:latest

Tag summary

Content type

Image

Digest

sha256:14690475a

Size

58.5 MB

Last updated

10 months ago

docker pull andrewgjohns/dynodns