36 lines
1.3 KiB
Text
36 lines
1.3 KiB
Text
# MozOut dynamic DNS settings.
|
|
# Copy to /etc/mozout-ddns.conf and keep it private: chmod 600.
|
|
# Plain KEY=value lines, read by the script and by systemd (EnvironmentFile).
|
|
|
|
# API key with the dns:read and dns:write permissions. Create it on the API page of My MozOut.
|
|
# Test first with a sandbox_ key: nothing changes in the zone.
|
|
MOZOUT_API_KEY=prod_your_key_here
|
|
|
|
# Your domain, and the names to keep up to date (space separated). @ is the domain itself.
|
|
DDNS_DOMAIN=example.com
|
|
DDNS_NAME="home"
|
|
|
|
# A (IPv4), AAAA (IPv6) or both.
|
|
DDNS_TYPE=A
|
|
|
|
# Seconds other servers may keep the old address. Low is better for a dynamic IP.
|
|
DDNS_TTL=300
|
|
|
|
# Where the public IP comes from. By default an address service on the internet is asked.
|
|
# DDNS_IP4_URL="https://api.ipify.org https://ipv4.icanhazip.com"
|
|
# DDNS_IP6_URL="https://api6.ipify.org https://ipv6.icanhazip.com"
|
|
# On a router whose WAN interface has the public IP, read it from there instead:
|
|
# DDNS_IFACE=wan
|
|
# DDNS_IFACE6=wan6
|
|
|
|
# Ask the API again after this many hours even if the IP did not change (fixes manual edits).
|
|
# DDNS_FORCE_HOURS=24
|
|
|
|
# Delete other records with the same name and type, so only the current IP answers.
|
|
# DDNS_DELETE_EXTRA=no
|
|
|
|
# Seconds between checks with --loop (Docker). 60 or more.
|
|
# DDNS_INTERVAL=300
|
|
|
|
# Also write changes and errors to the system log (OpenWrt: logread).
|
|
# DDNS_SYSLOG=no
|