risfeng / aliyun-ddns-shell

阿里云域名解析动态更新IP Shell脚本
MIT License
331 stars 102 forks source link

uuid and ipv6 error #20

Open spendist opened 3 years ago

spendist commented 3 years ago

这个脚本写道1000行了, 厉害。 两个问题反馈以下: 1:uuid 可以用 cat /proc/sys/kernel/random/uuid 获得,而不需要特别安装 uuidgen 2:如果记录是四个A 的ipv6记录,用 curl 获取的外网地址只能是ipv4,这儿有错,应该用 curl -6 https://ipv6.icanhazip.com