DiyMediaServer
Featured image of post Pi-hole vs Technitium: Why I Replaced Pi-hole (Part 1)

Pi-hole vs Technitium: Why I Replaced Pi-hole (Part 1)

Pi-hole vs Technitium from a real migration: why a native DNS cluster beats sync tool, and the five decisions to make before you install.

If you run two Pi-holes and attempt to keep them in sync with the Nebula Sync tool, this post is for you. My Pi-holes sat on two Proxmox nodes for years, and Nebula Sync mostly kept them synced every 15 minutes. It worked. Then I counted, and Nebula Sync turned out to be the third sync tool my lab had used in the last three years. The other two were gravity-sync and pihole-cloudsync. Both of these projects were abandoned, and I feared that Nebula Sync was going to be next. That’s the part of the pi-hole vs technitium debate the comparison charts fail to mention.

💭
TL;DR: I replaced my Pi-hole pair with two clustered Technitium DNS servers because Pi-hole can’t replicate itself, and the third-party sync tools keep dying out. This post covers what you gain, what it costs, and the five decisions you have to make before you install anything.

This is Part 1 of a five-part series. By the end of Part 5 you’ll have two clustered Technitium servers on Proxmox, your clients moved across, and your Pi-holes powered off. Every bump I hit along the way is in there. Some of them twice.

I set all of this up on my own lab: the pair runs Technitium 15.6.2 in Debian 13 LXCs on Proxmox VE 9.3.1 (kernel 7.0.14-30-pve), one container on pve-01 and one on pve-02, and it has carried every DNS query in the house since September.

Three Sync Tools in Three Years

Pi-hole is great, but it has one structural gap: it has no replication of its own. Run one Pi-hole and that’s fine. Run two (and you should, because DNS is one of those services that takes everything else down with it when it breaks) and you need a third-party tool to copy settings and DNS entries from one to the other.

That class of tool doesn’t last. gravity-sync was abandoned in 2024. pihole-cloudsync went the same way in 2025. Nebula Sync was my third. Each one worked fine right up until the day it stopped getting updates. Did I think the third would be the lucky one? No.

Nebula Sync isn’t perfect, but it works. It has gaps of its own.

Nebula Sync has no failure alerting. None. If a sync stopped, nothing told me. The two Pi-holes would quietly drift apart until I happened to notice a local record that existed on one and not the other.

For a while it was even sillier than that. My sync job talked to both Pi-holes through their reverse proxy hostnames, which meant replication rode through Caddy (yes, this is dumb; don’t do it). Caddy has nothing to do with DNS. A Caddy outage still stopped replication, silently. I fixed this issue by pointing Nebula Sync straight at the Pi-hole IPs (my Nebula Sync guide still works if you’re staying on Pi-hole), but the underlying problem stayed. A sync tool with no alerting is a sync tool YOU have to monitor. Forever.

So the question became: do I migrate to a fourth sync tool, or remove the need for one?

Pi-hole vs Technitium: What You Actually Gain

Technitium DNS Server is a full DNS server. Pi-hole is a filtering forwarder with a very good dashboard. That difference sounds academic until you need two of them. And you do need two of them.

Before going further, five terms you’ll keep seeing in this series:

  • Resolver: the server your devices ask “what’s the IP for this name?” Both Pi-hole and Technitium play this role.
  • Authoritative zone: a chunk of DNS names a server owns outright. It doesn’t ask anybody else about names inside it. It answers from its own records.
  • NXDOMAIN: the DNS answer for “that name doesn’t exist.” Your browser shows it as a “site can’t be reached” error.
  • Primary and secondary: in a Technitium cluster you make changes on the primary, and the secondary copies them. Both answer queries.
  • Promotion: turning the secondary into the new primary. In Technitium this is a button you need to click.

Native clustering, and no fourth sync tool

Technitium clusters natively. One node is the primary, the other is a secondary, and the secondary replicates from the primary on its own. You administer both from one console. There’s no side container, no cron schedule, no API password stuffed into an .env file.

The zones replicate using ordinary DNS machinery: primary and secondary zones kept in step through a catalog zone (a special zone that lists which zones the secondary should copy). That’s decades-old, boring, well-understood technology. Boring is what you want from the thing every device in your house asks for directions.

It still blocks ads

