This Docker Compose configuration sets up DDNS Updater with Tailscale as a sidecar container, enabling secure and private management of your dynamic DNS records over a Tailscale network. Integrating Tailscale ensures that your DDNS Updater instance is accessible only to authorized devices within your Tailnet, enhancing the security of your DNS management.
DDNS Updater is a lightweight, universal program designed to keep your DNS A and/or AAAA records updated across multiple DNS providers. It supports a wide range of DNS services, including Cloudflare, DuckDNS, and many others. Key features include:
- Periodic Updates: Automatically updates DNS records at specified intervals to ensure they always point to your current IP address.
- Web User Interface: Provides a user-friendly web UI for monitoring and managing your DNS records.
- Multi-Provider Support: Compatible with numerous DNS providers, offering flexibility in your DNS management.
- Docker Compatibility: Available as a lightweight Docker image, facilitating easy deployment and integration into existing setups.
By combining DDNS Updater with Tailscale, you can securely manage your dynamic DNS records without exposing the service to the public internet.
In this setup, the tailscale-ddns-updater
service runs Tailscale, providing a secure networking layer for the DDNS Updater service. The ddns-updater
service utilizes Docker's network_mode: service:
configuration to route all traffic through the Tailscale network. This setup ensures that the DDNS Updater's web interface and API are only accessible within your private Tailnet, adding an extra layer of security to your DNS management.