sensec / ddns-scripts_aliyun Goto Github PK
View Code? Open in Web Editor NEWOpenWrt/LEDE DDNS support for aliyun (阿里云)
License: GNU General Public License v2.0
OpenWrt/LEDE DDNS support for aliyun (阿里云)
License: GNU General Public License v2.0
脚本可能已经失效
ddns.alidns.domain='@abc.def.com'
ddns.alidns.enabled='1'
ddns.alidns.lookup_host='abc.def.com'
ddns.alidns.password='PW'
ddns.alidns.service_name='aliyun.com'
ddns.alidns.use_https='1'
ddns.alidns.username='XXXXXXXXXXXXXXXX'
ddns.alidns=service
110832 : verbose mode : 0 - run normal, NO console output
110833 : check interval: 600 seconds
110833 : force interval: 259200 seconds
110834 : retry interval: 60 seconds
110834 : retry counter : 0 times
110834 : No old process
110834 : last update: never
110834 : Detect registered/public IP
110834 : #> /usr/bin/nslookup abc.def.com >/var/run/ddns/alidns.dat 2>/var/run/ddns/alidns.err
110834 : Registered IP '14.12.125.173' detected
110834 info : Starting main loop at 2019-11-04 11:08
110834 : Detect local IP on 'network'
110835 : Local IP '192.168.1.2' detected on network 'wan'
110835 : Update needed - L: '192.168.1.2' <> R: '14.12.125.173'
110835 ERROR : No or private or invalid IP '192.168.1.2' given! Please check your configuration
110835 ERROR : No update send to DDNS Provider
110835 : Waiting 600 seconds (Check Interval)
我没有恩山账号,现在不让注册了,所以没法在恩山下载
root@OpenWrt:~# opkg install ddns-scripts_aliyun_1.0.0-1_all.ipk Installing ddns-scripts_aliyun (1.0.0-1) to root... Configuring ddns-scripts_aliyun. //usr/lib/opkg/info/ddns-scripts_aliyun.postinst: /usr/lib/opkg/info/ddns-scripts_aliyun.postinst-pkg: line 6: can't create /etc/ddns/services: nonexistent directory //usr/lib/opkg/info/ddns-scripts_aliyun.postinst: /usr/lib/opkg/info/ddns-scripts_aliyun.postinst-pkg: line 7: can't create /etc/ddns/services_ipv6: nonexistent directory
DDNS服务提供商一栏中也找不到aliyun.com
ddns-scripts wget openssl-util luci-app-ddns
都已安装
编译时报错,请问如何修复?
cannot stat '/root/sdk/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/linux-4.14.195/tools/spi/*': No such file or directory
感谢大佬的付出,建议增加TTL值的设置。如果在代码里加上的话,该加在什么位置呢?
举个例子,我有一个域名 abc.com,我想将子域名为www.abc.com的域名同时配置A记录和AAAA记录,这两个记录就不会同时存在,后面更新的会覆盖前面的记录
新版本下没有了/etc/ddns/services文件
服務提供商列表aliyun.com選項消失。
解決辦法,強制重裝
opkg install ddns-scripts_aliyun_1.0.0-1_all.ipk --force-reinstall
也許還需要 opkg install bind-host
1.正常安装该项目的软件包
2.使用@starsunyzl的脚本替换/usr/lib/ddns/update_aliyun_com.sh
注意该脚本强制要求使用@区分根域名与记录名
我的OPENWRT是多WAN口的,有2个WAN口,所以想配置两个动态域名,但域名想用相同的名称,做负载均衡,但本插件不支持配置域名id,只能配置域名.
如题
比如:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.