The first question everyone asks. Yes. Technitium takes blocklist URLs the same way Pi-hole does. I pointed it at the same StevenBlack hosts list I used on Pi-hole, refreshed every 24 hours, and blocked names get answered with 0.0.0.0. Ad blocking gets its own post (Part 3), because the settings aren’t laid out the way someone coming from Pi-hole would expect.

Real zones instead of a flat custom.list

Pi-hole’s local DNS is a flat list of name-to-IP pairs. That’s fine for ten records. It gets weird when you start poking at it, and I poked at it.

I once needed to remove a stale record. So I opened /etc/pihole/hosts/custom.list, deleted the line, and moved on. Done, right?

No. On Pi-hole v6, custom.list is output. FTL (the engine underneath Pi-hole) generates it from the dns.hosts setting in pihole.toml, Pi-hole’s real config file. My edit worked until the next config write, at which point FTL regenerated the file and the “removed” record came back. It also never replicated, because Nebula Sync copies pihole.toml, not the generated file. So I had a record that was deleted on one Pi-hole for a while, present on the other the whole time, and back on both soon after. The supported path is the web UI or pihole-FTL --config, run on the primary only. On its own it prints the current list; give it a new value as a second argument and it writes one:

pihole-FTL --config dns.hosts

Lesson learned: if a file looks like config but something else writes it, it isn’t yours. Technitium avoids the whole category. Local names live in real authoritative zones that you create, edit and replicate as zones, with no hidden generator rewriting them behind your back.

One small aside for the DNSSEC crowd. Both setups validated DNSSEC through the same upstream resolver, but Pi-hole stripped the ad (authenticated data) flag from its answers and Technitium passes it through. Nothing in my lab seemed to notice or care. If something in yours reads that flag, expect it to change at cutover.

What It Costs (Because It Isn’t Free)

I’d be lying if I said this was a pure upgrade. It’s a trade, and here are the parts I paid for.

A bigger footprint. Technitium runs on .NET, and .NET wants memory. My Pi-holes ran happily on 512 MiB each. I gave each Technitium container 2 cores, 2 GiB of RAM, 1 GiB of swap and a 10 GB disk. That’s room for the runtime, the DNS cache, blocklist processing and the cluster metadata, with headroom I haven’t tried to trim. If your Pi-hole lives on a tiny board with RAM to match, don’t assume Technitium will fit where it did.

Your Pi-hole habits. The Pi-hole dashboard and query log are genuinely pleasant, and you’ve probably built muscle memory around them. Technitium’s console is more capable and less friendly. Expect a week of hunting for things.

Cluster lifecycle rules. A cluster has rules you have to learn. The big one: while the primary is down, the secondary keeps answering queries, but you can’t change any configuration until you explicitly promote the secondary to primary. Promotion never happens on its own. I watched this hold during testing: dns02 stayed a secondary through every dns01 outage I caused. That’s the right design (automatic promotion is how you get two nodes that both think they’re in charge), but it’s a rule you need to know before the primary dies, not after.

Monitoring is on you. And here’s the uncomfortable admission. I chose not to add continuous monitoring to my cluster. A cluster that stops replicating is invisible until I go look. That’s the exact class of gap I spent three paragraphs criticizing Nebula Sync for. I know.

The difference is that “going and looking” takes ten seconds and doesn’t depend on anybody’s side project. Each per-name zone has a serial number that bumps when it changes, and a healthy secondary carries the same serial as the primary.

One more cost worth checking before you buy anything. If that 2 GiB footprint rules out the board your Pi-hole lives on now, an 8 GB Pi 5 (Overkill? Yes, but this is a lab, so have fun) has room for a Technitium node with plenty left over.

Raspberry Pi 5 (8GB) kit
Raspberry Pi 5 (8GB) kit. A Pi 5 8GB board bundled with a case, an active cooler, and a screwdriver, which covers the cooling and enclosure you’d otherwise source separately. The board is the biggest generational leap in Pi history. A quad-core Cortex-A76 at 2.4 GHz gives it roughly twice the CPU performance of a Pi 4, with PCIe 2.0 via the new FFC connector for NVMe storage, a real power button, and a dedicated Raspberry Pi RP1 I/O chip. It still sips power and fits in your hand, but now handles heavier Docker workloads, Pi-hole plus Home Assistant simultaneously, and even light Jellyfin duties.
Amazon Price: Loading...
Availability: Checking...
Contains affiliate links. I may earn a commission at no cost to you.

Should You Switch?

Not everyone should, and I’d rather you know that now than in Part 4.

