Take control of your internet experience by self-hosting your own DNS server. Standard DNS resolvers can expose your browsing habits to your ISP, but with a local server, you can mitigate tracking and enhance your network's privacy. It works out-of-the-box with minimal configuration and provides a user-friendly web console for easy management.
This server allows you to block ads and malware for your entire network using customizable block lists. It improves performance by caching frequent queries, making websites load faster. For maximum security, it supports encrypted protocols like DNS-over-TLS, DNS-over-HTTPS, and DNS-over-QUIC, protecting your traffic from snooping and man-in-the-middle attacks.
Key features include:
services:
dns-server:
container_name: technitium-dns
hostname: dns-server
image: technitium/dns-server:latest
ports:
- "5380:5380/tcp" # Web UI
- "53:53/udp" # DNS service
- "53:53/tcp" # DNS service
environment:
- DNS_SERVER_DOMAIN=dns-server
- DNS_SERVER_ADMIN_PASSWORD=${DNS_SERVER_ADMIN_PASSWORD}
volumes:
- ./config:/etc/dns
restart: unless-stoppedDNS_SERVER_ADMIN_PASSWORD=your_super_secret_passwordAuto-fetched about 2 hours ago
Auto-fetched about 2 hours ago