Skip to content

DuckDNS

Free dynamic DNS service — keeps a domain name pointed at your home IP address, even if it changes.

Imagelscr.io/linuxserver/duckdns:latest
Web UINone (background service)
Config path{BASE_DIR}/duckdns/config
NetworkHost mode
Websiteduckdns.org
Source codeGitHub

Resource Impact

PerformanceLow — DNS updater
StorageLow — Background service

Installation

sh
mithrandir install duckdns

Required Secrets

VariableDescription
DUCKDNS_SUBDOMAINSYour DuckDNS subdomain (e.g., myhomelab)
DUCKDNS_TOKENYour DuckDNS API token

Get your subdomain and token at duckdns.org.

Notes

  • DuckDNS is a background service with no web UI
  • It periodically updates your DuckDNS domain to point at your current public IP
  • Required for HTTPS setup (Caddy uses DuckDNS for certificate provisioning)
  • Runs in host networking mode

Setup

Go to the DuckDNS website, login using one of the provided methods, and add a subdomain. Current IP should be your public IP address. Then make sure to save your token and the subdomain in your .env file.