# Dynamic DNS options for Cloudflare

**URL:** <https://dietpi.com/forum/t/dynamic-dns-options-for-cloudflare/6074>\
**Category:** Troubleshooting\
**Created:** [17 December 2021 12:11 UTC](https://dietpi.com/forum/t/dynamic-dns-options-for-cloudflare/6074 "2021-12-17T12:11:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![eng3](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/e/91b2a8/32.png) [@eng3](https://dietpi.com/forum/u/eng3)\
**Post date:** [17 December 2021 12:11 UTC](https://dietpi.com/forum/t/dynamic-dns-options-for-cloudflare/6074/1 "2021-12-17T12:11:20Z")

</div>

I setup a rpi 3 b+ to run wireguard and would like to setup dynamic DNS to update my cloudflare DNS.  
I just put on a new image (armv7 32-bit)

I noticed dietpi comes with a built in dynamic DNS client. I notice a “custom URL” option that can be specified. Is this something that can be used with cloudflare?

Alterntaively, I tried installing ddclient (apt-get install ddclient libio-socket-ssl-perl) but I get this error:

```nohighlight
Can't load '/usr/lib/arm-linux-gnueabihf/perl/5.32/auto/Sys/Hostname/Hostname.so' for module Sys::Hostname: /usr/lib/arm-linux-gnueabihf/perl/5.32/auto/Sys/Hostname/Hostname.so: invalid ELF header at /usr/lib/arm-linux-gnueabihf/perl-base/XSLoader.pm line 93.
 at /usr/lib/arm-linux-gnueabihf/perl/5.32/Sys/Hostname.pm line 24.
Unrecognized character \x11; marked by <-- HERE after <-- HERE near column 1 at /usr/share/perl/5.32/PerlIO.pm line 1.
Compilation failed in require at /usr/share/perl5/IO/Socket/SSL/PublicSuffix.pm line 165.
BEGIN failed--compilation aborted.

```

It doesn’t matter though since I found that ddclient [no longer works with cloudflare](https://github.com/ddclient/ddclient/issues/361) in it’s latest release (over a year ago).  
If the built-in dietpi DDNS client doesn’t support cloudflare and ddclient doesnt either, can anyone suggest an alternative?

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [18 December 2021 00:04 UTC](https://dietpi.com/forum/t/dynamic-dns-options-for-cloudflare/6074/2 "2021-12-18T00:04:56Z")

</div>

it should be possible to use the custom option inside dietpi-ddns, if you have an update link to update your DDNS. You could simply try it out.

---

<div class="post-metadata">

**Author:** ![eng3](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/e/91b2a8/32.png) [@eng3](https://dietpi.com/forum/u/eng3)\
**Post date:** [18 December 2021 11:59 UTC](https://dietpi.com/forum/t/dynamic-dns-options-for-cloudflare/6074/3 "2021-12-18T11:59:32Z")

</div>

I dont know the update link for cloudflare hence the question

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [18 December 2021 14:11 UTC](https://dietpi.com/forum/t/dynamic-dns-options-for-cloudflare/6074/4 "2021-12-18T14:11:15Z")

</div>

usually there should be some FAQ on Cloudflare website on how to update the DDNS from external.

---

<div class="post-metadata">

**Author:** ![abdulmalekA](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/a/c6cbf5/32.png) [@abdulmalekA](https://dietpi.com/forum/u/abdulmalekA)\
**Post date:** [22 April 2023 13:15 UTC](https://dietpi.com/forum/t/dynamic-dns-options-for-cloudflare/6074/5 "2023-04-22T13:15:49Z")

</div>

I have the same problem do you mange to find the url ?

---

<div class="post-metadata">

**Author:** ![WarHawk](https://dietpi.com/forum/user_avatar/dietpi.com/warhawk/32/21_2.png) [@WarHawk](https://dietpi.com/forum/u/WarHawk)\
**Post date:** [24 April 2023 06:04 UTC](https://dietpi.com/forum/t/dynamic-dns-options-for-cloudflare/6074/6 "2023-04-24T06:04:25Z")

</div>

[Use dynamic IP addresses · Cloudflare DNS docs](https://developers.cloudflare.com/dns/manage-dns-records/how-to/managing-dynamic-ip-addresses#:~:text=Cloudflare%20DNS%20can%20be%20updated%20via%20the%20Cloudflare,DNS%20entries%20for%20accounts%20on%20various%20DNS%20providers.)
