From 75846141f4a97c9724e1fdb9f2f1ebafbc1198ea Mon Sep 17 00:00:00 2001 From: Craeckie Date: Wed, 14 Apr 2021 12:00:44 +0200 Subject: [PATCH] socks5h ensures, that DNS requests are also proxied --- README.md | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f511645..b6f76ac 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ FLAGS: OPTIONS: -j, --jobs Parallel download jobs [default: 1] -o, --output Output directory - -p, --proxy Proxy, e.g. socks5://127.0.0.1:1080 [default: ""] + -p, --proxy Proxy, e.g. socks5h://127.0.0.1:1080 [default: ""] ``` ### .iliasignore diff --git a/src/main.rs b/src/main.rs index 09dcf8d..571e6c9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -654,7 +654,7 @@ struct Opt { #[structopt(short, long, default_value = "1")] jobs: usize, - /// Proxy, e.g. socks5://127.0.0.1:1080 + /// Proxy, e.g. socks5h://127.0.0.1:1080 #[structopt(short, long, default_value = "")] proxy: String, }