Brett Duncan
|
7c167c70b4
|
Update cloudflare-ddns.py
uncomment updateLoadBalancer
|
2023-12-05 16:57:07 -06:00 |
|
Suyun
|
060257fe12
|
Add TTL set to 1 (auto)
|
2023-06-01 19:35:04 +08:00 |
|
Timothy Miller
|
6e92fc0d09
|
Fix load balancer errors
|
2023-02-15 19:28:08 -05:00 |
|
Timothy Miller
|
190b90f769
|
Merge pull request #120 from DeeeeLAN/master
[feature] Add load balancer support
|
2023-02-15 17:27:03 -05:00 |
|
Timothy Miller
|
ed65aff55f
|
Revert netif changes for now
|
2023-02-15 17:05:00 -05:00 |
|
Timothy Miller
|
cb7b1804cf
|
[feature] Extract IP address from netif credit: @comicchang
|
2023-02-15 16:14:22 -05:00 |
|
Timothy Miller
|
af347f89b9
|
Update interpreter of shebang to python3
|
2023-02-15 15:37:06 -05:00 |
|
Timothy Miller
|
e913d94eb8
|
Fix wildcard subdomain support
|
2023-02-15 15:22:06 -05:00 |
|
Timothy Miller
|
2ad7e57d65
|
Added support for secondary IP checks if primary fails (Fixes #111)
Updated requests module version
|
2023-02-15 14:07:17 -05:00 |
|
Dillan Mills
|
d92976993d
|
Add load balancer slupport
|
2023-01-27 15:08:10 -07:00 |
|
Timothy Miller
|
ceeb011366
|
Updated the domain used to fetch IPv4 from cloudflare.
|
2022-07-31 15:55:59 -04:00 |
|
Timothy Miller
|
f0357c71c1
|
Cleaned up code smell
|
2022-07-31 03:32:05 -04:00 |
|
Timothy Miller
|
6933cbe27f
|
Added compatibility for legacy configs
|
2022-07-31 03:06:08 -04:00 |
|
Timothy Miller
|
566ad3a7cf
|
Cleaned up code smells
|
2022-07-31 02:44:38 -04:00 |
|
Timothy Miller
|
ae7be14004
|
Synced repeat interval with TTL
|
2022-07-30 21:44:59 -04:00 |
|
Timothy Miller
|
cb539ad64d
|
Fixed config path bugs in Docker
|
2022-07-30 21:24:20 -04:00 |
|
Timothy Miller
|
a4d29036c5
|
Updated cdn-cgi/trace domain from 1.1.1.1 to cloudflare.com
|
2022-07-30 21:22:54 -04:00 |
|
Timothy Miller
|
ef4e3a5787
|
Added configurable TTL option, plus documentation
|
2022-07-30 21:20:41 -04:00 |
|
Timothy Miller
|
2b9ebdeab2
|
Added exception handling for unhandled api requests
|
2022-07-30 20:28:54 -04:00 |
|
Timothy Miller
|
86976e5133
|
Added per-subdomain proxy flag to config.json
|
2022-07-30 20:24:27 -04:00 |
|
Timothy Miller
|
8acd8e5f59
|
Added a catch all for * & @, which are common references to the root domain
|
2022-07-30 20:12:24 -04:00 |
|
Timothy Miller
|
0e0e9f9989
|
Fixed bug that caused the root domain to not update
|
2022-07-30 20:09:38 -04:00 |
|
Timothy Miller
|
464d2792b1
|
Fixed purgeUnknownRecords behavior
|
2022-07-30 20:07:36 -04:00 |
|
favonia
|
bf6135739d
|
Simplify Python version checking
|
2021-10-30 16:15:37 -05:00 |
|
Rojo
|
eebbcfbbdf
|
Fixes Python version check
This fixes the Python version check.
float() cuts trailing zeroes:
```python
import sys
```
|
2021-10-30 20:55:52 +02:00 |
|
Timothy Miller
|
ffa4963ddd
|
Merge pull request #62 from arpagon/master
K8S Compatability and Example
|
2021-10-29 22:06:12 -04:00 |
|
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 |
|
Sebastian Rojo
|
01993807a9
|
ADDED env Variable CONFIG_PATH for Kubernetes secret
|
2021-07-15 16:14:23 -05: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 |
|