Today I want to show you, how you can use Cloudflare as your DynDNS provider for your FRITZ!Box at home.
Step1: Create a Cloudflare custom API token
Create a Cloudflare API token with read permissions for the scope Zone.Zone
and edit permissions for the scope Zone.DNS
.

Step 2: Set up DynDNS on your FRITZ!Box
FRITZ!Box Setting | Value | Description |
Update URL | https://functions.nicoo.org/function/cloudflare-dyndns?token=<pass>&record=www&zone=example.com&ipv4=<ipaddr>&ipv6=<ip6addr> | Replace the URL parameter record and zone with your domain name.If required you can omit either the ipv4 or ipv6 URL parameter. |
Domain Name | www.example.com | The FQDN from the URL parameter record and zone . |
Username | admin | You can choose whatever value you want. |
Password | 9NAFwkM7D3hBdM2acJWXDvdCzySqz4xf3MfBaP2b | The API token you’ve created earlier. |
The code behind https://functions.nicoo.org/function/cloudflare-dyndns
is open source and available on GitHub!