awesome-repositories.comBlog
© 2026 Bringes Technology SRL·VAT RO45896025·[email protected]
MCPBlogSitemapPrivacyTerms
Hosts | Awesome Repository
← All repositories

StevenBlack/hosts

0
View on GitHub↗
29,853 stars·2,386 forks·Python·mit·0 views

Hosts

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Let's find more awesome repositories

Features

  • Content Filtering - Restricts internet access by blocking connectivity to specific categories of websites across the entire machine.
  • DNS Filtering - Restricts internet access by mapping unwanted domains to a null address at the local operating system level.
  • Network Traffic Filters - Blocks malicious or advertising servers by redirecting domain lookups to a local null address.
  • Build Pipelines - The project uses a data-driven build pipeline that processes raw text files through automated filtering and merging steps to produce a final network output.
  • Configuration Generators - Merges multiple data sources and extensions into a single custom network file compatible with various computing environments.
  • DNS Management Tools - Provides capabilities for mapping hostnames to custom IP addresses to facilitate local domain resolution and internal network routing.
  • Blocklist Aggregators - Aggregates multiple domain categories into a single deduplicated network filtering resource.
  • Malware Protection - Blocks connections to known malicious websites and phishing domains at the system level to enhance network security.
  • Network Filtering Tools - The project automates the application of blocklists to the local system hosts file to prevent connections to known malicious or advertising domains.
  • Ad Blockers - Intercepts and blocks advertisements and tracking scripts at the network level to protect privacy and reduce bandwidth usage.
  • DNS Management Tools - Modifies local hostname resolution to block connections by mapping domains to a null address.
  • Filtering Engines - The system uses external blacklist and whitelist files to determine which entries are included or excluded during the consolidation process.
  • Container Configuration Templates - Provides standardized container configuration templates to ensure consistent and reproducible build environments.
  • Data Filtering Utilities - Provides a blacklist mechanism to automatically filter and remove unwanted domains during data consolidation processes.
  • CLI Configuration Tools - Supports command-line flags to customize output formats, file extensions, and source filtering rules for generated files.
  • Command Line Interfaces - A build-time interface allows users to customize the generation process by passing flags that control output formats and source selection.
  • Domain Configuration Tools - Allows users to define and assign custom domain names to specific network addresses within configuration files.
  • Configuration Management Tools - Combines multiple source files into a unified configuration mapping hostnames to local loopback addresses.
  • Domain Blacklists - Defines specific hostnames to be blocked during the automated build process.
  • Network Resolver Configurations - Provides ready-to-use configuration templates for integrating custom domain filtering rules into local network DNS resolvers.
  • This project provides a system-wide content filtering utility that controls network traffic by redirecting domain resolution requests to local null addresses. By mapping unwanted hostnames to these addresses at the operating system level, it effectively blocks connections to advertising, tracking, and malicious domains across all applications on a machine.

    The core of the system is a data-driven build pipeline that aggregates multiple curated source lists into a single, unified configuration file. This process is highly customizable, allowing users to employ declarative filtering logic through external blacklist and whitelist files to define exactly which domains are included or excluded. The build process is managed via a command-line interface, which supports various flags to control output formats, source selection, and custom domain mappings.

    Beyond basic aggregation, the project supports diverse deployment scenarios, including containerized environments and integration with local network resolver services. It provides platform-specific utilities to ensure consistent application of these filtering rules, including mechanisms to manage local DNS client services for immediate configuration updates. The resulting output is designed to be environment-agnostic, maintaining compatibility across a wide range of operating systems and network services.