How to Setup Dynamic DNS (DDNS) using Kea and Bind on Debian or Ubuntu

Поділитися
Вставка
  • Опубліковано 11 гру 2024

КОМЕНТАРІ • 21

  • @TechTutorialsDavidMcKone
    @TechTutorialsDavidMcKone  Рік тому +1

    For other Linux related tech tutorials, check out my Linux Playlist
    ua-cam.com/video/VjZD3kkBzRE/v-deo.html

  • @the_latinist
    @the_latinist 6 місяців тому +2

    I struggled off and on for days trying to figure this out. I was 95% of the way there, but I’m not sure I ever would have figured out that last 5% without this tutorial.

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  6 місяців тому

      The documentation can be a bit overwhelming I think
      But I've been using ISC's products for a long time now, and I do prefer them

  • @BillyDickson
    @BillyDickson Рік тому +2

    Thanks David, currently learning docker + cloudflare tunnels with subnet and email authentication (so I can homelab from work), just bookmarked for later, much appreciated.

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  Рік тому +1

      I'm finding DDNS really useful in labs as computers get spun up and thrown away so it saves having to manage DNS

  • @christianfloreck8347
    @christianfloreck8347 Рік тому +1

    Just GREAT!
    I do not know how much days I tried to setup DDNS, failing and failing.
    And this tutorial - everything fine.
    However, just an idea.
    DNS with a deeper dive (setting up such things as subdomains) is something realy "confusing" for me.
    An tutorial about DNS in debth would help a lot people.
    Christian.

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  Рік тому +1

      Thanks for the feedback
      I do have a long list for videos to do, but I'll see what else can be covered for DNS, including this

  • @adrianhartwig2646
    @adrianhartwig2646 6 місяців тому +1

    Thanks for your great videos on KEA and Bind9. I'm really thankful and it helped me to understand a lot about DNS and DHCP! I wanted to try Stork, the web-frontend from ISC but i can't get it to fetch the statistics from the DHCP and the DNS Servers. I think the "problem" is the tsig-key but i can't find a working manual to add the tsig-key to Stork. It would be realy great if you could add a new video to your great playlist.

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  6 місяців тому +1

      I'll have to catch up with where the devs are at with Stork
      Although at first glance, there's still not an official release and so it wouldn't be suitable for production

  • @stayfunsteven2207
    @stayfunsteven2207 7 днів тому +1

    2:03 it does have sudo installed if you don’t create a root password in the installer.

  • @petermuller2602
    @petermuller2602 10 місяців тому +2

    Hi David, will there be a level 2 video of this? Dual stack (IPv4 and IPv6)

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  10 місяців тому

      Not at the moment unfortunately as I don't use IPv6
      The typical retail ISP doesn't provide it in the UK and I've only worked with one client that asked for it and that was just on the off chance customers might want to use it
      Although I might revisit it if Matter takes off, as I know Thread requires IPv6

  • @adrianhartwig2646
    @adrianhartwig2646 5 місяців тому +1

    I configured a secondary DNS on an extra LXC with your videos. But after this DDNS video, the bind service on the secondary says: "failed while receiving responses: REFUSED". My guess is that i need another key -> ns1-ns2.key but i can't get it work. Can you point me the direction?

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  5 місяців тому

      When you use keys, both servers need to agree to use the same one and it's good to use different ones for different purposes
      So you'll probably want one for DNS to DNS
      And another for DNS to DHCP

  • @weedwhisperer6767
    @weedwhisperer6767 28 днів тому +1

    Hi, I'm not sure why kea-dhcp-ddns -t does not work when I try to do the checks with the kea configuration file; kea-dhcp4 -t doesnt work as well; it says command not found and i tried adding it to the path but it doesnt seem to be installed when I run `which kea-dhcp-ddns` (returns nothing)

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  28 днів тому +1

      Have you installed the DDNS module?
      If not you'll need to do that:
      apt install isc-kea-dhcp-ddns-server -y
      The command is in /usr/sbin/
      You can't run it or find it with a normal account
      In my example I had switched to the root account but you could use sudo instead

    • @weedwhisperer6767
      @weedwhisperer6767 28 днів тому

      @@TechTutorialsDavidMcKonethanks for the reply; ironically I found the fix because I couldn’t run aa-status and ifconfig even though apparmor and net-tools were installed; even as root user, the system only ran the commands when I did sudo;
      But I’m not sure why that is

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  27 днів тому +1

      @@weedwhisperer6767 Crikey, that's a very frustrating problem. Glad to solved it

  • @j-bird-nc
    @j-bird-nc Місяць тому +1

    Hi David, have you set this up with a 255.255.252.0 /22 network? I am having trouble getting DDNS to work and am not finding much help online.

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  Місяць тому

      No, I've only used networks above /24 for telephony
      Try monitoring the logs on the two servers to see how they react as they can be quite informative
      It depends on the OS and version but it might be something like
      sudo tail -f /var/log/syslog
      Or
      journalctl -f
      I can only assume the DNS server is the one with a problem, so do you have a reverse lookup zone configured?
      Because I'm wondering if the DNS server would push back if say the DHCP server has a /22 subnet while the reverse lookup zone was for a /24 subnet