Fix DDNS error in Fritzbox

How to solve DDNS update error with Hurricane Electric and Fritzbox

Posted by facchinetti.cloud on January 22, 2023 · 3 mins read

In this article, I will discuss how to configure Hurricane Electric DNS and how to troubleshoot any problems encountered.

As Facchinetti.cloud, we use the Tunnel Broker service to have our IPv6 subnet, our ISP has a dynamic IPv4 allocation, so we have to use HE DDNS to update the tunnel endpoint.

I'm not going to talk about how the Tunnel is configured, All you need to have a working DDNS is in Tunnel Details -> Advanced, there you will find the update key and your account username in the example update URL.

https://USERNAME:[email protected]/nic/update?hostname=TUNNELHOST
This is an example how it should be the URL.
Tunnel Details
Here you can find everything you need to set up DDNS.

If you configure the settings correctly on the Fritzbox page, you will see that the IPv4 is updated, but the logs will show an update error: "The dynamic DNS update was successful, but an error occurred".

So what are the best settings?

URL:
https://<USERNAME>:<PASSWORD>@ipv4.tunnelbroker.net/nic/update?hostname=*TUNNELHOST*&myip=<IPADDR>

Domain Name:
*YOUR MYFRITZ ID*.myfritz.net

Username:
*HURRICANE ELECTRIC USERNAME*

Password:
*HURRICANE ELECTRIC UPDATE KEY*

The settings you need to change are between the asterisks: *SETTINGS*.

1: TUNNELHOST, Is in example update URL, on tunnel details on hurricane electric.

2: YOUR MYFRITZ ID, From Fritzbox router Home page -> Internet -> MyFritz account, After configuration, you will have an address in the form of ID.myfritz.net

3: HURRICANE ELECTRIC USERNAME, Is in example update URL, on tunnel details on hurricane electric

4: HURRICANE ELECTRIC UPDATE KEY, Is in tunnel details on Hurricane Electric

N.B. The other settings, written as

<SETTING>
, are important and need to be written as such because they will take the information from the FritzBox sistem.

DDNS Example
This is how it should be.

What is the purpose of these settings and what is important?

The only difference is in the writing of the domain name, which the fritzbox uses to check that the corresponding ip is identical to its public ipv4, the rest of the settings can be changed and can easily be found on the internet, this workaround makes it possible to have no errors in the logs, since hurricane electric would in any case update the tunnel endpoint, if the ddns url is correct, but the fritzbox would re-check that hostname, recommended by hurricane electric, and would not be able to read the ipv4 obtained and therefore returns the error

I hope the article is clear and can be useful, in case there are any problems please contact

IPv6 Certification Badge for Gorlenah