selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
ddns-go logo

Self-host ddns-go

v6.17.8

Lightweight dynamic DNS updater with web UI and webhooks

ReleaseOpen SourceMIT
docker run -d --name ddns-go --restart=always --net=host -v /opt/ddns-go:/root jeessy/ddns-go
Updated4 days ago
LanguageGo
Setup difficultyEasy
Stars
17 548
Port
9876 (Web configuration UI)
Docker
jeessy/ddns-go
Web configuration interface with DNS provider and domain settings

What is ddns-go?

Should you self-host ddns-go?

ddns-go scores 74/100 on selfhost.directory (how scoring works) and ranks #7 of 41 in DNS. It has 17 548 GitHub stars, +138 in the last 30 days.

It shipped 16 stable releases in the past year. The latest, v6.17.8, came out on 9 November 2026. New versions land roughly every 3 days.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is Pi-hole (87/100, 61 908 stars). It scores higher overall, so compare the two before you pick. See ddns-go vs Pi-hole side by side.

Features

  • CLI password reset
  • Configurable sync interval
  • Custom callback for extra DNS providers
  • Custom provider parameters (geo/multi-IP)
  • Dynamic DNS updates (IPv4/IPv6)
  • In-app log viewer
  • IP detection via API, interface or command
  • Multi-level domain support
  • Multiple DNS providers
  • Multiple domains
  • Restrict web UI from public network
  • Runs as a system service
  • TTL control
  • Web-based configuration UI
  • Webhook Notifications

ddns-go README

How to install ddns-go

Install ddns-go with Docker

docker run -d --name ddns-go --restart=always --net=host -v /opt/ddns-go:/root jeessy/ddns-go

Optional ghcr.io mirror:

docker run -d --name ddns-go --restart=always --net=host -v /opt/ddns-go:/root ghcr.io/jeessy2/ddns-go

Without host network:

docker run -d --name ddns-go --restart=always -p 9876:9876 -v /opt/ddns-go:/root jeessy/ddns-go

After starting, open http://DOCKER_IP:9876 in a browser for initial configuration.

How to configure ddns-go

  • -lListen address for the web UI
  • -fSync frequency in seconds (default interval is 5 minutes)
  • -cacheTimesInterval of N checks before comparing with the DNS service provider
  • -cCustom configuration file path
  • -nowebDo not start the web service

ddns-go releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

On Android it fails with [::1]:53: read: connection refused?

Pass a DNS server explicitly at install, e.g. ./ddns-go -s install -dns 114.114.114.114.

"For security, when accessed via the public network the first configuration is only allowed within 5 minutes of service start" when saving?

Restart ddns-go, keep the page open and save again, or save while accessing it through the LAN IP.

Is DynV6 supported?

Yes, indirectly: choose Callback as the DNS provider, point the callback URL at DynV6's update API with your token, and list your domains.

Cloudflare API error code 1038?

Cloudflare does not allow updating DNS via API for Freenom free TLDs (.cf, .ga, .gq, .ml, .tk); switch to another TLD or move the nameservers to a provider that supports it.

CPU is ARMv7 Processor rev 0 (v7l) and the armv7 build does not run?

Download the armv5 architecture build of ddns-go instead.

Error x509: certificate signed by unknown authority?

Install a trusted certificate, or add the -skipVerify option at startup to skip certificate verification.

After enabling "deny public access" the web UI is unreachable via the domain?

Only networks following RFC 1918 private ranges are allowed: 10.0.0.0-10.255.255.255, 172.16.0.0-172.31.255.255 and 192.168.0.0-192.168.255.255.

Forgot the username or password?

The username and password are stored in the configuration file, by default .ddns_go_config.yaml in the current user's directory.

Aliyun error code InvalidTimeStamp.Expired?

Your machine's clock differs from Aliyun's servers by more than 15 minutes; correct your system time.

More in DNS

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…