安装说明
::: danger
原apikey已经弃用,请使用PAT(Personal Access Token)!
:::
::: warning
此脚本默认TTL = 600秒
:::
ssh 连接到 nas 并切换到 root:
sudo -s
安装模块:
curl -w "\n" https://raw.githubusercontent.com/li-peifeng/DDNS-Gandi-To-Synology/main/gandi.php > /usr/syno/bin/ddns/gandi.php
设置权限:
chmod 755 /usr/syno/bin/ddns/gandi.php
添加到服务商菜单:
curl -w "\n" https://raw.githubusercontent.com/li-peifeng/DDNS-Gandi-To-Synology/main/ddns_provider.conf >> /etc.defaults/ddns_provider.conf
配置请参照下图: