#dns #transparent-proxy #dns-proxy #hijacking #dns-hijacking

app kungfu

Flexible DNS hijacking and proxy tool. Read more: https://github.com/yinheli/kungfu

25 releases

Uses new Rust 2024

0.2.3 Apr 2, 2026
0.2.2 Feb 14, 2026
0.2.1 Jan 3, 2026
0.2.0 Dec 12, 2025
0.1.13 Oct 30, 2022

#1473 in Network programming

Apache-2.0

105KB
3K SLoC

kungfu

build

Flexible DNS hijacking and proxy tool.

Features

  • Flexible rules e.g. glob pattern domain, static routes, response CIDR
  • Host file include /etc/hosts & custom hosts with CNAME and glob pattern supported
  • Observable with prometheus supported
  • Very fast, above 120k QPS (on my develop environment, AMD 5600G)

Usage

Please check out config to get started. 🎉

Dependencies

~36–76MB
~1M SLoC