DnsServer README

The project's README from github.com/TechnitiumSoftware/DnsServer. As one markdown file: README.md.

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.

Nobody really bothers about domain name resolution since it works automatically behind the scenes and is complex to understand. Most computer software use the operating system's DNS resolver that usually query the configured ISP's DNS server using UDP protocol. This way works well for most people but, your ISP can see and control what website you can visit even when the website employ HTTPS security. Not only that, some ISPs can redirect, block or inject content into websites you visit even when you use a different DNS provider like Google DNS or Cloudflare DNS. Having Technitium DNS Server configured to use DNS-over-TLS, DNS-over-HTTPS, or DNS-over-QUIC forwarders, these privacy & security issues can be mitigated very effectively.

Be it a home network or an organization's network, having a locally running DNS server gives you more insights into your network and helps to understand it better using the DNS logs and stats. It improves overall performance since most queries are served from the DNS cache making web sites load faster by not having to wait for frequent DNS resolutions. It also gives you an additional control over your network allowing you to block domain names network wide and also allows you to route your DNS traffic securely using encrypted DNS protocols.

Sponsored By

Technology Investors and Integrators | WavSpeed Inc | Texas

Features

Supported RFCs

Read the complete list of RFCs supported by the DNS Server.

Installation

Archive

You can download binaries for the previous releases of the DNS Server from the archive.

Build Instructions

You can build the DNS Server from source and install it manually by following the Build Instructions.

Docker Environment Variables

Technitium DNS Server supports environment variables to allow initializing the config when the DNS Server starts for the first time. Read the environment variable documentation for complete details.

API Documentation

The DNS Server HTTP API allows any 3rd party app or script to configure the DNS Server. The HTTP API is used by the web console and thus all the actions that the web console does can be performed via the API. Read the HTTP API documentation for complete details.

Help Topics

Read the latest online help topics which contains the DNS Server user manual and covers frequently asked questions.

Support

For support, send an email to [email protected]. For any issues, feedback, or feature request, create an issue on GitHub.

Join /r/technitium on Reddit.

Donate

Make contribution to Technitium and help making new software, updates, and features possible.

Donate Now!

Blog Posts

DnsServer (TechnitiumSoftware/DnsServer)

Searching Database…

10.2K ·GitHub
这是什么?Technitium DNS Server 是一个开源的自托管 DNS 服务器,既可以作为权威服务器,也可以作为递归解析器使用。它的主打用途是在 DNS 层面为整个家庭或组织网络拦截广告和恶意软件,所有配置都可以在网页控制台中完成。
这个是每台设备都要装,还是整个网络只需要运行一份?你只需在一台为网络提供服务的机器上运行一次——它支持 Windows、Linux、macOS 和 Raspberry Pi,也提供 Docker 镜像——然后把设备的 DNS 指向它即可。所有管理都可以通过浏览器里的管理控制台完成。
我该怎么把它跑起来?Windows 提供安装程序,Linux 和 Raspberry Pi 使用博客文章中提供的安装脚本,Docker 用户从 Docker Hub 拉取官方镜像,另外还有一个便携版,放到哪里都能运行。安装只需一分钟左右,无需任何配置即可开箱即用。
我需要先安装 .NET 吗?只有便携的跨平台版本需要,它要求所在平台已安装 .NET 10。Windows 安装程序、Linux 安装脚本和 Docker 镜像这几种方式都没有这个要求。
运营商会看到并控制我访问哪些网站吗?如果你通过加密 DNS 转发查询就不会:服务器可以使用 DNS-over-TLS、DNS-over-HTTPS 或 DNS-over-QUIC 转发器,将查询转发到 Cloudflare、Google、Quad9 或 AdGuard 等公共解析器,甚至可以通过 SOCKS5 代理经由 Tor 路由 DNS。
运行自己的 DNS 服务器会让上网变慢吗?README 的说法恰恰相反:大多数重复查询都由 DNS 缓存直接应答,所以网站加载反而更快。缓存功能包括 Serve Stale、Prefetch,以及重启后仍然保留在磁盘上的持久化缓存;在千兆以太网环境下,它在 Intel i7-8700 上的压力测试结果超过每秒 100,000 次请求。
它能给装不了广告拦截插件的设备(比如电视)屏蔽广告吗?可以——拦截发生在 DNS 层面,所以所有使用这台服务器的设备都会被覆盖。你只需添加一个或多个屏蔽列表 URL;Advanced Blocking DNS App 可以添加基于 REGEX 的列表,并针对不同客户端 IP 或子网应用不同规则;CNAME 隐蔽检测则能揪出躲在被屏蔽域名背后的域名。
我能在上面托管自己的域名吗?可以,它还可以兼作权威域名服务器:支持主、辅、存根和条件转发区域、泛解析子域名、使用 RSA、ECDSA 和 EdDSA 的 DNSSEC 签名、动态 DNS 更新,以及基于 TCP、TLS 或 QUIC 的区域传送。你还可以为测试单独禁用某个区域或记录。
除了 DNS 解析,它还内置了哪些功能?内置了可跨多个网络工作的 DHCP 服务器、用一个管理控制台管理多台 DNS 服务器实例的集群功能、带 TOTP 双因素认证的多用户角色权限管理以及通过 OpenID Connect 或 LDAP 的单点登录,还有可插拔的 DNS App,支持拆分式 DNS(split horizon)、按地理位置应答、DNS64 等更多功能。
Size
8.5 MB
Stars
10.2K
Age
8y
Commits · 90 Days