Posting:
If you live in Germany you most likely
have a dynamic ip address. So every time your router
restarts, or after a certain time,
your router gets a new ip address from your ISP.
When you want to host services from home,
or just want to have ssh access, you normally use one of the big
dynamic dns providers (dyn.com, no-ip.com, afraid.org, etc.).
To have a dns entry that always points to your routers
external ip address.
If your domain is managed by cloudflares dns servers,
this tool is for you!
The idea:
Acquire your public ip address by crawling
several "how is my ip address" websites.
Assume that the most often 'seen' ip address is your
routers external ip address.
Use the cloudflare API to change 'A' records of
some of the configured subdomains to point to your routers ip address.
By running this tool periodically, you effectively use
cloudflare as your dynamic dns provider!
We use this tool for years without major issues.
and I wanted to share this with you :)
"Go and host all the things!"
Ps.: even if you do not plan to use cloudflare as your dyndns provider,
this project includes a "from (text) soup ipv4 parser"
which can extract ipv4 addresses from any text.
Maybe this is helpful!
Name: nimCloudflareDynDns
Author: David Krause (enthus1ast)
Posting: If you live in Germany you most likely have a dynamic ip address. So every time your router restarts, or after a certain time, your router gets a new ip address from your ISP.
When you want to host services from home, or just want to have ssh access, you normally use one of the big dynamic dns providers (dyn.com, no-ip.com, afraid.org, etc.). To have a dns entry that always points to your routers external ip address.
If your domain is managed by cloudflares dns servers, this tool is for you!
The idea:
Acquire your public ip address by crawling several "how is my ip address" websites.
Assume that the most often 'seen' ip address is your routers external ip address.
Use the cloudflare API to change 'A' records of some of the configured subdomains to point to your routers ip address.
By running this tool periodically, you effectively use cloudflare as your dynamic dns provider!
We use this tool for years without major issues. and I wanted to share this with you :)
"Go and host all the things!"
Ps.: even if you do not plan to use cloudflare as your dyndns provider, this project includes a "from (text) soup ipv4 parser" which can extract ipv4 addresses from any text. Maybe this is helpful!
https://github.com/enthus1ast/nimCloudflareDynDns