--dns 参数不可使用
InoryS opened this issue · comments
InoryS commented
Expected Behavior
支持 --dns 参数 ./proxy http --dns 8.8.8.8 -t tcp -p :80,:443 -T tcp --intelligent=parent --jumper socks5://foo:bar@example.com:42321
Current Behavior
文档中 HTTP(S)反向代理 建议 proxy代理最好指定--dns 8.8.8.8参数
。实际上 --dns 不可以使用:
./proxy http --dns 8.8.8.8 -t tcp -p :80,:443 -T tcp --intelligent=parent --jumper socks5://foo:bar@example.com:42321
proxy/main.go:86 FATAL err : unknown long flag '--dns
Steps to Reproduce
1.下载 goproxy
./proxy http --dns 8.8.8.8 -t tcp -p :80,:443 -T tcp --intelligent=parent --jumper socks5://foo:bar@example.com:42321
1.proxy/main.go:86 FATAL err : unknown long flag '--dns
Context (Environment)
- proxy version is : v13.0
- full command is :
./proxy http --dns 8.8.8.8 -t tcp -p :80,:443 -T tcp --intelligent=parent --jumper socks5://foo:bar@example.com:42321
- system is : Centos 7
- full log is:
proxy/main.go:86 FATAL err : unknown long flag '--dns
snail007 commented
--dns-address
not --dns