Set Up DDNS‑GO in 3 Minutes for Seamless Dynamic IP Access
This guide shows how to quickly configure the open‑source DDNS‑GO tool with Docker, obtain API keys from DNS providers, and secure the web interface, enabling reliable remote access to home or office networks despite constantly changing public IP addresses.
Why Choose DDNS‑GO?
DDNS‑GO is an open‑source dynamic DNS service that supports over 20 DNS providers such as Alibaba Cloud, Tencent Cloud, Huawei Cloud, and Cloudflare. It offers a web UI, IPv4/IPv6 support, and can run on routers, Raspberry Pi, or servers.
Preparation (Only Two Things Needed)
1. A registered domain (or free sub‑domain)
You can purchase a primary domain from Alibaba Cloud or Tencent Cloud, or use a free foreign domain that does not require ICP filing. Alibaba Cloud also provides free sub‑domains with real‑name verification.
2. DNS provider API credentials
For Alibaba Cloud, create a RAM user, grant the AliyunDNSFullAccess policy, and obtain the AccessKey ID and AccessKey Secret. Security tip: Do not use the main account’s AK; create a sub‑account with minimal permissions.
One‑Click Deployment (Simplest Docker Method)
Run the following commands to start DDNS‑GO in a container. The first command creates a data directory; the second launches the container with automatic restart, proper user permissions, timezone set to Asia/Shanghai, and port 9876 exposed.
# 1. Create data directory
sudo mkdir -p /opt/ddns-go/data
# 2. Start container (first access opens the web setup wizard)
docker run -d \
--name ddns-go \
--restart=always \
--user "$(id -u):$(id -g)" \
-e TZ=Asia/Shanghai \
-p 9876:9876 \
-v /opt/ddns-go/data:/app/data \
jeessy/ddns-go:latestWeb Interface Configuration
Open http://<em>your‑server‑ip</em>:9876 in a browser, select language, and set a strong admin password.
In the DNS settings, choose your provider (e.g., Alibaba Cloud), enter the AccessKey ID and Secret, and add the domain record (e.g., nas.xlsys.cn). Save the configuration; DDNS‑GO will check the public IP every 10 minutes and update the DNS record automatically.
Security Hardening
Set a strong password: The web UI has no password by default; set one immediately.
Restrict access IPs: Use a firewall to allow only trusted office IPs to reach port 9876.
Conclusion
DDNS‑GO does more than automatically update IP addresses; it empowers homes, small teams, and edge devices with enterprise‑grade remote access, turning complex networking into a simple, user‑friendly solution.
Xiao Liu Lab
An operations lab passionate about server tinkering 🔬 Sharing automation scripts, high-availability architecture, alert optimization, and incident reviews. Using technology to reduce overtime and experience to avoid major pitfalls. Follow me for easier, more reliable operations!
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
