Home Synology NAS DDNS Setup
Purchasing Synology comes with QuickConnect service, which allows direct external network access, but the access is very slow [heard it goes through Taiwan] and the domain name isn’t great. To make it faster, you need to set up custom domain binding.
Those familiar with DDNS should know this is to solve the dynamic IP domain binding problem. To learn about DDNS, click here
Having Public IP
Taking Beijing Unicom broadband as an example, it doesn’t have public IP
by default, you need to contact customer service to enable it
Contact customer service 10010, press 0 for manual service, ask the agent to transfer to broadband business line, then request to enable public IP.
Note: DDNS is for scenarios with public IP but not fixed IP service, so fixed IP is not needed here. Unicom broadband fixed IP requires separate payment of 100 CNY/month. After customer service enables public IP, you need to restart the modem/router for it to take effect.
Testing found that Unicom’s public IP enablement doesn’t support IPv6, at least I didn’t get it, but having IPv4 already meets the requirements.
Domain Name
Direct IP access is still not user-friendly, so a domain name is needed here. I’m using Tencent Cloud domain.
Router Port Forwarding
When accessing enters the gateway, it needs to be forwarded to NAS service based on port
Domain Resolution
For example, I choose to use dnspod here, add an A record for nas,
Getting API Token from dnspod
Record the id and token, these are the username and password
Modifying DNS Resolution Address in Alibaba Cloud (formerly Wanwang)
Click into the corresponding domain name, modify according to the addresses provided by dnspod
Configuring DDNS on NAS
- Control Panel
- External Access
- DDNS, select DNSPod.cn, fill in username and password, confirm
Router Port Forwarding
I’m using Xiaomi Router 3 here
Potential Issues
DNS Resolution Timeliness
If you just bought a new domain from Alibaba Cloud, you need to upload ID documents for review, which takes time, so resolution cannot take effect immediately
Baidu IP shows public IP but still doesn’t work Because what we need here is an IP that can uniquely identify your address, specifically a public and unique IP. It’s possible your entire residential area shares only one public IP, so Baidu will also show public IP, but it’s not unique, so it still won’t work.
Final Thoughts
After all these settings, it should work. The access address would be http://nas.xxx.cn:5000
. Of course, I didn’t ultimately succeed because I don’t have a true public IP - the so-called public IP is shared by the entire residential area. How to solve this problem?
Look into intranet penetration. I ultimately solved it using intranet penetration.