starsunyzl / ddns-scripts-alibabacloud

OpenWrt 阿里云(aliyun、AlibabaCloud)DDNS 动态域名更新插件
GNU General Public License v2.0
42 stars 4 forks source link

not work on OpenWrt 23.05.5 r24106-10cc5fcd00 / LuCI openwrt-23.05 branch git-24.264.56413-c7a3562 #4

Open huaifeng1993 opened 2 months ago

huaifeng1993 commented 2 months ago

: Detect registered/public IP 002724 : #> /usr/bin/host -t AAAA opwrt.sawnas.top >/var/run/ddns/aliyun_ipv6.dat 2>/var/run/ddns/aliyun_ipv6.err 002724 WARN : NO valid IP found 002724 WARN : Error in 'expand_ipv6()' - invalid IPv6 found: '' expanded: '' 002724 info : Starting main loop at 2024-10-02 00:27 002724 : Detect current IP on 'network' 002724 : Current IP 'host ipv6 ' detected on network 'lan6' 002724 : Update needed - L: '' R: 'invalid' 002724 : parsing script '/usr/lib/ddns/update_alibabacloud_com.sh' 002724 : Force communication via device 'br-lan' 002724 : #> /usr/bin/curl -RsS -o /var/run/ddns/aliyun_ipv6.dat --stderr /var/run/ddns/aliyun_ipv6.err -d 'AccessKeyId= &Action=DescribeSubDomainRecords&DomainName=sawnas.top&Format=JSON&SignatureMethod=HMAC-SHA1&SignatureNoncec&SignatureVersion=1.0&SubDomain=%4 &Timestamp=2024-10-01T16%3A27%3A24Z&Type=AAAA&Version=2015-01-09&Signature=%3D' --interface br-lan --noproxy '*' 'https://alidns.aliyuncs.com'

starsunyzl commented 1 month ago

1、域名需要存在一条AAAA记录才能更新,脚本只更新记录,不会创建新的。 2、选的网络接口(你选的是lan6)需要有IPv6地址。