Skip to content

DuckDNS

Description⚓︎

DuckDNS is free dynamic DNS service hosted on AWS. It provides 5 subdomains for free

Docker⚓︎

Basic info⚓︎

Basic info with official links

docker-compose.yml⚓︎

YAML
---
version: "2.1"
services:
  duckdns:
    image: linuxserver/duckdns:arm32v6-latest #using this on pi zero so armv6 is tagged
    container_name: duckdns
    networks:
      - proxy # rename this to your custom docker network
    environment:
      - PUID=${PUID} #optional
      - PGID=${PGID} #optional
      - TZ=${TZ}
      - SUBDOMAINS="${DD_PRI}","${DD_SEC}"
      - TOKEN="${DD_TOKEN}"
      - LOG_FILE=true #optional
    volumes:
      - "${CFG_DIR}/duckdns:/config" #optional
    restart: unless-stopped

networks:
  proxy:    # rename this to your custom docker network.
    external: true

deploy.sh⚓︎

Bash
mkdir -p "${CFG_DIR}"/duckdns
docker compose up -d