Dynamic DNS: pfSense, OPNSense, Docker, Bash

preview_player
Показать описание
Dynamic DNS ensures that your DNS record automatically matches your IP after it changes. In this video I show how to configure it on popular firewalls, Docker, and via bash.

00:00 - What's Dynamic DNS?
03:32 - OPNSense
06:02 - Cloudflare Configuration
08:42 - pfSense
10:40 - Docker
14:34 - Bash Script
16:49 - Test with OPNSense
18:08 - Outro
Рекомендации по теме
Комментарии
Автор

Great video Jim! Thanks for yet another informative video! I'm using dynamic DNS with Sophos.

CanadianWealthHacker
Автор

Like your simple explanation, I will be using this with OPNsense
Thanks for sharing

nexusasus
Автор

Pretty nice video buddy, perfectly planned and executed and will surely satisfy max users imo.
Keep making great videos ;-))

BuddhaMedam
Автор

This video showed up at just the right time for me, just right after I finished your video about Headscale :) My ISP changes my IP once a week. Since I want to delve into a homelab setup, I plan to host some services on my local, dedicated setup. This will be helpful alongside implementing CloudFlare to help protect some traffic. I've found your videos to be very educational and presented in a way that gets you form A to B to C in a very organized way. Great job and thanks for your work!

CoreyPL
Автор

Been meaning to get around to this. Great timing
!

Shrp
Автор

My newest Dynamic DNS solution: Caddy Server + related DNS module.

codeman-dev
Автор

That’s a neat setup. I’m using a container that’s running a bash script checking my public IP and updating it via cloudflare API. Probably should have checked for other solutions before writing my own script and container. But I learned how to create a container image and publish it to container registry

daniieg
Автор

Great video, but I found a couple minor issues with the documentation that I thought I'd mention.

First the link to your docker compose github page is broken. The link has a hyphen, while the github page doesn't. It was very easy to find the actual page once I looked at the full list of your documentation (which is all great). It took me several minutes to figure out the difference between the link and the page, so those hyphens can be sneaky. :)

Second, the "config" file, actually needs to be a directory. Then, within that directory you need a "ddclient.conf" file that contain the configuration details from your config file.

Thanks again and keep up the good work.

robertburchfield
Автор

Good video. I've been using dynamic DNS ever since I've started selfhosting. I use the linuxserver duckdns container and added my own dynu bash scripts (dynu is much more reliable than duckdns). Well it worked great as always, many public wifi has attempted to block dynamic DNS which pre-much cripples my entire homelab (can't even VPN b/c Wireguard uses ddns as I don't have staic IP). I've now switched to tailscale (require setup an exit node) and seems to restore my homelab.

kevinhu
Автор

Thanks. Of the 3 firewalls you have covered, which do you use in your lab ?

toddselby
Автор

Please make a video of defguard, Open Source Enterprise SSO & VPN.

taradnbrn
Автор

I currently use DuckDNS within pfSense. I assume going with Cloudflare would break any e-mail address forwarding configured within Cloudflare for the domain as the DNS records would point to your home IP instead of Cloudflare's?

georgec
Автор

I got some crappy bash script on my crappy router which triggers when ip changes 😆

qhzzdyh
Автор

Does this work if you are behind a CG-NAT?

brachisaurous
Автор

I am usuing duckdns docker, I believe it's easier

meccu
Автор

It's 2024. Stop living in the stone age and use cloudflare tunnels.

JamesMartin