How to Build a Bind9 Docker Image

  Рет қаралды 1,643

Tech Tutorials - David McKone

Tech Tutorials - David McKone

Күн бұрын

Пікірлер: 21
@Glatze603
@Glatze603 5 ай бұрын
Hi Dave and thanks for the video and the content 🙂I am playing around with dns (and in combination with dhcp) in my homelab and I am still looking for a complete solution: I have a dhcp serverand I want a computer to get an ip address from this dhcp server (not reserved), I want that the ip, the computer name and the domain name are registered in the dns server, so that the computer can be resolved with it´s ip address and with it´s computer name and with it´s fqdn, too. The dns server should be an authoritative dns server, too. I found an open source application "technitium dns server" that seems to be a feature rich and secure solution. Maybe you could make a video about it?
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 5 ай бұрын
I'm using Kea to do DDNS with Bind They're by the same company and work well together
@AdrianuX1985
@AdrianuX1985 8 ай бұрын
+1
@pursue_eternity
@pursue_eternity Ай бұрын
secure (thanks for using "bind" user) and easy to follow vid. Everything worked as expected however that "rndc reload" isn't really updating my zone file (i also update the serial number). I still get old entry when looking up. "docker restart " this works but what's up with "rndc reload"?
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Ай бұрын
That's strange I've just created a new A record and rndc reload is working fine But are you editing an existing entry? If so it's possible you're running into a caching problem The client computer will cache a DNS lookup, so even if you update the DNS server, the client will use what's in it's own cache until it times out after maybe 24 hours Likewise, the DNS server will cache DNS lookups until the TTL expires, but a container restart probably wipes that out, forcing it to read from the database file again
@pursue_eternity
@pursue_eternity Ай бұрын
rndc reload shows the same output server reload successful. But when viewing in the /etc/bind/db., it doesn't show new A record so obviously when exiting from the container and using host command shows "Host not found: 3(NXDOMAIN)
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Ай бұрын
@@pursue_eternity That's odd because the file on the host should be the same one that the container uses So when you update the file on the host, the container should be updated What the rndc reload command does is to get bind9 to read the config file into memory again What OS are you running Docker on? I've got a VM running Debian 12.6 and that works
@pursue_eternity
@pursue_eternity Ай бұрын
@@TechTutorialsDavidMcKone tried on ubuntu server 22.04 and arch linux 2024.08.01, same issue.
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Ай бұрын
@@pursue_eternity Very odd that. It sounds like quite a rabbit hole. I was just reading about files not being updated due to a bug in Docker, but that thread is quite old. Also there can be situations where if you mount a single file it may not get synched so a directory mount can be better. Fortunately, a container restart resolves these
@michaelcooper5490
@michaelcooper5490 8 ай бұрын
Another great video David, Thank you for your work.
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 8 ай бұрын
Thanks for taking the time to comment and good to know the video was useful
@agatamarozas9860
@agatamarozas9860 8 ай бұрын
Matrix and Hollywood in background love it :)
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 8 ай бұрын
Yes, it's certainly an interesting background choice :)
@BillyDickson
@BillyDickson 8 ай бұрын
Thanks Dave, much appreciated. Might have a bash at creating an Unbound recursive DNS resolved at summer point and see where it lands me. 👍
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 8 ай бұрын
Well if you want more of a challenge try adding DNS over HTTP (DoH) Seems to be getting more preference over DNS over TLS (DoT) These Firefox browsers are being fussy
@iomarian13
@iomarian13 8 ай бұрын
thanks a lot for your video keep doing these kind of videos.
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 8 ай бұрын
Glad you liked the video And there are a lot more in the pipeline
@IleniaQuintero
@IleniaQuintero 5 ай бұрын
Hello, I was looking at your video channel. We may be helping a company that uses secure images to increase supply chain security and help cloud native development. Would you be willing to help try their software, make a video, and help show devs how to use their tools? This is not an offer, but just to start a conversation about your willingness to take on sponsorship. Please provide me with your email if you are interested. You'd have a chance to look at their technology and decide if it's the type of software that you'd be interested in covering in your channel.
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 5 ай бұрын
Thanks for asking I don't do software development but if you can provide a link to the website I might still look into this to see if anything fits in with what I cover on this channel
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 219 М.
How to Build a Kea DHCP Server Docker Image
45:44
Tech Tutorials - David McKone
Рет қаралды 910
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 58 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 2,9 МЛН
You want a real Name Server at home? // DNS
32:31
Christian Lempa
Рет қаралды 261 М.
Docker Tutorial for Beginners
50:38
mCoding
Рет қаралды 42 М.
Say Goodbye To Root Accounts With Podman!
29:40
Tech Tutorials - David McKone
Рет қаралды 2,7 М.
Automate Local TLS Certificates With Step-CA
36:57
Tech Tutorials - David McKone
Рет қаралды 3,3 М.
Monitor Docker Containers With cAdvisor, Prometheus And Grafana
20:12
Tech Tutorials - David McKone
Рет қаралды 1,1 М.
Master Traefik 3 in 60 min: Best Docker Reverse Proxy
56:39
SmartHomeBeginner
Рет қаралды 20 М.
Ansible Vault 101: Safely Storing Information in Playbooks
19:24
Tech Tutorials - David McKone
Рет қаралды 1,4 М.
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 451 М.
Simplify Your Proxmox VE Tasks: Ansible Automation Made Easy
19:42
Tech Tutorials - David McKone
Рет қаралды 11 М.