beef331 / website

Code for the official Nim programming language website
https://nim-lang.org
18 stars 1 forks source link

nimCloudflareDynDns #12

Closed enthus1ast closed 3 years ago

enthus1ast commented 3 years ago

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:

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