awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Self-Hosted DNS Ad-Blocking Servers

Ranking updated Jun 30, 2026

For a self-hosted DNS and ad-blocking server, the first results are adguardteam/adguardhome (AdGuard Home is a self-hosted DNS server that blocks ads network-wide via blocklists, supports encrypted DNS DoH, DoT, DoQ, DNSCrypt, custom DNS records, a web admin interface, query logging, and includes a DHCP server — matching every requested feature), iamstoxe/wirehole and pi-hole/pi-hole. technitiumsoftware/dnsserver and 0xerr0r/blocky round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

Network-wide ad-blocking and custom DNS resolution tools for private home or enterprise server deployments.

Self-Hosted DNS Ad-Blocking Servers

Find the best repos with AI.We'll search the best matching repositories with AI.
  • adguardteam/adguardhomeAdguardTeam avatar

    AdguardTeam/AdGuardHome

    34,880View on GitHub↗

    AdGuardHome is a network-wide software solution that provides centralized control over domain name resolution, content filtering, and local network management. It functions as a recursive DNS server and DHCP address server, intercepting network traffic to enforce security policies and block unwanted content across all connected devices. By acting as a central gateway, it ensures that every device on a home or office network benefits from consistent protection and private, authenticated name resolution. The software distinguishes itself through granular client management and robust security fe

    AdGuard Home is a self-hosted DNS server that blocks ads network-wide via blocklists, supports encrypted DNS (DoH, DoT, DoQ, DNSCrypt), custom DNS records, a web admin interface, query logging, and includes a DHCP server — matching every requested feature.

    GoDHCP ServersDHCP ServersAdministrative Dashboards
    View on GitHub↗34,880
  • iamstoxe/wireholeIAmStoxe avatar

    IAmStoxe/wirehole

    4,960View on GitHub↗

    Wirehole is a containerized network stack that integrates a WireGuard VPN server with recursive DNS resolution and sinkhole-based advertisement filtering. It bundles these interdependent services into a single managed environment using a compose-based deployment. The system enables network-wide ad blocking and tracker filtering by intercepting DNS queries via a sinkhole. It implements recursive DNS resolution to resolve domain names independently of external upstream providers and provides a web-based interface for managing VPN client peers and keys. Additional capabilities include split-tun

    Wirehole bundles Pi-hole's DNS sinkhole ad blocking with Unbound recursive resolution and a WireGuard VPN into a single Docker stack, giving you network-wide ad filtering and a web interface for managing VPN peers — it covers the core ad-blocking and DNS features, though the admin interface focuses on VPN rather than DNS configuration, and custom records and DHCP are not highlighted.

    DNS Sinkhole Ad BlockersDNS Sinkholes
    View on GitHub↗4,960
  • pi-hole/pi-holepi-hole avatar

    pi-hole/pi-hole

    59,314View on GitHub↗

    Pi-hole is a self-hosted network utility that functions as a DNS sinkhole server to provide network-wide ad blocking. By acting as a dedicated network gateway, it intercepts and discards requests for known advertising, tracking, and malicious domains across an entire local network, preventing unwanted content from loading on any connected device. The software operates through a lightweight background daemon that handles high volumes of concurrent DNS queries with minimal resource overhead. It utilizes a host-file injection mechanism to redirect traffic toward its local filtering engine and ap

    Pi-hole is the definitive self-hosted DNS sinkhole that blocks ads network-wide using blocklists, provides a web dashboard for management and query statistics, supports custom DNS records via local entries, and includes DHCP server integration—matching nearly everything the visitor asked for.

    ShellDNS-Based Ad Blockers
    View on GitHub↗59,314
  • technitiumsoftware/dnsserverTechnitiumSoftware avatar

    TechnitiumSoftware/DnsServer

    7,533View on GitHub↗

    DnsServer is a recursive and authoritative DNS server that provides domain name resolution and zone hosting. It functions as both a recursive resolver, performing iterative lookups across the internet, and an authoritative manager for primary and secondary DNS zones. The system distinguishes itself through high-availability clustering and a programmable HTTP API for automating server configurations and bulk record management. It supports a wide range of encrypted transport protocols, including TLS, HTTPS, and QUIC, and allows for custom functionality via a plugin-based request interception fr

    Technitium DNS Server is a full-featured self-hosted DNS server with built-in ad-blocking via blocklist filtering, custom DNS record management, encrypted DNS support (DoT, DoH, DoQ), a web-based admin interface, query logging, and DHCP server integration, covering every aspect of this search.

    C#DNS-Based Ad BlockersDomain Blocklists
    View on GitHub↗7,533
  • 0xerr0r/blocky0xERR0R avatar

    0xERR0R/blocky

    6,653View on GitHub↗

    Blocky is a stateless DNS proxy that functions as a network-wide ad-blocker and content filter. It operates as a single binary or Docker container with no database or persistent state, accepting DNS queries over UDP, TCP, HTTPS, TLS, QUIC, and HTTP/3 through a unified plugin-based query pipeline. The core of the system is a client-group policy engine that assigns devices to named groups and applies per-group blocklists, allowlists, and upstream resolvers, with all configuration changes applied through hot-reloading without requiring a restart. The project distinguishes itself through its modu

    Blocky is a stateless DNS proxy and network-wide ad blocker that blocks ads via blocklists and supports encrypted DNS, but it lacks a web-based admin interface, explicit custom DNS record management, query logging and statistics tools, and DHCP server integration, so it covers the core ad-blocking functionality but is missing several of the requested features.

    GoDNS-Based Ad BlockersDNS-over-HTTPS ServersWeb-Based Control Panels
    View on GitHub↗6,653
  • pi-hole/docker-pi-holepi-hole avatar

    pi-hole/docker-pi-hole

    10,760View on GitHub↗

    This project provides a containerized DNS sinkhole and network-wide traffic filtering solution. It functions as a central network resolver that intercepts domain queries, allowing users to block advertisements, trackers, and malicious domains by returning null responses to connected devices. The platform distinguishes itself through its integrated DHCP server and comprehensive management capabilities, which allow for automated IP address allocation and granular control over network traffic. It supports complex filtering through regular expression matching, hierarchical rule prioritization, an

    Pi-hole is the most popular self-hosted DNS ad-blocking server, offering blocklist-based ad filtering, custom DNS records, a web admin interface, query logging, and an integrated DHCP server, but native encrypted DNS support requires additional configuration with tools like Unbound or Cloudflared.

    ShellDHCP ServersAdministrative DashboardsDomain Blocklists
    View on GitHub↗10,760
  • cats-team/adrulesCats-Team avatar

    Cats-Team/AdRules

    3,463View on GitHub↗

    AdRules is a collection of ad-blocking rule sets and DNS filter lists designed to identify and block malicious domains, trackers, and PCDN services. It functions as a DNS sinkhole filter and a malware domain blocklist used by DNS servers and network proxies to stop advertisements and harmful content from loading. The project provides regional network optimization, utilizing rule sets tailored to specific geographic regions, languages, and mobile device conditions to target local advertising networks. The system covers DNS traffic filtering and malware domain blocking through suffix-based dom

    AdRules provides ad-blocking and DNS filter lists for use with DNS servers, but it is not itself a self-hosted DNS server with the features you need (custom records, web UI, logging, DHCP).

    PythonAd-Blocking ListsDomain BlocklistsPrivacy and Ad Blocking
    View on GitHub↗3,463
  • privacy-protection-tools/anti-adprivacy-protection-tools avatar

    privacy-protection-tools/anti-AD

    10,156View on GitHub↗

    This project is an ad-blocking filter list and DNS blocklist collection designed to prevent advertisement and tracking servers from loading content across devices. It functions as a network-layer ad filter by providing a curated set of domain patterns and URLs that network components use to block known advertising and big data statistics domains. The collection focuses on privacy-focused domain filtering to stop the unauthorized collection of personal information and user tracking. It identifies and blocks domains associated with telemetry, analytics, and log collection to prevent the upload

    anti-ad provides blocklists used by DNS ad-blocking servers like Pi-hole, but it is not a self-hosted DNS server itself—you cannot deploy it to resolve queries or manage DNS settings directly.

    Domain BlocklistsPrivacy and Ad Blocking
    View on GitHub↗10,156
  • celzero/rethink-appcelzero avatar

    celzero/rethink-app

    4,580View on GitHub↗

    This project is a network security tool providing an application network firewall, a DNS blocklist manager, and a VPN client with multi-hop capabilities. It functions as a traffic controller that allows or blocks internet access for specific applications on a device. The system distinguishes itself through a DNS-over-HTTPS firewall and traffic obfuscation tools that inject random packets to mask communication patterns and bypass regional internet censorship. It utilizes multi-hop routing to hide the origin of network traffic by chaining connections through multiple remote servers. The softwa

    Rethink-app is an Android application that provides DNS-based ad-blocking on a single device, not a self-hosted DNS server that serves an entire network with features like custom DNS records, DHCP integration, or a web-based admin interface.

    KotlinDNS-Based Ad BlockersDomain BlocklistsPrivacy and Ad Blocking
    View on GitHub↗4,580
  • adguardteam/dnsproxyAdguardTeam avatar

    AdguardTeam/dnsproxy

    2,997View on GitHub↗

    dnsproxy is an encrypted DNS proxy and traffic router that translates and forwards DNS requests between clients and upstream resolvers. It functions as a server for multiple secure protocols, including DNS-over-HTTPS, DNS-over-TLS, DNS-over-QUIC, and DNSCrypt, to protect queries from eavesdropping and tampering. The project differentiates itself through advanced routing and optimization capabilities. It utilizes a domain-based routing engine to direct queries to specific upstream servers via wildcard rules and employs parallel querying to return responses from the fastest responding network a

    dnsproxy is an encrypted DNS proxy and forwarder that routes queries between clients and upstream resolvers, but it lacks blocklist-based ad filtering, a web admin interface, and custom DNS record management, so it does not serve as a self-contained ad-blocking DNS server.

    GoDNS-over-HTTPS ServersDNS-over-TLS Servers
    View on GitHub↗2,997
  • gmoogway/shadowrocket-rulesGMOogway avatar

    GMOogway/shadowrocket-rules

    4,055View on GitHub↗

    This project provides a set of curated configuration rules and domain lists for the Shadowrocket app. It consists of network traffic routing rules, ad-blocking domain lists, DNS configuration profiles, and proxy bypass lists used to filter and direct network traffic. The rules establish policy-based routing logic to determine whether specific traffic is proxied, connected directly, or rejected. This includes specialized lists for proxy bypass management and the blocking of known advertising and tracking domains at the network level. The project covers a broad range of traffic management capa

    This repository is a set of configuration rules and domain lists for the Shadowrocket app, not a self-hosted DNS server — it helps block ads on a client device but doesn't run as a network-level server or offer the admin interface, custom records, or logging you need.

    Ad-Blocking ListsPrivacy and Ad Blocking
    View on GitHub↗4,055
  • hagezi/dns-blocklistshagezi avatar

    hagezi/dns-blocklists

    20,103View on GitHub↗

    This project is a comprehensive repository of curated domain blocklists designed for network-wide DNS filtering. It functions as a DNS sinkhole feed, providing the necessary data to intercept and block unwanted network requests at the resolution layer before they reach their destination. By returning null or loopback addresses for identified domains, it prevents connections to malicious infrastructure, advertising servers, and tracking endpoints across all devices on a network. The repository distinguishes itself through a tiered categorization logic that allows users to select protection lev

    This repository is a curated collection of domain blocklists, not a self-hosted DNS server—it supplies the filtering data that a DNS ad-blocking server would use, but it does not itself handle DNS requests, custom records, encrypted DNS, or provide any server admin interface.

    TextDomain BlocklistsPrivacy and Ad Blocking
    View on GitHub↗20,103
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
adguardteam/adguardhome34.9KGoGPL-3.0Jun 16, 2026
iamstoxe/wirehole5K——Jan 29, 2026
pi-hole/pi-hole
59.3K
Shell
NOASSERTION
Jun 14, 2026
technitiumsoftware/dnsserver7.5KC#gpl-3.0Dec 20, 2025
0xerr0r/blocky6.7KGoapache-2.0May 25, 2026
pi-hole/docker-pi-hole10.8KShellotherFeb 17, 2026
cats-team/adrules3.5KPythonwtfplFeb 20, 2026
privacy-protection-tools/anti-ad10.2K—mitFeb 19, 2026
celzero/rethink-app4.6KKotlinapache-2.0Feb 19, 2026
adguardteam/dnsproxy3KGoapache-2.0Feb 19, 2026

Related searches

  • an open source alternative to Pi-hole
  • a tool for performing dns reconnaissance
  • a dynamic DNS client for self-hosting
  • a privacy-first Google Analytics alternative
  • a self hosted manager for IPTV playlists
  • a privacy-first analytics tool
  • a self hosted tool for shortening URLs
  • a self-hosted CDN for caching assets