1.SSH into your Synology NAS
2.Type:
1 | sudo vi /usr/syno/bin/ddns/namecheap.php |
3a.For paste insert mode type :set paste
3b.Press i
4a.Paste the following:
1 | #!/usr/bin/php -d open_basedir=/usr/syno/bin/ddns |
***Make sure when you copy the first script that there aren’t any extra # inserted into VI. I had this issue and had to remove them from each line.
4b.Press ESC and then type :set nopaste
5.Save and quit by pressing CTRL+C then :wq
6.Run:
1 | sudo chmod 755 /usr/syno/bin/ddns/namecheap.php |
7.Run:
1 | sudo vi /etc.defaults/ddns_provider.conf |
8.For insert mode press i
9.Go to the bottom and paste the following:
1 | [Namecheap] |
10.Save and quit by pressing CTRL+C then :wq
11.In the DSM web interface, open the DDNS menu
12.Click Add
Hostname: yourDomain.tld
Username/Email: @
Password: nameCheap DDNS password
Reference:Site