Stay on Pi-hole if you run a single instance, you mainly want ad blocking, and your local records rarely change. Pi-hole is excellent at that job, the community docs are better, and the ecosystem is bigger. Stay on Pi-hole if your current pair syncs reliably and you actually check it. A working setup you understand beats a better one you don’t.

Switch to Technitium if you want two resolvers that stay identical without something else bolted on, if you want real zones for your local names, or if you’re tired of migrating sync tools. Those were my reasons to move away from Pi-hole.

If you’re somewhere in between, read the five decisions below. If they sound like a reasonable afternoon of planning, you’re ready. If they sound like a lot, they are a lot, and Pi-hole will still be there.

Whichever way you go, the hardware doesn’t have to change much. Either one runs comfortably in an LXC or on a 4 GB Pi 4.

RaspberryPi 4GB
RaspberryPi 4GB. A palm-sized single-board computer with a quad-core ARM CPU and 4GB RAM that runs full Linux, with Gigabit Ethernet, dual-band Wi-Fi, USB 3.0, and dual micro-HDMI. Ideal for lightweight homelab duties like Pi-hole, Home Assistant, and small Docker stacks, or for learning GPIO-based hardware projects while sipping only a few watts.
Amazon Price: Loading...
Availability: Checking...
Contains affiliate links. I may earn a commission at no cost to you.

Five Decisions to Make Before You Install Anything

This is the section that matters. Every one of these is cheap to decide now and expensive to change later. One of them can’t be changed at all.

I automate my lab (OpenTofu and Ansible), but this series is the by-hand version: the Proxmox web UI, pct (Proxmox’s command-line tool for LXC containers), the Technitium console and dig. Grab a text file and write your answers down as you go.

1. Two IPs on two different Proxmox nodes

Two DNS servers on the same Proxmox host aren’t redundant. When that host reboots for a kernel update, they go down together.

Mine are dns01 at 192.168.1.20 on pve-01 and dns02 at 192.168.1.21 on pve-02. Losing either node leaves one resolver standing. Pick two free addresses outside your DHCP range and reserve them.

Then check the stuff that’s supposed to be independent and isn’t. Backups are the sneaky one.

My old Pi-holes both sat first in their node’s nightly backup queue, and both nodes started the backup job at the same second. Every night, both Pi-holes stopped for about ten seconds at the same moment. Redundant on paper, simultaneous in practice. The new pair nearly repeated it: both Technitium containers landed last in their queues, and their stop windows missed each other by nineteen seconds, purely by luck. I moved dns02 into a separate backup job about three hours later.

Put your two DNS containers in different backup jobs. Reordering guests within one job won’t save you. Proxmox’s backup tool (vzdump) works through a job’s guests in ascending VMID order, whatever order the job lists them in. The Proxmox backup documentation covers how jobs and schedules work.

Finally, your clients need both addresses. A cluster does nothing for a device that only knows about one node. When I audited my old setup, I found six hosts with no working DNS failover at all, including one Pi-hole that pointed only at itself. Your router’s DHCP should hand out both IPs, and anything with static DNS settings needs both too.

Only have one Proxmox node? Then that’s the first problem to solve, and no amount of DNS planning fixes it. A used micro PC makes a cheap, quiet second node.

Dell OptiPlex 7070 Micro
Dell OptiPlex 7070 Micro. A 1-liter business mini PC with 8th/9th-gen Intel Core CPUs that’s quiet, efficient, and upgradeable (NVMe storage, dual SODIMMs) while disappearing behind a monitor. Great as a tidy Proxmox/Plex node or an everyday office box, with solid build quality and enough ports for dual-display setups.
Amazon Price: Loading...
Availability: Checking...
Contains affiliate links. I may earn a commission at no cost to you.

2. Pick one upstream resolver path

Technitium can do full recursion itself (walking the DNS tree from the root servers down), or forward to somebody else who does. Pick one path and keep it simple to debug.

I forward everything to Unbound running on my OPNsense router at 192.168.1.1 port 5335, which does recursion and DNSSEC validation. I deliberately have no public fallback resolver. That sounds scary. It isn’t. If something’s wrong with resolution, there’s exactly one place to look, and I never have to wonder which upstream answered.

If you don’t run Unbound, forwarding to Cloudflare or Quad9 is a perfectly sane choice. What I’d avoid is a pile of mixed upstreams “for redundancy.” Then a weird answer could have come from any of them, and you have to guess which.

