cybozu-go / transocks

Transparent SOCKS5 / HTTP proxy in Go
MIT License
471 stars 60 forks source link

sockify DNS #17

Closed mahdi-ln closed 3 years ago

mahdi-ln commented 5 years ago

How should I do it?

phantomcraft commented 5 years ago

Create a resolv.conf like this:

options use-vc
nameserver 1.1.1.1
nameserver 9.9.9.9

All the DNS requests will use TCP instead of UDP, the DNS server must support DNS-over-TCP (most of them support it).