99010 发表于 2021-9-14 03:14

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。


老规矩,回复即可下载





fmang123456 发表于 2021-9-14 05:25

楼主辛苦。

xionghuan0437 发表于 2021-9-14 06:37

多谢分享

meetfocus 发表于 2021-9-14 09:21


多谢分享
多谢分享
多谢分享

aerfa 发表于 2021-9-14 12:59

谢谢大佬提供!!!

sccdsl 发表于 2021-9-14 13:00

支持下,看看可以用不。

maharajah 发表于 2021-9-15 21:39

21.02.0 21.02.0

cnbb 发表于 2021-9-15 22:14

kjh klxcfvgsfzxdfzsd

shiyu531 发表于 2021-9-15 23:14

看看怎么样

yangeya 发表于 2021-9-16 16:36

楼主辛苦。

cxxcxcd 发表于 2021-9-16 22:56

感谢分享!!!

sinh2021 发表于 2021-9-16 23:10

感谢分享                                 

abcdsys 发表于 2021-9-17 21:40

不知道低版本的openwrt可以用吗

houkailin 发表于 2021-9-17 22:33

看一下,有解决办法

99010 发表于 2021-9-17 23:47

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
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: openwrt官方21.02.0固件添加aliddns、dnspod的方式