96 Commits

Author SHA1 Message Date
Sebastian Rojo
01993807a9 ADDED env Variable CONFIG_PATH for Kubernetes secret 2021-07-15 16:14:23 -05:00
Timothy Miller
458559d52c 📈 Increase sync frequency to 5 minutes to prevent potential gateway timeout 2021-03-21 20:18:55 -04:00
Timothy Miller
1f6daa5968
Merge pull request #49 from immortaly007/feature/error-response-logging
🦢 Log the response text, in case the response indicated an error
2021-03-21 13:40:43 -04:00
Bas Dado
c34401c43f 🦢 Log the response text, in case the response indicated an error 2021-03-20 14:35:08 +01:00
Timothy Miller
9a8d7d57e1 🧹 Refactored code 2021-03-17 02:33:51 -04:00
Timothy Miller
04d87d3aa6 Improved error handling 2021-03-17 01:15:07 -04:00
Timothy Miller
bdf8c75cad 🧩 Disable IPv4 or IPv6 in config.json 2021-03-16 20:53:28 -04:00
Timothy Miller
6fe23a2aee 🦢 Improved error message handling 2021-03-16 14:46:29 -04:00
Timothy Miller
47ae1238e2 🦢 Graceful warnings when config.json path is not configured correctly 2021-03-12 15:58:36 -05:00
Timothy Miller
55b705072a 💨 Sped up shutdown
 Check every minute for changes
2021-03-11 20:34:05 -05:00
Timothy Miller
d3cc054b03 💹 Prevent rate limiting by increasing sync frequency to 15 minutes 2021-03-05 23:11:00 -05:00
Timothy Miller
6b25c64846 Revert merge pull request #39 2021-03-05 21:53:18 -05:00
Timothy Miller
378c600084
Merge pull request #39 from bjackman/set-config-path
🏁 Add a flag to modify config.json location
2021-03-03 22:16:30 -05:00
Timothy Miller
975fba4d42 🪵 Reduced duplicate logs [your SD card(s) will thank me] 2021-03-01 00:18:37 -05:00
Timothy Miller
3cd26feb03 🪵 Reduced duplicate logs [your SD card(s) will thank me] 2021-03-01 00:13:11 -05:00
Timothy Miller
1ca225b85c 🔬 Clarified config values for subdomains 2021-03-01 00:01:47 -05:00
Timothy Miller
80bd7801fe 🪵 Reduced duplicate logs [your SD card(s) will thank me] 2021-02-28 23:58:11 -05:00
Timothy Miller
000c833f43 🐳 CI Multi-Arch Docker Builds 2021-02-28 16:58:05 -05:00
Timothy Miller
29771030b1 🐳 CI Multi-Arch Docker builds 2021-02-28 16:39:14 -05:00
Timothy Miller
3753542dce 🐳 CI Multi-Arch Docker builds 2021-02-28 16:32:04 -05:00
Timothy Miller
c34ba8e94c 🐳 CI Multi-Arch Docker builds 2021-02-28 16:28:08 -05:00
Timothy Miller
6be8add640 🐳 CI Multi-Arch Docker Builds 2021-02-28 16:18:06 -05:00
Brendan Jackman
0f3708a482 Add a flag to modify config.json location
On Kubernetes, it's really awkward to write a Secret into the root directory:

https://www.jeffgeerling.com/blog/2019/mounting-kubernetes-secret-single-file-inside-pod

Therefore this adds support for reading the config from an arbitrary path. The
behaviour is unchanged if you don't set this new flag.
2021-02-28 18:24:25 +01:00
Brendan Jackman
8c55892f32 Switch to argparse
The next commit adds a second argument, so raw sys.argv parsing will be a bit
cumbersome. Switch to argparse instead.
2021-02-28 18:18:03 +01:00
Timothy Miller
86c935dea7 🐳 CI Multi-Arch Docker Builds
🗄️ Organized scripts
2021-02-28 12:06:38 -05:00
Timothy Miller
27ccdd0203 🦮 Strip whitespace from subdomain
📚 Improved documentation
2021-02-28 01:51:43 -05:00
Timothy Miller
a816fb6c3f 🧵 Type error resolved 2021-02-27 11:53:30 -05:00
Timothy Miller
e129789a85 🚀 Improvement: Update readme guide on multiple zones 2021-02-26 01:18:53 -05:00
Timothy Miller
4ffbb98f29 🚀 Improvement: Skip PUT request when IP does not change
🧑‍🚀 Improvement: Working graceful exit
🚀 Improvement: Update readme on multiple zones
🐛 Fix: Handle IP changes correctly https://github.com/timothymiller/cloudflare-ddns/issues/37
2021-02-26 01:15:35 -05:00
Timothy Miller
6140917119
Merge pull request #33 from markormesher/feat/handle-sigterm
handle sigterm and shutdown immediately
2021-01-23 11:50:23 -05:00
Mark Ormesher
d763be7931
handle sigterm and shutdown immediately 2021-01-20 18:50:36 +00:00
Timothy Miller
839ffe2551
Merge pull request #29 from xinxijishuwyq/master
Ignore case
2020-12-20 00:41:09 -05:00
KenWong
16352e4543 Ignore case
Signed-off-by: KenWong <xinxijishuwyq@gmail.com>
2020-12-20 13:37:14 +08:00
Timothy Miller
65d8c44ec3
Update docker-build.sh 2020-12-16 21:52:30 -05:00
Timothy Miller
de4e2ac5b6
Update docker-publish.sh 2020-12-16 21:52:18 -05:00
Timothy Miller
efefa0ae7a
Update docker-run.sh 2020-12-16 21:52:04 -05:00
Timothy Miller
748170926c
Update docker-build-all.sh 2020-12-16 21:51:50 -05:00
Timothy Miller
0ca979f91d
Update docker-publish.sh 2020-12-16 19:15:41 -05:00
Timothy Miller
3b92c57a75
Update README.md 2020-12-16 18:55:57 -05:00
timothymiller
db5edef4f0 🖥️ Complete Official Python Docker Image support
📚 Updated README.md
2020-12-16 18:55:06 -05:00
Timothy Miller
1235464e18
Merge pull request #28 from wloot/patch-1
Use 1.1.1.1 api instead of dirty hack to get ip
2020-12-16 18:28:25 -05:00
Julian Liu
58c69e2c5f
Use 1.1.1.1 api instead of dirty hack to get ip 2020-12-17 02:42:41 +08:00
timothymiller
3e1fcb13f3 🐳 Docker build scripts renamed 2020-12-16 05:52:41 -05:00
Timothy Miller
2b67615330
Merge pull request #27 from paz/master
dirty support to use cloudflare trace & force it to be ipv4/ipv6
2020-12-16 05:47:22 -05:00
root
344b056a6d use cloudflare trace & force it to be ipv4/ipv6 2020-12-16 18:01:40 +08:00
Timothy Miller
18ad6c6bc4
Merge pull request #25 from xinxijishuwyq/master
add option ttl
2020-12-12 15:22:40 -05:00
timothymiller
bc837c61a0 Merge branch 'master' of https://github.com/timothymiller/cloudflare-ddns 2020-12-12 14:53:03 -05:00
timothymiller
f63b0f13fc 🖼️ Added feature graphic 2020-12-12 14:52:52 -05:00
KenWong
cbfd628f22 add option ttl
Signed-off-by: KenWong <xinxijishuwyq@gmail.com>
2020-12-12 21:18:44 +08:00
Timothy Miller
3f2346db6f
Update README.md 2020-12-08 22:35:10 -05:00