Web Server behind FritzBox

Dear Community, I think this topic has been discussed several times here. However I did not find a solution for me. I like to reach my Web Server behind my FritzBox. I followed the instructions to setup my Fritzbox and defined a zone with one AAAA record. In the AAAA record I set up the Host ID of my Web Server, resp. the MAC Address. The dynamic IPv6 prefix is updated correctly every time the FritzBox receives a new IP. Everything works fine until the next update of the prefix (by my DSL provider). The AAAA record is updated with the (new) IPv6 of the Fritzbox instead of the combination (old) Host ID (Web Server) with (new) dynamic IPv6 prefix. Again I end up on the welcome page of my FritzBox. What do I wrong? Any help is very much appreciated. Thanks in advance.

Use
https://dynv6.com/api/update?hostname=<domain>&token=<username>&ipv6prefix=<ip6lanprefix>
as your update URL in the FritzBox (<ip6lanprefix> instead of <ip6addr>).

1 Like

Thank you so much. It works.

Well, it’s nearly correct. You should use 47906.dynv6.net (the full zone name) after “hostname=”.
Sorry I didn’t realize my code line above being mangled. The hostname is missing there for some reason.
But if you’re on a Fritzbox you better use
https://dynv6.com/api/update?hostname=<domain>&token=<username>&ipv6prefix=<ip6lanprefix>
litterally as shown here. The keywords in angle brackets (<hostname> etc.) are replaced with the correct values by the Fritzbox automatically. Don’t remove the angle brackets.
BTW, I hope you didn’t publish your real token here. Otherwise consider to generate a new one.

For reference see
https://dynv6.com/docs/apis
and
https://service.avm.de/help/en/FRITZ-Box-Fon-WLAN-7490/019p2/hilfe_dyndns

Could you please edit your text and put a backslash in front of every opening angle bracket. Otherwise the website interprets the word behind the bracket as a HTML tag and makes it disappear. You can see the result in the preview on the right side. That would make your question better readable.

As for your question: The Fritzbox doesn’t need to find out your Synology’s IPv6 address. The DDNS server will see it, especially the prefix, when the Fritzbox sends its update request, and will publish it in your records. Only the prefix changes from time to time. The second part of the IPv6 address of each device remains constant. You must create a record manually for each device so they get their individual IPv6 addresses. One single device can appear with different hostnames but only one IP address. This can be useful if you run different services on one device.

Ah, and one more hint: Don’t give your Synology a name containing “cloud” - these records got lost quite often in the past and had to be recreated every time.

1 Like

Thank you, Thomas for the reply!
Your hints and advices are always very helpful and informative!

  • I am not able to edit my previous posts?
    If this is configurable somewhere in my profile settings, I will be grateful if you help me to configure this?
  • …putting backslash in front of every opening angle brackets…
    Do you mean like this:
    [https]://dynv6.com/api/update?hostname=<domain>&token=<username>&ipv6prefix=<ip6lanprefix>]
  • Which record do you mean, when you say: “You must create a record manually for each device so they get their individual IPv6 addresses”
    Do you mean the record in device configuration menu, the Fritzbox record or the Dynv6 Record?
  • Can you give me an example of: “One single device can appear with different hostnames but only one IP address. This can be useful if you run different services on one device.”
    On my Synology NAS I have a WEB Server and a simple HTTP site. This site is registered on dynv6dotcom and the requests to its DNS Name over IPv6 are configured on my Fritzbox to be forwarded to the Synology device. What other service may I configure on the Synology NAS and is the NAS device accessible form Internet without forwarding respective ports on the Fritzbox?
  • regarding Synology name to not contain “cloud”: which name do you mean, the local network name, the WEB site name 47906dotdynv6dotnet or any other name?

Hi 47906,

  • editing: I didn’t need to configure anything for this. You should see a pencil icon below your posts, just click on it.

  • backslashes: Yes, that looks good. I didn’t write about square brackets " [ ] ", though. They are definitely not needed here.

  • records: Click on My Zones, → your zone name (47906.dynv6.net ) → Records. You will see a list of your (perhaps only one) web addresses. An IPv6 record is of type AAAA. Chose your record and click on edit. If there is none, click on Add record. You will see two fields: “Name”, which should contain the bare host name (e.g. 47906). The “Data” field shall contain the host part of your Synology’s IPv6 address (e.g. ::dead:beef:dead:5eed).
    To edit the zone part of your IP addresses manually (e.g. 2003:f8:ff45:a1b2::), go to My Zones → your zone → Edit zone. But this part is usually done by the update script.

  • different services: If you have just one HTTP server running, then you are already fine if you just open the ports 80 (http) and/or (better) 443 (https) on your Fritzbox and forward requests on those ports to your NAS. But If you want to reach your NAS via sftp or ssh, you would need to run these services on the Synology, too. In this case your could give them different names (e.g. ssh.47906.dynv6.net), but the IP address would remain the same, of course.

  • cloud: I mean the website name.

I’m going to travel for several weeks, and I’m afraid there will be poor network out there, so maybe I won’t be able the answer you further questions immediately.

Thank you Thomas for your prompt responses!
Now, after your last reply I can see a pencil under all my responses.
Before it was not there, there was only bookmark, like and delete message :slight_smile:
However, the pencil is now there, so I can edit my future responses.
The square brackets was put by me, because the forum did not allowed me to publish an reply with a web site link inside - it was wondering for me, but however, after putting square brackets around the http it was possible to reply :slight_smile:
The record for 47906.dynv6dotnet is already configured and is working perfectly with the assigned IPv6 address.

Please tell me since when you are back from your travel, so I can ask further questions?
Generally it is only 1 actual question:

  • is the Synology NAS with its IPv6 address accessed directly from Internet or it is still behind the firewall of the Fritzbox router, so I need to forward the IPv6 requests for Synology from the Fritzbox

However I guess, I can test this by stop forwarding on the Fritzbox router the IPv6 requests from Internet to Synology, right?

Hi,
I’m glad it’s working for you!
The NAS is still behind the Fritzbox, so port forwarding inside the Fritzbox is needed. However it has its own IPv6 address which is different from the Fritzbox’s one. (This is different from IPv4, where the external public address is the same for all devices and each open port is forwarded to a dedicated local address (e.g. 192.168.178.10) via NAT (Network address translation). )
BTW, it is possible to quote Web addresses here. Just click the warning away (the little X on the right side), or press [Esc].
I’ll be back end of September.