Muxun_programs/python
Galaxy 907bd5af0e mx init
the muxun is not operated by git,now init
2025-11-09 20:06:06 +08:00
..
.ss_client_gui.json mx init 2025-11-09 20:06:06 +08:00
ceshi1.py mx init 2025-11-09 20:06:06 +08:00
ceshi.py mx init 2025-11-09 20:06:06 +08:00
converter.py mx init 2025-11-09 20:06:06 +08:00
dns2socks.h mx init 2025-11-09 20:06:06 +08:00
dns.py mx init 2025-11-09 20:06:06 +08:00
main.py mx init 2025-11-09 20:06:06 +08:00
nodes.json mx init 2025-11-09 20:06:06 +08:00
output.txt mx init 2025-11-09 20:06:06 +08:00
payload.txt mx init 2025-11-09 20:06:06 +08:00
proxy.py mx init 2025-11-09 20:06:06 +08:00
README.md mx init 2025-11-09 20:06:06 +08:00
settings.json mx init 2025-11-09 20:06:06 +08:00
ss_modern.py mx init 2025-11-09 20:06:06 +08:00
ss.py mx init 2025-11-09 20:06:06 +08:00
t_shadowsocksr.json mx init 2025-11-09 20:06:06 +08:00
tun.ps1 mx init 2025-11-09 20:06:06 +08:00
upload_test_log.txt mx init 2025-11-09 20:06:06 +08:00

dns2socks

Crates.io dns2socks Documentation Download License

A DNS server that forwards DNS requests to a SOCKS5 server.

Installation

Precompiled Binaries

Download binary from releases and put it in your $PATH.

Install from Crates.io

If you have Rust toolchain installed, you can install dns2socks with the following command:

cargo install dns2socks

Usage

dns2socks -h

Proxy server to routing DNS query to SOCKS5 server

Usage: dns2socks [OPTIONS]

Options:
  -l, --listen-addr <IP:port>        Listen address [default: 0.0.0.0:53]
  -d, --dns-remote-server <IP:port>  Remote DNS server address [default: 8.8.8.8:53]
  -s, --socks5-server <IP:port>      SOCKS5 proxy server address [default: 127.0.0.1:1080]
  -u, --username <user name>         User name for SOCKS5 authentication
  -p, --password <password>          Password for SOCKS5 authentication
  -f, --force-tcp                    Force to use TCP to proxy DNS query
  -c, --cache-records                Cache DNS query records
  -v, --verbosity <level>            Verbosity level [default: info] [possible values: off, error, warn, info, debug, trace]
  -t, --timeout <seconds>            Timeout for DNS query [default: 5]
  -h, --help                         Print help
  -V, --version                      Print version