I need to create a failover DNS server on a Rocky Linux 10 KVM for my university.

Posted by retired_nihilist@reddit | linuxadmin | View on Reddit | 23 comments

Hello!

I help manage the network services for my university's faculty. We're trying to align with tier 2 uptime standards, and my professor asked me to set up a "mirror" DNS server.

Currently, we have a primary DNS server with a public IP, and I was given a separate phisical server with Rocky Linux 10 Minimal where I have to create a KVM virtual machine on it and configure it as the secondary DNS so that if the primary goes offline, this new VM handles the resolution without downtime.

I've set up basic DNS servers before as a lab experiment, but I haven't tackled a proper production setup yet.

A few things I'm trying to figure out:

  1. Is the set up as simple as in a lab environment or are there any concepts that I'm missing?
  2. How can I keep the secondary server updated in real time? Is there an enterprise-level approach?
  3. I assume I need to set up a network bridge on the Rocky host so the VM gets its own IP on the same subnet (I have done this in the experiment I mencioned). Is this the standard practice for DNS VMs?
  4. Are there any common pitfalls when setting this up in a production environment?

I've been searching for tutorials, but most just cover basic single-node setups. Any pointers to good documentation or advice on how you'd architect this would be awesome. Thanks!