3. The cluster domain is forever

When you create a Technitium cluster, you give it a cluster domain. It can’t be changed after the cluster exists. No setting, no workaround, no undo. Get it wrong and you tear the cluster down and start over. I treated this as a one-way door on 15.6.2 and checked my choice against every record I owned before committing. Technitium’s own clustering guide says the same thing: it “cannot be changed later without having to delete the cluster and starting over again.”

I used dns.example.com. Each node’s cluster identity hangs off it:

clusterDomain   dns.example.com
dns01 identity  dns01.dns.example.com
dns02 identity  dns02.dns.example.com

Yes, dns01.dns.example.com looks like a stutter. It’s deliberate. The host is still dns01, and the extra dns label tells you at a glance you’re looking at the cluster identity rather than the host’s normal name. I tried shortening it once. I reverted it the same day.

Do not use your bare domain (example.com) as the cluster domain. Creating the cluster would effectively create a zone for your entire domain, which is the mistake in decision 4. Pick an unused subdomain with nothing living under it, confirm it has no public records (dig @1.1.1.1 dns.example.com should come back NXDOMAIN), and write it down.

4. Don’t create a zone for your whole domain

This is the mistake everybody makes, and it’s a quiet one.

You have example.com. You want jellyfin.example.com and sonarr.example.com to resolve to your reverse proxy on the LAN. The obvious move is one example.com zone with all your local records in it. Clean. Tidy. Wrong.

An authoritative zone answers for everything under it. Ask it for a name it doesn’t hold and it answers NXDOMAIN with full confidence, even with no wildcard. So every public name you didn’t copy into your local zone vanishes for every device on your LAN. Your mail records. Your verification records. Whatever you host on a VPS.

For me that would have been ntfy.example.com, my notification server on a VPS. Every alert in my lab goes through it. One tidy zone, and every alert on the LAN would have silently failed to send. I’d have found out the next time something broke and ntfy didn’t tell me.

So I use one small zone per local name instead. I run 28 of them, each holding one A record pointing at my internal reverse proxy at 192.168.1.9. Any name without a matching zone (ntfy included) falls through to the upstream resolver and resolves publicly, exactly like it should.

Don’t read 28 as the number of DNS names you need to start this process. That’s what ten years of accumulated services looks like. Start with the handful of names you actually type into a browser this week, and add a zone each time you stand up something new. Each one takes about a minute once you’ve done the first, and Part 2 walks through it. It’s more zones than you’d expect. It’s also the version that doesn’t eat your public DNS for lunch.

5. Plain DNS on port 53, for now

Technitium can serve DNS-over-HTTPS and DNS-over-TLS to clients. It’s tempting. Don’t do it yet. Encrypted client DNS involves certificates, client support and its own set of failure modes, and stacking it on top of a migration doubles the number of things that can be wrong at once. Get plain UDP and TCP on port 53 working, migrate, then treat encrypted DNS as its own project.

Your planning worksheet

Before Part 2, write down:

  • The two static IPs and which Proxmox node each lives on
  • Which backup job each DNS container will live in (two different jobs)
  • Which device hands out DNS settings (usually the router’s DHCP)
  • Your upstream resolver choice
  • Your cluster domain, checked for existing records
  • Every local DNS record from your current Pi-hole (export them now while the dashboard still exists: Settings > Teleporter takes a full backup, and pihole-FTL --config dns.hosts prints the local records)
  • Your blocklist URLs and any allowlist entries
  • Devices with hard-coded DNS servers, plus any VLANs or VPNs with their own DNS settings
  • Public names under your domain that must keep resolving publicly
  • How you’ll check replication

What the Finished Technitium DNS Cluster Looks Like

Here’s where the series ends up. Clients get both DNS IPs from DHCP. They ask whichever node they ask, and either one can answer. Local names get answered from the per-name zones. Blocked names get sunk to 0.0.0.0. Everything else gets forwarded to the upstream resolver. dns01 is the primary where you make changes, and dns02 replicates from it.

How well does failover work? I tested it by stopping the DNS service on the primary while everything kept running. The peer answered in 9 ms, and every other machine I measured kept resolving in 3 to 6 ms. Failover, in the common case, is nearly free.

