DDNS Xpenology/Synology: How to Configure using DuckDNS!

This tutorial will show you how to configure DDNS on Xpenology or a Synology NAS using DuckDNS.

In this tutorial, we will look at how you can configure DDNS on Xpenology using DuckDNS. Setting up DDNS is very important if you intend on accessing your NAS from outside of your network or setting up a VPN Server. This easy tutorial will show you how in minutes!

If you’ve never setup Xpenology, check out our tutorial on how you can setup Xpenology on a Virtual Machine!

What is DDNS?

  • An IP address is assigned to you by your ISP. This IP address can be static or dynamic.
    • Static IP addresses will always stay the same
    • Dynamic IP addresses will periodically change
  • DDNS (Dynamic Domain Name Service) assigns a hostname to your external IP address.
    • If your IP address changes, your DDNS hostname will update with your new IP address.
    • Your DDNS hostname will always be your external IP address.

Instructions - DDNS Xpenology/Synology NAS

  1. Login to DuckDNS: https://www.duckdns.org/
  2. Create a subdomain and click add domain.

DDNS Xpenology

3. Your domain is now created. Go back to Xpenology and navigate to the Control Panel and the select External Access.

DDNS Xpenology

4. Select Customize and enter DuckDNS as the Service Provider and the string below (exactly as shown) as the Query URL. Select Save.

https://www.duckdns.org/update?ip=__MYIP__&domains=__HOSTNAME__&token=__PASSWORD__

DDNS Xpenology

5. After the Service Provider has been added, select Add. At this point, select the *DuckDNS service provider, enter the full hostname “[sub domain].duckdns.org”, your email address, and the token shown on the DuckDNS webpage as your password.

6. Test the connection and if the status returns Normal, select OK.

7. DDNS is now configured! Check out our YouTube video to see what this can be used for!

Conclusion

This process is very straight forward and  ensures that you are always able to connect to your external IP address. Check out our guide on how to setup OpenVPN as an example of how you can use your DDNS hostname!

This Post Has 8 Comments

  1. Please correct your update url to HTTPS. Otherwise your username and password will travel unencrypted over the wire.

    1. Done, thanks for pointing that out!

  2. Hello, thank you for this excellent guide. If I want to use another DDNS provider not listed in the Synology dropdown menu, where do I find the string I need to copy to the Query URL field? Sorry if it is dumb question

    1. Nothing to apologize about, never a stupid question! You will have to get the URL from the DDNS provider. Basically, each provider has a URL that can be used to update your external IP address if it changes. That URL has to be added to the Synology DDNS section with the variables (MYIP, USERNAME, PASSWORD, etc). After the URL is set up properly, the hostname/username/password will be passed to that URL to update the external IP address.

      Hopefully that helps, but if I can answer anything else, please let me know!

      1. Thank you. I have a domain at Namecheap. When I turn on the dynamic dns on their website they provide a the DDNS password and a client software to download which I guess is an updater. Maybe I should look for a provider that specializes specifically in DDNS and point my Namecheap domain to the DDNS subdomain?

        1. There are a few examples in this thread that should help: https://community.synology.com/enu/forum/1/post/132304

          Let me know if I can assist in any way! I wouldn’t look for a DDNS provider in specific, since the URL is strictly used to track your external IP address.

  3. Hello. Thank you for this, hard to find step by step for this specific question… Like AI asked, how do I find the URL for my provider, what should I be looking for or generally, where can it be found? Thanks again for your help!!

    1. That’s a tough one. I don’t think the URL will be easily accessible on the site. Generally, the easiest thing to do is search “Synology [Your DDNS provider] DDNS setup”. If you don’t mind me asking, what provider are you using? I can try and help find the right URL.

Leave a Reply

Close Menu