honwen / aliyun-ddns-cli Goto Github PK
View Code? Open in Web Editor NEWALiDDNS - Dynamic DNS CLI for [aliyun.com]
License: MIT License
ALiDDNS - Dynamic DNS CLI for [aliyun.com]
License: MIT License
老哥。ipv6解析考虑下?
同时运行多个Container感觉浪费了一点。能否支持同时刷新多个子域名?
https://api.myip.la/ v4&v6双栈
API使用说明参见:https://www.myip.la
可否加上阿里云ttl的设置。。默认是600秒。。
用了科学上网需要把获取IP的网址加入到白名单
请告诉我这些都是什么?
每当我设置防火墙策略后,这个软件就失效了。让我很纳闷,结果在服务器上找到了以下一些信息。供大家参考:
/ # netstat -anp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 172.17.0.2:60700 114.215.189.130:80 ESTABLISHED 1/aliyun-ddns-cli
tcp 0 0 172.17.0.2:57782 103.201.128.6:80 ESTABLISHED 1/aliyun-ddns-cli
tcp 0 103 172.17.0.2:50274 118.184.176.22:80 FIN_WAIT1 -
tcp 0 0 172.17.0.2:57256 208.95.112.1:80 ESTABLISHED 1/aliyun-ddns-cli
tcp 0 0 172.17.0.2:47550 47.98.58.229:80 ESTABLISHED 1/aliyun-ddns-cli
tcp 0 0 172.17.0.2:58125 149.28.31.24:80 ESTABLISHED 1/aliyun-ddns-cli
tcp 0 0 172.17.0.2:53549 113.194.59.196:80 ESTABLISHED 1/aliyun-ddns-cli
tcp 0 0 172.17.0.2:42935 23.202.35.97:80 ESTABLISHED 1/aliyun-ddns-cli
tcp 0 0 172.17.0.2:34531 175.100.207.230:80 ESTABLISHED 1/aliyun-ddns-cli
udp 0 0 0.0.0.0:8472 0.0.0.0:* -
raw 0 0 0.0.0.0:1 0.0.0.0:* 1 114/ping
/ # netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 172.17.0.2:57294 208.95.112.1:80 TIME_WAIT
tcp 0 0 172.17.0.2:42969 23.202.35.97:80 TIME_WAIT
udp 0 0 0.0.0.0:8472 0.0.0.0:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
/ #
it works fine at beginning
and a week later says:
Aliyun API Error: RequestId: Status Code: -1 Code: AliyunGoClientFailure Message: json: cannot unmarshal number into Go struct field RecordTypeNew.TTL of type string | stdout
每次删除docker还要去面板删除记录有点麻烦
getip -6没有输出任何地址,auto-update -6提示错误码400,Status Code: 400 Code: MissingValue Message: Value is mandatory for this action.
但是手动调用api(只有两个ipv6的api可以正常返回ipv6地址)却可以正常查询返回ipv6地址,能直接访问ipv6站点,但访问ipv6-test网站时提示不支持ipv6,dns服务器支持ipv6,其实是可以正常访问ipv6的。不确定是dns的问题还是其他问题。。。头都大了
Thanks for the great code.
It worked fine a few days ago, but has been prompting this error since recently, which I caught from the docker log:
`"Aliyun API Error: RequestId: XXXXXXXX - XXXX - XXXX - XXXX - XXXXXXX Status Code: 400 Code: InvalidDomainName. NoExist Message: The specified domain name does not exist. Refresh The page and try again."
能新增TTL参数吗?
希望可以加入IPV6的域名解析
我的不是FIX IP, 每一段時間就會更新一次新IP. 請問用群輝DOCKER安裝, 會自動隔一段時間更新IP嗎? 謝謝chenhw2大神!!
我该如何设置 TTL 值
如题
我的是两路wan进入,有两个外网IP地址,现在用这个后,每10分钟自动更新一次,但会出现两个IP交替更新(实际上是两个外网IP,但是一直是一样的),导致网址无法访问的问题。这个怎么解决呢?谢谢!
几天过去日志一大堆了
As described, not use correct one and can it support run in backgroud on Windows?
I use
aliddns.exe -6 --id xx --secret xx auto-update --domain xx.abc.cf --redo 60
现在手机上已逐步普及ipv6,这使得在手机上建站成为了可能,虽然阿里云官方提供了相关api,但第三方的各种ddns工具对ipv6的支持都不大友好,所以在此还望大佬们可以为这个软件项目添加ipv6地址动态解析的功能,谢谢!
2019/10/08 14:50:56 hk-10.crhnode.top 119.236.X.X [** 香港 ]
2019/10/08 14:53:34 Aliyun API Error: RequestId: 61671224-9C93-440F-8962-FBBA450296E2 Status Code: 404 Code: InvalidAccessKeyId.NotFound Message: Specified access key is not found.
2019/10/08 14:56:06 Aliyun API Error: RequestId: 38951641-55C1-4C6E-86D6-091EBDED9C3E Status Code: 404 Code: InvalidAccessKeyId.NotFound Message: Specified access key is not found.
2019/10/08 14:58:37 Aliyun API Error: RequestId: E8FF43B1-55BC-4164-AF9C-F0E5AA1CE0F3 Status Code: 404 Code: InvalidAccessKeyId.NotFound Message: Specified access key is not found.
日志:
2017/10/11 12:13:07 Aliyun API Error: RequestId: 7EF4C83D-86EF-4F77-8CEF-9BECE19776AA Status Code: 400 Code: InvalidTimeStamp.Expired Message: Specified time stamp or date value is expired.
container里可以搜索到,但是无法安装,显示不能与ARM NAS兼容。
Is there has any plan to support multiple domain?
like --domain www.example.com,git.example.com
When I run this application with a Aliyun RAM access key, I get error like this:
Aliyun API Error: RequestId: 2640E5C1-7F21-4051-B2D5-702699C574A6 Status Code: 400 Code: Forbidden.RAM Message: User not authorized to operate on the specified resource, or this API doesn't support RAM.
When I run this application with an aliyun user access key, It returns success.
Is it OK or something is wrong?
My NAS is QNAP 431P. I got this error message when i launch it.
日志如下
2021/02/20 13:54:27 Aliyun API Error: RequestId: C27674D1-73DD-440A-8281-1A6FC16C7C31 Status Code: 400 Code: MissingValue Message: Value is mandatory for this action. | stdout |
---|
开了两个解析,一个www.xxxx.com是正常的,另一个@.xxxx.com会提示下面的错误:
2017/09/07 20:30:08 Aliyun API Error: RequestId: Status Code: -1 Code: AliyunGoClientFailure Message: json: cannot unmarshal number into Go struct field RecordTypeNew.TTL of type string
设置多个三级域名更新的方法是什么?
打开防火墙报错ipv4 format error,关闭防火墙正常使用,请问需要开放什么端口吗?
问题如上
命令行格式如下:
/bin/sh -c aliyun-ddns-cli --ipapi ${IPAPI} auto-update --ipv6 --domain ${DOMAIN} --redo ${REDO}
/bin/sh -c aliyun-ddns-cli --ipapi ${IPAPI} --ipv6 auto-update --domain ${DOMAIN} --redo ${REDO}
试了很多种格式包括如上两种,但是一直是格式错误,想问一下正确的格式怎样的。。
The use of errors in DSM 6.1-15047 is as follows:
AliyunGoClientFailure Message: json: cannot unmarshal string into Go struct field RecordType.TTL of type int32
Please add openwrt x86-64 version, thank you
hey, bro
能不能支持一下多个域名?
比如我服务器上绑定了多个 二级域名 (A值), 希望同时改变成同一个ip.
还是说启动多个 ddns 实例分别使用多个二级域名??
增加网络运营商判定, 符合指定运营商的IP再更新DDNS
默认是ipv4的 需要用ipv6地址解析怎么办?看了源码有ipv6的判断 但似乎一直返回false?另外能支持解析线路吗 默认有的时候解析不到
试了一下现在不能更新三级域名,会报错误
“Status Code: 400 Code: InvalidDomainName.NoExist Message: The specified domain name does not exist. Refresh the page and try again.”。
DSM 6.1-15047 Use the updated version
2017/08/15 14:22:27 Aliyun API Error: RequestId: Status Code: -1 Code: AliyunGoClientFailure Message: json: cannot unmarshal string into Go struct field RecordType.TTL of type int32
如题,不知道是什么原因,我使用的是unraid 6.8.2 的docker安装
由于一直在使用的路由架构比较旧,新版本只能自己进行编译
期望release能像以前那样包含linux_arm5的二进制包
用docker建了一个阿里云的域名解析容器,用在我的黑群晖上。前一段关掉了群晖,最近开机,解析到的IP地址并非我路由器的公网IP地址,试了许多办法,都不行,是什么原因?
-e "DOMAIN=ddns.aliyun.win" \
这里默认只有一个记录,一般为 www.aliyun.com
如果想加入另一个记录 @.aliyun.com
该如何操作?
I get this error in log. And I get the response when I execute 'curl'
`curl -Lv myip.ipip.net
GET / HTTP/1.1
Host: myip.ipip.net
User-Agent: curl/7.54.0
Accept: /
当前 IP: xx 来自于:** 安徽 合肥 电信
没有填域名的地方,这个是要解析到哪里去?
添加变量IPAPI,值为https://v6.ident.me 提示Query IP Format error
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.