Use Cloudflare 1.1.1.1/cdn-cgi/trace as primary IP source (fixed IP, no resolver dependency — survives AdGuard/upstream DNS outages). Add calibre to DNS_RECORDS: its A record points at the dynamic WAN IP but was not guarded, so it would go stale on the next WAN change.
27 lines
1 KiB
Shell
27 lines
1 KiB
Shell
# DirectAdmin API credentials
|
|
DA_LOGIN_KEY=your_login_key_here
|
|
DA_USERNAME=your_username
|
|
DA_BASE_URL=https://panel.example.com:2222
|
|
DA_DOMAIN=example.com
|
|
|
|
# WhatsApp API (wwebjs-api)
|
|
WHATSAPP_API_ENDPOINT=http://localhost:3001
|
|
WHATSAPP_SESSION=your_session
|
|
ADMIN_PHONE=31600000000
|
|
|
|
# Matrix report delivery via sherpa
|
|
MATRIX_API_ENDPOINT=https://whatsed.eddydevink.nl
|
|
MATRIX_TOKEN_FILE=/home/aiaiaiaiagent/whatsed-new/secrets/sherpa-token
|
|
MATRIX_ROOM_FILE=/home/aiaiaiaiagent/whatsed-new/secrets/eddy-report-room
|
|
|
|
# DNS records to update (comma-separated, use domain name for apex)
|
|
DNS_RECORDS=example.com,git,nextcloud,plausible,weegschaal,www,whatsed,auth.whatsed,calibre
|
|
|
|
# EuroDynDNS (domeinen in de EuroDNS-zone, bv. eddydev.ink)
|
|
# Gebruikt de EuroDNS site-login / site-password (dyndns2), NIET een API-key.
|
|
EURODYNDNS_USER=your_eurodns_site_login
|
|
EURODYNDNS_PASS=your_eurodns_site_password
|
|
EURODYNDNS_HOSTS=eddydev.ink,www.eddydev.ink
|
|
|
|
# State file path (where to store last known IP)
|
|
STATE_FILE=/var/lib/wan-ip-guard/current_ip
|