Skip to main content Help Configuring DDNS with CloudFlare : r/openwrt
Go to openwrt
•
[deleted]

Help Configuring DDNS with CloudFlare

[SOLVED]

See u/mazixoom comment and his settings below - this is what worked for me!

​---

Wondering if anyone can help me surmount this error? I'm trying to engage the DDNS service to update my IP on CloudFlare.

Seems like the main problem is a lack of https in libcurl, but I really don't want to have to rebuild the whole image just for this. Any thoughts about what I might be doing wrong?

 235855  note : PID '29261' started at 2022-10-17 23:58
 235855       : ddns version  : 2.8.2-12
 235855       : uci configuration:
ddns.myddns_ipv4.cacert='/etc/ssl/certs'
ddns.myddns_ipv4.check_unit='minutes'
ddns.myddns_ipv4.dns_server='1.1.1.1'
ddns.myddns_ipv4.domain='********.com'
ddns.myddns_ipv4.enabled='1'
ddns.myddns_ipv4.force_unit='minutes'
ddns.myddns_ipv4.interface='eth0'
ddns.myddns_ipv4.ip_source='web'
ddns.myddns_ipv4.ip_url='http://checkip.dyndns.com/'
ddns.myddns_ipv4.lookup_host='*******.com'
ddns.myddns_ipv4.password='***PW***'
ddns.myddns_ipv4.retry_unit='seconds'
ddns.myddns_ipv4.service_name='cloudflare.com-v4'
ddns.myddns_ipv4.use_https='1'
ddns.myddns_ipv4.use_ipv6='0'
ddns.myddns_ipv4.use_syslog='2'
ddns.myddns_ipv4.username='Bearer'
ddns.myddns_ipv4=service
 235855       : verbose mode  : 0 - run normal, NO console output
 235855       : check interval: 600 seconds
 235855       : force interval: 4320 seconds
 235855       : retry interval: 60 seconds
 235855       : retry counter : 0 times
 235855       : No old process
 235855       : last update: never
 235855       : Verify DNS server '1.1.1.1'
 235855       : #> /usr/bin/nc -w 1 1.1.1.1 53 </dev/null >/var/run/ddns/myddns_ipv4.dat 2>/var/run/ddns/myddns_ipv4.err
 235905       : Detect registered/public IP
 235905       : #> /usr/bin/host -t A ******.c** 1.1.1.1 >/var/run/ddns/myddns_ipv4.dat 2>/var/run/ddns/myddns_ipv4.err
 235905       : Registered IP 'XXX.XX.XX.XX' detected
 235905  info : Starting main loop at 2022-10-17 23:59
 235905       : Detect local IP on 'web'
 235905 ERROR : cURL: libcurl compiled without https support - TERMINATE
 235905  WARN : PID '29261' exit WITH ERROR '1' at 2022-10-17 23:59
Sort by:
Best
Open comment sort options

Can you modify to use:
curl -k

That ignores ssl errors.

[deleted]
•

Hmm, that curl command is being issued by whatever the ddns-scripts-cloudflare package comes with.

I could break into that package and change it... Will do this when I get home and see if it solves this problem. Thanks!

More replies

Can you install ca-certificates and see if that fixes it?

[deleted]
•

Already installed, sadly :(

More replies
More replies

That is a known issue w/ libcurl and I read on the forums that a patch is being pushed out

I was getting curl error 132. Have all the same packages installed, etc. DDNS with cloud flare still not working.

[deleted]
•

Check out the comments from u/mazixoom and see if you can replicate - his settings worked for me. Key was that @ symbol

More replies