'Google DynDNS with FritzBox

I know thats not the kind of question that are commonly asked in here, but I don't know where to ask instead.

I want to setup DynDNS with my FritzBox 6600 Cable, but i always got an 500 - notfqdn (not full qualified domain name) Error. (I know FritzBox is not the best solution avaiable... but this is what i have to work with).

According to this guide i set up the DynDNS config in the FritzBox and used the username and password from the configured DynDNS and the update url domains.google.com/nic/update with the dyndns domain. The config in the FritzBox looks like the following:

Update-URL: domains.google.com/nic/update
Domainname (Domain-Name): something.my-domain.de
Benutzername (Username): my_username
Kennwort (Password): my_password

I don't know what's the problem. Some testing with other configuration shows that a random user and password give the same 500 error. Do anybody know how the request of the FritzBox looks like and how the parameters are parsed?



Solution 1:[1]

According to the FRITZ!Box help page you can use pre-defined placeholders inside the Update URL which will be filled with the corresponding information.

So in the case of Google Domains the API expects a request URL in the following form:

https://username:[email protected]/nic/update?hostname=subdomain.yourdomain.com&myip=1.2.3.4

In your FRITZ!Box DynDNS configuration you have to replace the variables in the Google Domains API URL by the corresponding placeholders from the FRITZ!Box documentation, which will look something like this:

https://<username>:<pass>@domains.google.com/nic/update?hostname=<domain>&myip=<ipaddr>

Note that the URL might be different depending on your FRITZ!Box type.


For further information check out the Google Domains help page Learn about Dynamic DNS (especially the section "Use the API to update your Dynamic DNS record") and the help page of your FRITZ!Box, which may be accessed using the question mark icon in the top right of the DynDNS configuration page. (Help page for FRITZ!Box 7590)

Solution 2:[2]

You need to change the URL into following syntax

https://username:[email protected]/nic/update?hostname=subdomain.yourdomain.com

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 LuckyLukas98
Solution 2 Henry Ecker