52 lines
1.2 KiB
Markdown
52 lines
1.2 KiB
Markdown
# DuckDNS
|
|
|
|
DDNS updater running on box-stableapps (192.168.69.4). Updates two DuckDNS subdomains to point to the current public IP.
|
|
|
|
## Subdomains
|
|
|
|
| Subdomain | Full Domain |
|
|
|-----------|-------------|
|
|
| clintmasden | clintmasden.duckdns.org |
|
|
| dotrepo | dotrepo.duckdns.org |
|
|
|
|
## Credentials
|
|
|
|
| What | Value |
|
|
|------|-------|
|
|
| Token | `4a5a3762-47eb-4836-89d8-60014bab4922` |
|
|
| DuckDNS account | clintmasden@gmail.com |
|
|
|
|
## Server Details
|
|
|
|
| | |
|
|
|---|---|
|
|
| Host | 192.168.69.4 (box-stableapps) |
|
|
| Container | duckdns |
|
|
| Image | lscr.io/linuxserver/duckdns:latest |
|
|
| Ports | None (outbound HTTP only) |
|
|
| Config | `/home/clint/containers/duck.dns/config/` |
|
|
| SSH | `ssh clint@192.168.69.4` (password: `this-bo%-180391`) |
|
|
|
|
## How It Works
|
|
|
|
The container runs a cron job that periodically calls the DuckDNS API to update the A records for both subdomains with the host's current public IP. No inbound ports needed.
|
|
|
|
## Deployment
|
|
|
|
```bash
|
|
ssh clint@192.168.69.4
|
|
cd /home/clint/containers/duck.dns
|
|
sudo docker compose up -d
|
|
```
|
|
|
|
## Verify
|
|
|
|
```bash
|
|
# Check container logs
|
|
docker logs duckdns
|
|
|
|
# Check DNS resolution
|
|
nslookup clintmasden.duckdns.org
|
|
nslookup dotrepo.duckdns.org
|
|
```
|