openwrt官方21.02.0固件添加aliddns、dnspod的方式
本帖最后由 99010 于 2021-9-14 11:59 编辑https://github.com/mm2231031/ddns-scripts_aliyun
#替换为中科大源,可跳过。
sed -i 's#downloads.openwrt.org#mirrors.ustc.edu.cn/openwrt#g' /etc/opkg/distfeeds.conf
#安装ddns组件
opkg update
opkg install luci-app-ddns luci-i18n-ddns-zh-cn wget-ssl curl openssl-util下载文件,解压。
上传aliyun.com.json、dnspod.cn.json这2个文件到/usr/share/ddns/default目录
上传update_aliyun_com.sh、update_dnspod_cn.sh这2个文件到/usr/lib/ddns目录,并添加权限0755。
到系统>>>启动项,重启ddns。或者运行命令
/etc/init.d/ddns restart然后在luci的动态dns界面即可找到添加的DDNS 服务提供商aliddns、dnspod。
老规矩,回复即可下载
楼主辛苦。
多谢分享
多谢分享
多谢分享
多谢分享 谢谢大佬提供!!!
支持下,看看可以用不。 21.02.0 21.02.0 kjh klxcfvgsfzxdfzsd 看看怎么样 楼主辛苦。
感谢分享!!!
感谢分享 不知道低版本的openwrt可以用吗 看一下,有解决办法 abcdsys 发表于 2021-9-17 21:40
不知道低版本的openwrt可以用吗
低版本的openwrt安装luci-app-ddns luci-i18n-ddns-zh-cn wget curl openssl-util
修改/etc/ddns/services、/etc/ddns/services_ipv6这2个文件,加上
"aliyun.com" "update_aliyun_com.sh"
"dnspod.cn" "update_dnspod_cn.sh"
上传update_aliyun_com.sh、update_dnspod_cn.sh这2个文件到/usr/lib/ddns目录,并添加权限0755