I didn’t trust it on that alone. Before calling the migration done, I ran two full rebuild tests on throwaway containers in October, building the pair from scratch and replacing each node in turn. They turned up about 35 issues, a handful of which would have stopped or quietly corrupted a real rebuild. I’d rather find those on disposable containers than during a real outage. The ones a by-hand reader is likely to hit are in Parts 4 and 5.

Tests need somewhere to run, though. If your nodes are already full, throwaway containers are the first thing you’ll skip, and a mini PC with a few spare cores keeps them cheap enough that you won’t.

Beelink SER5 (Ryzen 5 5500U)
Beelink SER5 (Ryzen 5 5500U). A palm-sized mini PC with a 6-core/12-thread CPU that feels snappy for everyday work and homelab duties, handling Docker stacks, light VMs, and Plex without guzzling power. With NVMe plus a 2.5″ bay, Wi-Fi 6, and multi-display output, it’s a quiet, tidy upgrade for desk or media setups.
Amazon Price: Loading...
Availability: Checking...
Contains affiliate links. I may earn a commission at no cost to you.

Pitfalls I’ve Already Stepped In

All four of these showed up in my own testing on 15.6.2. You’re about to make the same assumptions. Here they are early.

Failover isn’t always instant. When a DNS service is stopped but its container is up, port 53 actively refuses the connection, and the client moves to the second server immediately. That’s the case I measured, and it’s cheap. When the whole container is down, packets go nowhere, and a Linux client waits out its resolver timeout (five seconds by default) before trying the next address. Same outage on paper. Very different experience. Keep both nodes on hosts that don’t reboot together, and you’ll rarely see the slow case.

The cluster status page will lie to you. While testing, I stopped a member for about four minutes and its peer kept reporting it as Connected the entire time. After it came back, it showed Unreachable for a while. Peer state lags in both directions. When you test failover in Part 4, query each node directly with dig rather than trusting the dashboard:

dig @192.168.1.20 jellyfin.example.com
dig @192.168.1.21 jellyfin.example.com

If public names break only inside your LAN while they work fine on your phone’s mobile data, you’ve almost certainly built the zone from decision 4. Query a public name you never added locally. If your server answers NXDOMAIN and a public resolver answers with an address, there’s your problem.

And if you can’t save a setting while the primary is down, nothing’s broken. That’s the promotion rule from the costs section.

The Series Map: How to Migrate Pi-hole to Technitium

Here’s the full plan to migrate pihole to technitium, one post at a time:

If you want the backstory, my homelab projects update covers where this migration fit among everything else I broke this year.

Frequently Asked Questions

➤ Is Technitium harder to use than Pi-hole?
Yes, somewhat. Technitium is a full DNS server, so the console exposes zones, forwarders and cluster settings that Pi-hole hides. The ad blocking part is no harder. The extra learning is mostly zones and the primary/secondary rules, which this series walks through step by step so you aren’t guessing.
➤ Can I run Technitium in Docker instead of an LXC?
Yes, Technitium publishes a Docker image, and plenty of people run it that way. This series uses Proxmox LXC containers because each DNS node should live on its own Proxmox host and boot early, independent of a Docker host. If your Docker host goes down, you don’t want DNS going with it.
➤ Does Technitium block ads as well as Pi-hole?
It uses the same blocklists, so coverage is the same. I pointed Technitium at the StevenBlack hosts list I’d used on Pi-hole and blocked names resolve to 0.0.0.0. What you lose is Pi-hole’s friendly dashboard and query-log habits, not blocking quality. Part 3 covers setup and testing.
➤ Do I really need two DNS servers?
If you want your network to keep working while you reboot a host, yes. With one resolver, every reboot or update takes down DNS for the whole house. One Technitium server works fine on its own, but clustering is the main reason to switch. If you only want one server, Pi-hole is the simpler choice.
➤ Can I change the Technitium cluster domain later?
No. The cluster domain is fixed once the cluster is created. Changing it means breaking the cluster apart and building it again. Pick an unused subdomain such as dns.example.com before you start, confirm it has no existing public records, and never use your bare domain as the cluster domain.

Pi-hole vs Technitium: Where to Go Next

Sync tools come and go. Native replication doesn’t need a maintainer who’s still interested. That’s the whole pi-hole vs technitium argument for a two-server lab.

Before Part 2, do the homework. Pick two IPs on two different Proxmox nodes, in two different backup jobs. Pick one upstream. Pick a cluster domain you’ll live with forever. Export your Pi-hole records while you still have them. And don’t create a zone for your whole domain.

Decide now. Install later.

Sources