A tiny, multi-architecture, distroless Docker container that keeps your Namecheap DNS records updated with your current public IP. Powered by Rust for speed, safety, and reliability.
amd64, arm64, arm/v7/data/last_ip)docker run -d \
--name namecheap-ddns \
--restart unless-stopped \
-e NC_DOMAIN="example.com" \
-e NC_PASSWORD="your-ddns-password" \
-e NC_HOSTS="@,www,api" \
-e NC_INTERVAL_SECONDS="300" \
-v namecheap-ddns-data:/data \
elob/namecheap-ddns:latest
View logs:
docker logs -f namecheap-ddns
| Variable | Required | Description |
|---|---|---|
NC_DOMAIN | Yes | Domain (e.g., example.com) |
NC_PASSWORD | Yes | Namecheap DDNS password |
NC_HOSTS | Yes | Comma-separated hosts (@,www,api) |
NC_INTERVAL_SECONDS | No | Update interval (default 300) |
NC_IP_PROVIDERS | No | Custom IP provider list, comma-separated |
| Path | Description |
|---|---|
/data | Stores last_ip cache |
services:
namecheap-ddns:
image: elob/namecheap-ddns:latest
restart: unless-stopped
environment:
NC_DOMAIN: "example.com"
NC_PASSWORD: "your-ddns-password"
NC_HOSTS: "@,www"
NC_INTERVAL_SECONDS: 300
volumes:
- namecheap-ddns:/data
volumes:
namecheap-ddns:
The container communicates with:
https://dynamicdns.park-your-domain.com/update
MIT
Content type
Image
Digest
sha256:fb31a5680…
Size
11.9 MB
Last updated
10 months ago
docker pull elob/namecheap-ddns