当前位置:   article > 正文

【笔记】openwrt - DDNS 插件研究_openwrt安装ddnsgo插件

openwrt安装ddnsgo插件

在这里插入图片描述

介绍

内核版本

$ cat /proc/version
Linux version 5.15.32 (lawsssscat@lawsssscat-virtual-machine) (x86_64-openwrt-linux-musl-gcc (OpenWrt GCC 8.4.0 r4424-89e39d880) 8.4.0, GNU ld (GNU Binutils) 2.34) #0 SMP Sun Apr 3 11:12:12 2022
  • 1
  • 2

编译版本

$ cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_TARGET='x86/64'
DISTRIB_ARCH='x86_64'
DISTRIB_TAINTS='no-all'
DISTRIB_REVISION='R22.4.1'
DISTRIB_DESCRIPTION='OpenWrt '
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

编译版本号

$ cat /etc/openwrt_version
r4415-8f2b0b86b
  • 1
  • 2

DDNS 插件文件路径

查看 OpenWRT 中所有关于 DDNS 的软件包

$ opkg list-installed  | grep ddns
ddns-scripts - 2.7.8-3
ddns-scripts-cloudflare - 2.8.2-35
ddns-scripts_aliyun - 1.0.3-1
ddns-scripts_dnspod - 1.0.2-1
luci-app-ddns - 2.4.9-8
luci-i18n-ddns-zh-cn - 2.4.9-8
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

查看这些软件包的文件

$ opkg files ddns-scripts-cloudflare
Package ddns-scripts-cloudflare (2.8.2-35) is installed on root and has the following files:
/usr/share/ddns/default/cloudflare.com-v4.json
/usr/lib/ddns/update_cloudflare_com_v4.sh

$ opkg files ddns-scripts_aliyun
Package ddns-scripts_aliyun (1.0.3-1) is installed on root and has the following files:
/usr/lib/ddns/update_aliyun_com.sh

$ opkg files ddns-scripts_dnspod
Package ddns-scripts_dnspod (1.0.2-1) is installed on root and has the following files:
/usr/lib/ddns/update_dnspod_cn.sh
/usr/lib/ddns/update_dnspod_com.sh

$ opkg files ddns-scripts
Package ddns-scripts (2.7.8-3) is installed on root and has the following files:
/etc/ddns/services
/etc/uci-defaults/ddns
/etc/ddns/services_ipv6
/usr/lib/ddns/dynamic_dns_updater.sh
/etc/init.d/ddns
/etc/hotplug.d/iface/95-ddns
/etc/config/ddns
/usr/lib/ddns/dynamic_dns_functions.sh
/usr/lib/ddns/dynamic_dns_lucihelper.sh
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25

DDNS 插件架构

像其他 OpenWRT 插件一样,DDNS 插件也分 ui 界面和脚本两部分:

  • ui 界面

    luci-app-ddns - 2.4.9-8           声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/170614
推荐阅读
相关标签