# hagezi/dns-blocklists

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/hagezi-dns-blocklists).**

20,103 stars · 613 forks · Text · gpl-3.0

## Links

- GitHub: https://github.com/hagezi/dns-blocklists
- awesome-repositories: https://awesome-repositories.com/repository/hagezi-dns-blocklists.md

## Topics

`adblock` `adguard` `ads` `blacklist` `blocklist` `coins` `dns` `domains` `fake` `filterlist` `hosts` `malware` `metrics` `phishing` `pi-hole` `privacy` `scam` `telemetry` `threat-intelligence-feeds` `tracking`

## Description

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 levels based on their specific security and compatibility requirements. It aggregates data from multiple threat intelligence and privacy sources, processing them through an automated pipeline to ensure the lists remain current. The output is generated in multiple standard formats, ensuring compatibility with a wide range of DNS server software and network appliances.

Beyond basic ad and tracker blocking, the project supports granular content restrictions, including the ability to filter adult content, gambling sites, and social media platforms. It also includes specialized protections against security threats such as phishing, malware, and command-and-control servers, while mitigating unauthorized telemetry and preventing DNS rebinding attacks.

## Tags

### Data & Databases

- [Protection Tiers](https://awesome-repositories.com/f/data-databases/data-governance-modeling/taxonomies/categorical/protection-tiers.md) — Provides tiered protection settings ranging from relaxed to aggressive to help you balance strict privacy requirements with functional website compatibility. ([source](https://github.com/hagezi/dns-blocklists/blob/main/README.md))
- [Endpoint Filtering](https://awesome-repositories.com/f/data-databases/tracking-configuration/endpoint-filtering.md) — Blocks network requests to known tracking and telemetry endpoints to prevent unauthorized data collection. ([source](https://github.com/hagezi/dns-blocklists/blob/main/share/facebook.txt))
- [Processing Pipelines](https://awesome-repositories.com/f/data-databases/data-processing-pipelines/processing-pipelines.md) — Automates the fetching, normalization, and deduplication of domain lists into standardized formats for network hardware.

### Networking & Communication

- [Domain Filtering Engines](https://awesome-repositories.com/f/networking-communication/domain-filtering-engines.md) — Prevents network requests to harmful domains by applying curated lists for DNS-based filtering. ([source](https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/hosts/light.txt))

### Security & Cryptography

- [DNS Filtering](https://awesome-repositories.com/f/security-cryptography/dns-filtering.md) — Implements network-wide DNS filtering to block advertisements, trackers, and malicious domains for all connected devices.
- [Domain Blocklists](https://awesome-repositories.com/f/security-cryptography/domain-blocklists.md) — Provides a comprehensive repository of curated domain blocklists for DNS-based network filtering.
- [Network Content Filters](https://awesome-repositories.com/f/security-cryptography/network-content-filters.md) — Provides comprehensive network-wide DNS filtering for advertisements, trackers, and malicious content. ([source](https://github.com/hagezi/dns-blocklists#readme))
- [DNS Sinkholes](https://awesome-repositories.com/f/security-cryptography/network-infrastructure-security/web-network-security/network-security-tools/dns-sinkholes.md) — Supplies domain data for configuring DNS sinkholes to intercept unwanted traffic and prevent DNS rebinding.
- [Network Traffic Filters](https://awesome-repositories.com/f/security-cryptography/network-traffic-filters.md) — Blocks malicious network traffic by providing curated DNS blocklists for network-wide filtering. ([source](https://github.com/hagezi/dns-blocklists/blob/main/index.html))
- [Privacy and Ad Blocking](https://awesome-repositories.com/f/security-cryptography/privacy-and-ad-blocking.md) — Blocks advertising, telemetry, and tracking scripts to enhance network-wide privacy. ([source](https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/adblock/pro.txt))
- [Threat Filtering](https://awesome-repositories.com/f/security-cryptography/threat-filtering.md) — Filters malicious domains to protect network infrastructure from phishing, malware, and command-and-control threats.
- [Security and Threat Mitigations](https://awesome-repositories.com/f/security-cryptography/governance-policy-frameworks/compliance-governance/security-and-compliance/security-and-threat-mitigations.md) — Mitigates security threats by blocking domains associated with phishing, malware, and cryptojacking. ([source](https://github.com/hagezi/dns-blocklists/blob/main/README.md))
- [DNS Rebinding Prevention](https://awesome-repositories.com/f/security-cryptography/injection-prevention/dns-rebinding-prevention.md) — Prevents DNS rebinding attacks by blocking domains from resolving to internal network addresses. ([source](https://github.com/hagezi/dns-blocklists#readme))
- [Infrastructure Protection](https://awesome-repositories.com/f/security-cryptography/malware-protection/infrastructure-protection.md) — Protects against phishing, malware, and command-and-control servers by filtering known malicious infrastructure. ([source](https://github.com/hagezi/dns-blocklists#readme))
- [Network Access Restrictions](https://awesome-repositories.com/f/security-cryptography/network-access-restrictions.md) — Restricts access to adult content, gambling, and social networks via targeted DNS blocking rules. ([source](https://github.com/hagezi/dns-blocklists#readme))
- [Privacy Protection](https://awesome-repositories.com/f/security-cryptography/privacy-protection.md) — Enhances user privacy by blocking telemetry, analytics, and tracking domains at the network resolution layer.
- [Threat Intelligence Platforms](https://awesome-repositories.com/f/security-cryptography/threat-intelligence-platforms.md) — Aggregates data from multiple security and privacy sources to maintain a current repository of blocked domains. ([source](https://github.com/hagezi/dns-blocklists/blob/main/sources.md))
- [Content Filtering](https://awesome-repositories.com/f/security-cryptography/content-filtering.md) — Offers a tiered system of domain blocklists to restrict access to specific categories of web content.
- [Telemetry Blocking](https://awesome-repositories.com/f/security-cryptography/privacy-and-ad-blocking/telemetry-blocking.md) — Blocks native telemetry and analytics services to prevent unauthorized data collection. ([source](https://github.com/hagezi/dns-blocklists/blob/main/README.md))
- [Telemetry and Privacy](https://awesome-repositories.com/f/security-cryptography/privacy-data-protection/telemetry-and-privacy.md) — Blocks native trackers and telemetry from devices and services to enhance user privacy. ([source](https://github.com/hagezi/dns-blocklists#readme))

### Testing & Quality Assurance

- [DNS Interception Utilities](https://awesome-repositories.com/f/testing-quality-assurance/api-network-testing/network-emulation-tools/dns-interception-utilities.md) — Intercepts DNS resolution to redirect unwanted network requests to null or loopback addresses.

### Part of an Awesome List

- [Threat Intelligence](https://awesome-repositories.com/f/awesome-lists/security/threat-intelligence.md) — DNS-based blocklists for filtering malicious traffic.

### System Administration & Monitoring

- [Domain Access Controls](https://awesome-repositories.com/f/system-administration-monitoring/domain-access-controls.md) — Enforces domain-level access control by blocking requests to unwanted categories and malicious infrastructure.

### Web Development

- [Data Aggregators](https://awesome-repositories.com/f/web-development/data-aggregators.md) — Consolidates diverse threat intelligence feeds and privacy lists into a unified repository for filtering.

### Development Tools & Productivity

- [Search Result Filtering](https://awesome-repositories.com/f/development-tools-productivity/search-result-filtering.md) — Blocks search engines that fail to enforce safe-search filtering to prevent exposure to harmful content. ([source](https://github.com/hagezi/dns-blocklists/blob/main/README.md))
