Commit Graph

5 Commits

Author SHA1 Message Date
b066e36770 [dns] Add dual-stack fake IP rewriting with nftables maps
Support A and AAAA DNS answer rewriting, CNAME alias handling, and temporary IPv4/IPv6 NAT mappings backed by nftables sets/maps.

Add example nftables rules and expand the README with usage, behavior, and setup notes.
2026-05-19 13:43:17 +08:00
63c471be8e Add daemonize option. Put the redirected domain IPs into an user-specified nft set. Extract nft table name into a global variable. 2025-11-27 23:29:06 +08:00
955d759bd2 Add build directory to .gitignore. 2025-11-27 23:27:49 +08:00
7a3b18b848 Implement DNS server with fake IP address replacements.
The IPv4 addresses in the answer will be hash-mapped to addresses in the pool.
2025-04-03 10:11:11 +08:00
f409f72cec Initial commit 2025-03-06 09:23:21 +00:00