Created
December 9, 2024 10:50
-
-
Save frankpanduh/d62b48df89cdebd173fa0d4dedf79db2 to your computer and use it in GitHub Desktop.
DDclient.conf for IPV4/IPv6 dual stack config for Cloudflare. (Ubuntu 24.04)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
daemon=300 # check every 300 seconds | |
syslog=yes # log update msgs to syslog | |
pid=/var/run/ddclient.pid # record PID in file | |
ssl=yes # use TLS | |
usev4=webv4, webv4=https://api.ipify.org | |
usev6=webv6, webv6=https://api6.ipify.org | |
web-skip='ip=' # IP address above is after 'ip=' | |
protocol=cloudflare, \ | |
zone=YOUR-ZONE-ID, \ | |
ttl=1, | |
password='API-TOKEN', | |
example.domain, sub.example.domain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Based on the fix from an idea from this reply:
ddclient/ddclient#599 (comment)
Needed a fix for DDclient to print both IPV4 and IPV6 addresses to records not just ipv6 on the Dual Stack rig I'm using.
Here for reference if anyone knows a cleaner method using:
https://cloudflare.com/cdn-cgi/trace vs api.ipify.org would also be rad.
As I found https://cloudflare.com/cdn-cgi/trace to only update ipv6, and completely disregard ipv4.