Timothy Miller
def75e282d
Merge pull request #57 from omeganot/master
...
Config option for purge/delete of "stale" records
2021-10-29 21:54:53 -04:00
Rich Visotcky
0a85b04287
Add config and option for purgeUnknownRecords
2021-06-02 09:18:56 -05:00
Zachary Milonas
1a6ffc9681
Do not wait before updating IPs for the first time ( #51 )
2021-04-11 15:44:18 +02:00
Timothy Miller
458559d52c
📈 Increase sync frequency to 5 minutes to prevent potential gateway timeout
2021-03-21 20:18:55 -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
80bd7801fe
🪵 Reduced duplicate logs [your SD card(s) will thank me]
2021-02-28 23:58:11 -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
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
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
Mark Ormesher
d763be7931
handle sigterm and shutdown immediately
2021-01-20 18:50:36 +00:00
KenWong
16352e4543
Ignore case
...
Signed-off-by: KenWong <xinxijishuwyq@gmail.com>
2020-12-20 13:37:14 +08: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
root
344b056a6d
use cloudflare trace & force it to be ipv4/ipv6
2020-12-16 18:01:40 +08:00
KenWong
cbfd628f22
add option ttl
...
Signed-off-by: KenWong <xinxijishuwyq@gmail.com>
2020-12-12 21:18:44 +08:00
timothymiller
242575d7aa
⛏️ Fix: Gracefully handles all IPv4 or IPv6 connectivity scenarios
2020-10-04 13:54:01 -04:00
timothymiller
96d92accaa
Added warnings for failure to detect ipv4
2020-08-15 22:42:43 -04:00
timothymiller
5ac69b8274
Fixed IPv6 access inside Docker container
2020-08-13 18:26:43 -04:00
timothymiller
1e55144bf2
Added docker-compose build steps to README.md
2020-08-05 13:30:33 -04:00
timothymiller
de9cf97708
Docker + crontab backwards compatibility
2020-08-05 03:40:45 -04:00
timothymiller
df6b8a381a
Minimal multi-stage docker build
2020-08-05 03:25:13 -04:00
Tim Miller
d3111d926a
Update cloudflare-ddns.py
...
Reuse variable name - duplicate delaration (code smell)
2020-07-27 17:52:56 -04:00
Han Zhang
022da2958a
Add support for new API tokens.
2020-07-27 15:27:55 -04:00
Sanderluc5
c4ac817100
Update cloudflare-ddns.py
...
Fix to make the script working again.
2020-05-01 07:18:29 +02:00
kernitus
17d2377529
Fixed root domain being added instead of updated
2019-12-02 20:45:20 +00:00
Timothy Miller
f9d2ccb2ad
CNAME records
...
- Recommended way to configure multiple subdomains per IP address is now via CNAME records. Notes added in README.
- Updated config.json subdomain examples to reflect how base domain is appended in code.
2019-10-15 23:13:57 -04:00
Tim Miller
9487784876
Public release
...
Added removal of stable, duplicate records per subdomain.
2019-09-29 15:33:25 -04:00