Skip to content

Commit 674b986

Browse files
committed
update docs
1 parent 561ce91 commit 674b986

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@ Simple, scriptable, secure forward proxy.
2525
* Optional AEAD encryption layer for cache
2626
* Per-user bandwidth limits
2727
* HTTP/2 support, both server and client, including h2c support
28-
* Optional DNS cache
28+
* Advanced DNS support
29+
* Plain DNS
30+
* DNS-over-HTTPS
31+
* DNS-over-TLS
32+
* System-provided DNS
33+
* Competitive parallel resolving using any of above
34+
* Optional DNS cache
2935
* Resilient to DPI (including active probing, see `hidden_domain` option for authentication providers)
3036
* Connecting via upstream HTTP(S)/SOCKS5 proxies (proxy chaining)
3137
* Optional parroting of TLS fingerprints of popular software such as web browsers.
@@ -493,6 +499,10 @@ Usage of /home/user/go/bin/dumbproxy:
493499
timeout for shared resolves of DNS cache (default 5s)
494500
-dns-cache-ttl duration
495501
enable DNS cache with specified fixed TTL
502+
-dns-prefer-address value
503+
address resolution preference (none/ipv4/ipv6) (default ipv4)
504+
-dns-server value
505+
nameserver specification (udp://..., tcp://..., https://..., tls://..., doh://..., dot://..., default://). Option can be used multiple times for parallel use of multiple nameservers. Empty string resets the list
496506
-hmac-genkey
497507
generate hex-encoded HMAC signing key of optimal length
498508
-hmac-sign

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ func parse_args() CLIArgs {
383383
flag.Int64Var(&args.bwBurst, "bw-limit-burst", 0, "allowed burst size for bandwidth limit, how many \"tokens\" can fit into leaky bucket")
384384
flag.UintVar(&args.bwBuckets, "bw-limit-buckets", 1024*1024, "number of buckets of bandwidth limit")
385385
flag.BoolVar(&args.bwSeparate, "bw-limit-separate", false, "separate upload and download bandwidth limits")
386-
flag.Func("dns-server", "nameserver specification (udp://..., tcp://..., https://..., tls://..., doh://..., dot://..., default://). Option can be used multiple times for parallel use of multiple nameservers. Empty string resets list", func(p string) error {
386+
flag.Func("dns-server", "nameserver specification (udp://..., tcp://..., https://..., tls://..., doh://..., dot://..., default://). Option can be used multiple times for parallel use of multiple nameservers. Empty string resets the list", func(p string) error {
387387
if p == "" {
388388
args.dnsServers = nil
389389
} else {

0 commit comments

Comments
 (0)