selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Technitium DNS Server logo

Self-host Technitium DNS Server

v15.6.2

Open-source DNS server with ad blocking and encrypted DNS

ReleaseOpen SourceGPL-3.0
curl -sSL https://download.technitium.com/dns/install.sh | sudo bash
Updated3 weeks ago
LanguageC#
Setup difficultyEasy
ThemeDark mode
Stars
10 320
Ports
53 (DNS service over UDP and TCP), 5380 (DNS web console over HTTP)
Docker
technitium/dns-server
Main dashboard of the browser admin consoleBlock list configuration screen for ad blockingForwarder settings screen with DNS-over-HTTPS protocol

What is Technitium DNS Server?

GPL-3.0 licensed and cross-platform, Technitium DNS Server handles both authoritative and recursive name resolution on hardware you own, aimed at home networks and small-to-medium organizations that want visibility and control over their lookups. Configuration happens in a browser console listening on port 5380, which sits on top of the same HTTP API, so zones, sinkhole lists, forwarders, query logs and dashboard stats are scriptable as well as clickable. Advertising and malware domains are dropped network-wide using block list URLs that refresh automatically each day, and clients can be handed encrypted DNS - DoT, DoQ, or DoH over HTTP/1.1 through HTTP/3 - while upstream traffic can reach public resolvers over those encrypted protocols, via HTTP/SOCKS5 proxies, or through Tor. A single install also covers a multi-network DHCP server, DNSSEC signing and validation, zone transfers with TSIG, dynamic updates, catalog zones, and DNS Apps for split-horizon or geolocation answers; several instances can be joined into a cluster managed from one console, and console logins support OIDC, LDAP, TOTP and role-based accounts. Self-hosting options are a Windows installer, a portable .NET 10 archive, a curl-based installer for Linux and Raspberry Pi (arm7 only), or the official technitium/dns-server container with state kept in /etc/dns.

Technitium DNS Server alternatives

Should you self-host Technitium DNS Server?

Technitium DNS Server scores 77/100 on selfhost.directory (how scoring works) and ranks #3 of 41 in DNS. It has 10 320 GitHub stars, +258 in the last 30 days.

It shipped 11 stable releases in the past year. The latest, v15.6.2, came out on 17 October 2026. New versions land roughly every 7 days.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is GPL-3.0-licensed and written mostly in C#.

Its closest alternative on selfhost.directory is Pi-hole (87/100, 61 711 stars). It scores higher overall, so compare the two before you pick. See Technitium DNS Server vs Pi-hole side by side.

Features

  • Ad & malware blocking (DNS sinkhole)
  • Advanced caching
  • Authoritative & recursive DNS server
  • Built-in DHCP server
  • Clustering
  • DNS Apps extensibility
  • DNSSEC
  • Encrypted DNS (DoT, DoH, DoQ)
  • HTTP API
  • LDAP Authentication
  • Multi-user role-based access
  • Single Sign-On (OIDC)
  • Two-factor authentication
  • Web Admin Console
  • Zone transfers & dynamic updates

Technitium DNS Server README

Technitium DNS Server
Technitium DNS Server


Self host a DNS server for privacy & security
Block ads & malware at DNS level for your entire network!

Technitium DNS Server

Technitium DNS Server is an open source authoritative as well as recursive DNS server that can be used for self hosting a DNS server for privacy & security. It works out-of-the-box with no or minimal configuration and provides a user friendly web console accessible using any modern web browser.

How to install Technitium DNS Server

Install Technitium DNS Server with Docker

docker pull technitium/dns-server:latest

A docker-compose.yml example is provided; config lives in /etc/dns and logs in /var/log/technitium/dns.

How to configure Technitium DNS Server

  • DNS_SERVER_DOMAINThe primary fully qualified domain name used by this DNS Server to identify itself.

    values: String

  • DNS_SERVER_ADMIN_PASSWORDThe DNS web console admin user password.

    values: String

  • DNS_SERVER_ADMIN_PASSWORD_FILEThe path to a file that contains a plain text password for the DNS web console admin user.

    values: String

  • DNS_SERVER_PREFER_IPV6DNS Server will use IPv6 for querying whenever possible with this option enabled.

    values: Boolean

  • DNS_SERVER_WEB_SERVICE_LOCAL_ADDRESSESA comma separated list of IP addresses for the DNS web console to listen on.

    values: String

Technitium DNS Server releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in DNS

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…