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

nightly app kungfu

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

23 releases

Uses new Rust 2024

0.2.1 Jan 3, 2026
0.2.0 Dec 12, 2025
0.1.28 Dec 8, 2025
0.1.27 Jul 22, 2024
0.1.13 Oct 30, 2022

#1676 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

~37–76MB
~1M SLoC