honwen / aliyun-ddns-cli

ALiDDNS - Dynamic DNS CLI for [aliyun.com]
MIT License
413 stars 111 forks source link

可否加入ttl设置? #50

Closed LuffyesMa closed 2 years ago

LuffyesMa commented 3 years ago

可否加上阿里云ttl的设置。。默认是600秒。。

honwen commented 3 years ago

min=600, why not use min?

LuffyesMa commented 3 years ago

image

honwen commented 3 years ago

2021-06-05 14-01-39屏幕截图

seems that my free service CAN NOT set <10m


btw, pr is always welcome

runchunzhang commented 2 years ago

Alibaba cloud can purchase services to reduce the TTL to 60s. Could we add a new TTL parameter? The default is 600. image

xzxiaoshan commented 2 years ago

可否加上阿里云ttl的设置。默认是600秒。。

已经提交了 PR,https://github.com/honwen/aliyun-ddns-cli/pull/55
其他急用这个功能的小伙伴可以用镜像 xzxiaoshan/aliyun-ddns-cli:ttl ,截止作者合并PR之前,增加了TTL参数(我已经在用了,运行正常,仅仅是多了一个TTL参数)

honwen commented 2 years ago

Please Help Test :

runchunzhang commented 2 years ago

image

ttl works