Live data from Hacker News

Free DDNS with Cloudflare and a cronjob

github.com

181–190 of 202 posts

Re: Free DDNS with Cloudflare and a cronjob

#181
I also wrote my own pseudo-DDNS recently! With inspiration from a couple of similar projects on github

Mine is a golang executable that runs directly on my OpenWRT-based router on a 30 minute cron job. The beauty of running it on my router directly is that I can simply query the `eth0` interface for my public ip address - no need for a `curl` to determine my public IP.

https://github.com/jackphilippi/r53-ddns

Re: Free DDNS with Cloudflare and a cronjob

#182
post #19

I used ddclient with Cloudflare for years with no issues. Recently upgraded my home router and the manufacturer operates a free dynamic dns service enabled with a toggle button. I have a cname record in my domain’s dns records pointing to the dynamic dns entry. I actually don’t even need that anymore. All the services I run at home are only for immediate family so only available remotely via a Wireguard vpn connectio…

Wow! May I know the router model that does 900+mbps of Wireguard? The dedicated GLinet box I got for tailscale does only about 60-90mbps. Apple TV 4K does a paltry 20-40...

Re: Free DDNS with Cloudflare and a cronjob

#183
post #174
post #170

Earlier quoted context omitted.

I have a router connected to the internet, it gets the public IP address. The router is connected to the internal network in my home and has the IP address of 192.168.1.1. Behind the router is my computer which has a non-public IP address, for example 192.168.1.2. My computer is the one I want to run the program to update the DNS entry. My computer does not know what the public IP address is by looking at its interfa…

We're talking ipv6 not ipv4

I think the same situation applies for IPv6 if you are behind a router.

Re: Free DDNS with Cloudflare and a cronjob

#185

Instead of using DDNS, I have been using Cloudflare tunnels to expose my home services to the internet. The setup is much simpler and it seems like it's more secure too You specify a port and point it to a subdomain and it just immediately works, no maintenance necessary. The daemon only needs to be installed once with a simple terminal command

"Instead of DDNS, I have been using Cloudflare tunnels to expose my home services to the internet." Will this work if the "home services" include authoritative DNS.

only HTTPS

(last time I checked was last year though)

Re: Free DDNS with Cloudflare and a cronjob

#186
post #185

Earlier quoted context omitted.

"Instead of DDNS, I have been using Cloudflare tunnels to expose my home services to the internet." Will this work if the "home services" include authoritative DNS.

only HTTPS (last time I checked was last year though)

Thank you.

Perhaps DoH proxy is possible.

Re: Free DDNS with Cloudflare and a cronjob

#187
post #182
post #19

I used ddclient with Cloudflare for years with no issues. Recently upgraded my home router and the manufacturer operates a free dynamic dns service enabled with a toggle button. I have a cname record in my domain’s dns records pointing to the dynamic dns entry. I actually don’t even need that anymore. All the services I run at home are only for immediate family so only available remotely via a Wireguard vpn connectio…

Wow! May I know the router model that does 900+mbps of Wireguard? The dedicated GLinet box I got for tailscale does only about 60-90mbps. Apple TV 4K does a paltry 20-40...

The GL.iNet MT-6000 Flint2. I have a site to site Wireguard VPN with my brother which I use for offsite backups. It saturates my 500Mbs internet connection when performing backups. I have seen YouTube videos of others successfully testing the 900Mbs throughput claim. I stopped using tailscale myself about a year ago so can’t comment on the performance with it. It uses a user space Wireguard implementation instead of the kernel one so that may impact performance.

Re: Free DDNS with Cloudflare and a cronjob

#188

Earlier quoted context omitted.

This is a small thing, but I think you should decouple providers in case shit hits the fan with one of them. Let Cloudflare do DNS, let your registrar be a registrar.

Is this a real risk these days? I am interested (given I do use Cloudflare’s registrar and DNS (integrates nicely with IaC).

A mini horror story related to this just last year.

When I deleted the cloudflare DNS for one of my domains I also completely lost access to the cloudflare registrar for that domain.

Even though they should not be coupled at all and the UI makes it very much appear like they are decoupled.

I imagine this is a bug that's been fixed by now but it was still super panic inducing in the moment.

So ya keep those DNS and domains separate if possible.

Re: Free DDNS with Cloudflare and a cronjob

#190
post #39

Earlier quoted context omitted.

Ugh, same. You’re right. Nothing is safe at Google or even a safe bet with Google. Look at third-party cookies. I can’t believe there isn’t outrage in the streets over the fact that they beat that drum for four straight years and now they suddenly have a change of heart. At some point their rationale has to become irrelevant. It’s simply unprofessional behavior.

> Nothing is safe at Google Google Ads

This narrative might be shifting in realtime with the LLM race and privacy wars. How do I advertise in Gemini? Do Google users want me to? I’ve worked in and around digital advertising and marketing for the better part of a decade. We look at Google with all the admiration one would have for a pet crocodile.
Post reply on HN