qmetrics.net

Hosts

Unified hosts file merger and blocklist generator

Network SecurityDesktop/CLI app

Steven Black's hosts project merges reputable blocklists into deduplicated hosts files for malware, ads, and optional category extensions. It offers dozens of variants and tools to build or install them.

Overview

This project aggregates curated hosts data from multiple upstream sources into unified plain-text hosts files that map unwanted domain names to a blocking IP, commonly 0.0.0.0. The base merge removes duplicates and is updated on a schedule; many alternate recipes combine the unified list with optional extensions for categories such as fakenews, social media, gambling, and adult content.

Users can download prebuilt variants, generate customized files with Python, or run a container image that can replace the system hosts file on Linux when configured with extensions, whitelists, or blacklists. A command-line generator fetches fresh upstream data, supports backup before replace, compression options for Windows DNS client performance, and custom IP targets for blocked domains.

Because the hosts file is consulted before DNS on most operating systems, an updated list can stop requests to listed domains on the local machine. Documentation explains hosts file locations on macOS, Windows, and Linux, NixOS module integration, and how to contribute domains through upstream sources or local whitelist and myhosts overlays.

Key features

  • Multi-source hosts list unification
  • Optional porn, social, gambling extensions
  • Docker image for automated updates
  • Python generator with CLI flags
  • Custom whitelist and blacklist overlays
  • Compressed and minimized output formats
  • Thirty-plus published file variants
  • NixOS and package manager integrations

Use cases

  • Network-wide ad and malware blocking
  • Family or workplace content filtering
  • Periodic hosts file updates via cron
  • Custom domain blocklists on one PC
  • NixOS-managed system hosts

Tags

Similar software

Pi-hole

Network-wide DNS sinkhole for ads and unwanted content

Pi-hole is a DNS sinkhole that blocks ads and unwanted content for every device on your network without client-side software on each device.

  • DNS sinkhole ad and tracker blocking
  • Web dashboard with query statistics
  • Command-line administration via pihole
ShellWeb, Linux, Docker, CLIDetails →
★ 62.4k⟳ 22 days agoEUPL-1.2
Network SecuritySelf-hostable

acme.sh

POSIX shell client for ACME SSL automation

acme.sh issues, renews, and installs SSL and TLS certificates via the ACME protocol using a single shell script with no Python dependency.

  • Pure shell ACME implementation
  • Multiple CA support including ZeroSSL
  • DNS API automation for 180+ providers
ShellLinux, macOS, Windows, DockerDetails →
★ 48k⟳ 2 days agoGPL-3.0
Network SecurityDesktop/CLI app

AdGuard Home

Network-wide DNS server for ads and tracker blocking

AdGuard Home blocks ads and tracking across your home network by acting as a DNS server. Devices use it without installing client-side blocking software.

  • DNS sinkhole for ads and trackers
  • Custom and built-in blocklists
  • Built-in DHCP server
TypeScriptLinux, macOS, DockerDetails →
★ 39.1k⟳ yesterdayGPL-3.0
Network SecuritySelf-hostable

Certbot

ACME client for Let's Encrypt HTTPS certificates

Fetches and deploys DV certificates from Let's Encrypt on your server, with optional HTTPS redirect and renewal automation via simple commands.

  • Let's Encrypt integration
  • Apache and nginx plugins
  • Webroot and standalone modes
PythonCLIDetails →
★ 33.4k⟳ 3 days agoApache-2.0
Network SecurityDesktop/CLI app

masscan

Internet-scale asynchronous TCP port scanner

Masscan probes IP addresses and port ranges with very high packet rates, aimed at sweeping large networks or the public Internet. Its options and output formats are kept familiar to nmap users.

  • Asynchronous high-rate SYN scanning
  • Arbitrary IP and port ranges
  • IPv4 and IPv6 targets
CLinux, Windows, macOS, CLIDetails →
★ 26.2k⟳ 1 month agoAGPL-3.0
Network SecurityDesktop/CLI app

RustScan

Fast modern TCP port scanner

RustScan quickly sweeps large port ranges and can pipe open ports into Nmap or custom automation scripts.

  • Full-range port sweeps
  • Nmap pipeline integration
  • Python, Lua, and shell scripts
RustLinux, macOS, DockerDetails →
★ 20.9k⟳ 1 month agoGPL-3.0
Network SecurityDesktop/CLI app