Skip to content

Technitium DNS Server

Self-hosted authoritative and recursive DNS server with ad blocking and encrypted DNS

Copyleft (OSI) · GPL-3.0
  • Self-hosted
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

80

Health

Thriving

Overview

Stars

10,440

Last commit

yesterday

Nov 2026

Repository age

9 years

since Oct 2017

Latest version

v15.6.2

Oct 2026

Contributors

–

3 active in 90 days

Releases

11

last 12 months

Language

C#

Technitium DNS Server is a DNS server written in C# that you run yourself. It works as an authoritative server for your own zones and as a recursive resolver. A web console handles setup and day-to-day management, and it is meant to run with little or no initial configuration.

You can block ads and malware network-wide by loading one or more block list URLs. It can serve DNS-over-TLS, DNS-over-HTTPS (HTTP/1.1, HTTP/2 and HTTP/3) and DNS-over-QUIC, and it can forward to public resolvers over those same protocols. It validates DNSSEC, caches with Serve Stale and Prefetch, and can save its cache to disk across restarts. DNS logs and stats show what your network is querying.

For larger setups it offers built-in clustering to manage several instances from one console, OpenID Connect single sign-on and LDAP authentication. It runs on Windows, Linux, macOS and Raspberry Pi, with a Docker image and a Homebrew formula. It also includes a DHCP server. It is licensed under GPL-3.0 and is not tied to a specific commercial product, but it fills the role of filtering resolvers and hosted DNS services.

Who it's for

Home lab users who want network-wide ad blocking

Block lists applied at the DNS level cover every device on your network from one web console.

Skip if: You only want a minimal blocker with no authoritative DNS features.

Small IT teams running internal DNS

Authoritative zones, clustering, LDAP and OIDC sign-in suit an organization's network.

Skip if: You need a vendor-supported managed DNS service with an SLA.

Privacy-minded users avoiding ISP DNS visibility

Forwarding over DNS-over-TLS, HTTPS or QUIC keeps queries encrypted on the way out.

Skip if: You are happy with a public resolver and do not want to run a server.

The problem it solves

Your ISP's resolver sees every domain you look up, and it can block or alter results. Running your own DNS server lets you encrypt upstream queries, block unwanted domains for the whole network and see what your devices request.

Strengths

  • Serves DNS-over-TLS, DNS-over-HTTPS (up to HTTP/3) and DNS-over-QUIC
  • Acts as both authoritative and recursive server, with DNSSEC validation
  • Built-in clustering manages multiple instances from one console
  • OIDC single sign-on and LDAP authentication are supported
  • Runs on Windows, Linux, macOS and Raspberry Pi, with a Docker image

Trade-offs

  • GPL-3.0 license carries copyleft obligations if you redistribute modified versions
  • Only a few contributors have been active in recent months
  • Broad feature set means more settings to learn than a simple blocker

Self-host Technitium DNS Server

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Frequently asked questions

Is it free?

Yes. It is open source under the GPL-3.0 license.

Can I self-host it?

Yes, that is its purpose. You can install it on Windows, Linux, macOS or Raspberry Pi, or use the Docker image.

Can it block ads?

Yes. You add one or more block list URLs and it blocks those domains for every device using the server.

Does it support encrypted DNS?

Yes. It can host DNS-over-TLS, DNS-over-HTTPS and DNS-over-QUIC, and use them for forwarders.

Similar tools in Tunnels, VPNs and networking

wstunnel

Tunnels, VPNs and networking

Single Rust binary that tunnels TCP, UDP and SOCKS5 over WebSocket or HTTP/2

7.2k 589 35 days ago Active BSD-3-Clause

iodine

Tunnels, VPNs and networking

IPv4-over-DNS tunnel for getting online where only DNS queries get through

8k 604 yesterday Active ISC

external-dns

Tunnels, VPNs and networking

Kubernetes controller that syncs Services and Ingresses to DNS providers like Route 53

9.2k 3k today Thriving Apache-2.0

ztnet

Tunnels, VPNs and networking

Self-hosted web UI for managing ZeroTier networks with multi-user and organization support

1.3k 129 5 days ago Thriving GPL-3.0

ZeroTierOne

Tunnels, VPNs and networking

Virtual Ethernet network linking devices, VMs and containers, with self-hostable

17k 2k 4 months ago Dormant Unknown

Replaces Tailscale

hookdeck-cli

Tunnels, VPNs and networking

Command-line tool that forwards webhooks to localhost with permanent free event URLs

371 25 8 days ago Thriving Apache-2.0