cloudflare-client
docker-cloudflare-ddns
cloudflare-client | docker-cloudflare-ddns | |
---|---|---|
4 | 35 | |
20 | 870 | |
- | - | |
2.6 | 1.1 | |
almost 2 years ago | almost 2 years ago | |
TypeScript | Shell | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cloudflare-client
-
curl: (60) SSL certificate problem on Cloudflare Container
% docker run --entrypoint /bin/sh -it oznu/cloudflare-ddns:latest -c "curl -vvI https://api.cloudflare.com/user/tokens/verify" | grep -A 8 "Server certificate" * Server certificate: * subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=api.cloudflare.com * start date: May 19 00:00:00 2022 GMT * expire date: May 19 23:59:59 2023 GMT * subjectAltName: host "api.cloudflare.com" matched cert's "api.cloudflare.com" * issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3 * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed)
-
Dynamic Subdomain Routing
this might workhttps://api.cloudflare.com/ based on what I found here https://community.cloudflare.com/t/create-a-subdomain-on-cloudflare-automatically/357063/2
-
Triggering Cloudflare Cache Purging with Netlify's Post-Deploy Hooks and a Google Cloud Function in Go
package purger import ( "fmt " "io" "log" "net/http" "strings" "github.com/GoogleCloudPlatform/functions-framework-go/functions" ) func init() { functions.HTTP("PurgeCache", purgeCache) } // httpError logs the error and returns an HTTP error message and code. func httpError(w http.ResponseWriter, err error, msg string, errorCode int) { errorMsg := fmt.Sprintf("%s: %v", msg, err) log.Printf("%s", errorMsg) http.Error(w, errorMsg, errorCode) } func purgeCache(w http.ResponseWriter, r *http.Request) { log.Printf("Received %s from %v", r.Method, r.RemoteAddr) if r.Method == "POST" { body, err := io.ReadAll(r.Body) if err != nil { httpError(w, err, "error reading POST body", http.StatusInternalServerError) return } log.Printf("Request body: %s", body) } // Send POST request to Cloudflare client := &http.Client{} data := `{"purge_everything":true}` req, err := http.NewRequest("POST", "https://api.cloudflare.com/client/v4/zones/ZONE_ID/purge_cache", strings.NewReader(data)) if err != nil { httpError(w, err, "error creating new Request", http.StatusInternalServerError) return } req.Header.Add("Authorization", "Bearer CLOUDFLARE-API-TOKEN") req.Header.Add("Content-Type", "application/json") cloudflareResp, err := client.Do(req) if err != nil { httpError(w, err, "error sending POST request", http.StatusInternalServerError) return } defer cloudflareResp.Body.Close() // Pass cloudflare response to caller cloudflareRespBody, err := io.ReadAll(cloudflareResp.Body) if err != nil { httpError(w, err, "error reading Cloudflare response", http.StatusInternalServerError) return } if cloudflareResp.StatusCode != http.StatusOK { msg := fmt.Sprintf("error non-200 status: %s", cloudflareRespBody) httpError(w, nil, msg, http.StatusInternalServerError) return } log.Printf("Cloudflare response: %s", cloudflareRespBody) _, err = w.Write(cloudflareRespBody) if err != nil { httpError(w, err, "error sending response to client", http.StatusInternalServerError) return } }
-
Cloudflare API Client Library
I've just built a small fetch-based, zero-dependency JavaScript library for Cloudflare API that works in Node.js, Deno, and CF Workers environment — https://github.com/kriasoft/cloudflare-client
docker-cloudflare-ddns
-
Need help with ddns and cloudflare, understanding tunnels
https://github.com/oznu/docker-cloudflare-ddns has been archived and perhaps one should avoid it. You will not receive any updates in the future.
- What next post suggestions
-
curl: (60) SSL certificate problem on Cloudflare Container
That container was last built Mar 21 2020. Looks like this is the source code.
-
"Half-Public" DDNS Solution?
I've seen the cloudflare-ddns solutions on github here and here but it doesn't look like it'd work for my intended use case. Do you know any software that can be selfhosted that allows for that?
-
Do you use a VPS gateway for your selfhosted services?
Something like CloudFlare ddns docker container will check your external IP every minute or so and automatically update if required
- Security Sanity Check
-
I finally found a free alternative to noip for a dynamic ip address.
I hate noip. They spam my email and I have to remember to confirm my domain every month or it gets deleted. I just switched to this with cloudflare and its so much better.
-
tool to auto-update A-records when not on a static IP?
Cloudflare DDNS
-
Self-host your blog on a Raspberry Pi
I've used this in the past: https://hub.docker.com/r/oznu/cloudflare-ddns/
Cloudflare is a nice option.
- Dyn DNS Provider
What are some alternatives?
notion-api-worker - Notion as CMS with easy API access
OpenMediaVault - openmediavault is the next generation network attached storage (NAS) solution based on Debian Linux. Thanks to the modular design of the framework it can be enhanced via plugins. openmediavault is primarily designed to be used in home environments or small home offices.
vscode-restclient - REST Client Extension for Visual Studio Code
headscale - An open source, self-hosted implementation of the Tailscale control server
redirect.center - Redirect domains using DNS only
v2ray-agent - (VLESS+TCP+TLS/VLESS+TCP+XTLS/VLESS+gRPC+TLS/VLESS+WS+TLS/VMess+TCP+TLS/VMess+WS+TLS/Trojan+TCP+TLS/Trojan+gRPC+TLS/Trojan+TCP+XTLS)+伪装站点、八合一共存脚本,支持多内核安装
cloudflare-ddns - 🎉🌩️ Dynamic DNS (DDNS) service based on Cloudflare! Access your home network remotely via a custom domain name without a static IP!
Nginx Proxy Manager - Docker container for managing Nginx proxy hosts with a simple, powerful interface
tailscale - The easiest, most secure way to use WireGuard and 2FA.
cloudflare-dyndns - Simple Bash script for updating ipv4 and ipv6 dns records via Coudflare API
traefik-forward-auth - Minimal forward authentication service that provides Google/OpenID oauth based login and authentication for the traefik reverse proxy
guacamole - A Docker Container for Apache Guacamole, a client-less remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH over HTML5. For x64, arm64 and ppc64le.