Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/haad/proxychains.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas R Colkitt <douglas.colkitt@gmail.com>2019-04-13 18:41:07 +0300
committerDouglas R Colkitt <douglas.colkitt@gmail.com>2019-04-13 18:41:07 +0300
commit98e9326534adcf8e20b67d0c979deef621736fff (patch)
tree6c92639b8dec8a8e7d131eadaf3da4404c22b925 /README.adoc
parent14e15aa2c179116d9be90ffadcd42b0035215661 (diff)
Allow user to override default DNS server
Implements support for an environmnet variable (PROXY_DNS_SERVER) whereby the user can specify a DNS server. If not set defaults to the hardcoded OpenDNS default.
Diffstat (limited to 'README.adoc')
-rw-r--r--README.adoc10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.adoc b/README.adoc
index 07507cf..bee5f38 100644
--- a/README.adoc
+++ b/README.adoc
@@ -160,3 +160,13 @@ $ PROXYCHAINS_SOCKS5=4321 proxychains zsh
in this example, it will run a shell with all traffic proxied through
OpenSSH's "dynamic proxy" (SOCKS5 proxy) on localhost port 4321.
+
+=== Usage Example:
+
+----
+$ export PROXY_DNS_SERVER=8.8.8.8
+$ proxychains telnet targethost.com
+----
+
+in this example, it will telnet to targethost.com using the 8.8.8.8
+nameserver supplied by the user through the PROXY_DNS_SERVER