You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--ipv6-disabled If specified, all AAAA requests will be replied with NoError RCode and empty answer
99
-
--http3 Enable HTTP/3 support
100
-
--cache-optimistic If specified, optimistic DNS cache is enabled
101
-
--cache If specified, DNS cache is enabled
102
-
--refuse-any If specified, refuse ANY requests
103
-
--edns Use EDNS Client Subnet extension
104
-
--dns64 If specified, dnsproxy will act as a DNS64 server
105
-
--use-private-rdns If specified, use private upstreams for reverse DNS lookups of private addresses
106
-
--hosts-file-enabled= If specified, use hosts files for resolving (default: true)
107
-
108
-
Help Options:
109
-
-h, --help Show this help message
49
+
Usage of ./dnsproxy:
50
+
--bogus-nxdomain=subnet
51
+
Transform the responses containing at least a single IP that matches specified addresses and CIDRs into NXDOMAIN. Can be specified multiple times.
52
+
--bootstrap/-b
53
+
Bootstrap DNS for DoH and DoT, can be specified multiple times (default: use system-provided).
54
+
--cache
55
+
If specified, DNS cache is enabled.
56
+
--cache-max-ttl=uint32
57
+
Maximum TTL value for DNS entries, in seconds.
58
+
--cache-min-ttl=uint32
59
+
Minimum TTL value for DNS entries, in seconds. Capped at 3600. Artificially extending TTLs should only be done with careful consideration.
60
+
--cache-optimistic
61
+
If specified, optimistic DNS cache is enabled.
62
+
--cache-size=int
63
+
Cache size (in bytes). Default: 64k.
64
+
--config-path=path
65
+
YAML configuration file. Minimal working configuration in config.yaml.dist. Options passed through command line will override the ones from this file.
66
+
--dns64
67
+
If specified, dnsproxy will act as a DNS64 server.
68
+
--dns64-prefix=subnet
69
+
Prefix used to handle DNS64. If not specified, dnsproxy uses the 'Well-Known Prefix' 64:ff9b::. Can be specified multiple times.
70
+
--dnscrypt-config=path/-g path
71
+
Path to a file with DNSCrypt configuration. You can generate one using https://github.com/ameshkov/dnscrypt.
72
+
--dnscrypt-port=port/-y port
73
+
Listening ports for DNSCrypt.
74
+
--edns
75
+
Use EDNS Client Subnet extension.
76
+
--edns-addr=address
77
+
Send EDNS Client Address.
78
+
--fallback/-f
79
+
Fallback resolvers to use when regular ones are unavailable, can be specified multiple times. You can also specify path to a file with the list of servers.
80
+
--help/-h
81
+
Print this help message and quit.
82
+
--hosts-file-enabled
83
+
If specified, use hosts files for resolving.
84
+
--hosts-files=path
85
+
List of paths to the hosts files, can be specified multiple times.
86
+
--http3
87
+
Enable HTTP/3 support.
88
+
--https-port=port/-s port
89
+
Listening ports for DNS-over-HTTPS.
90
+
--https-server-name=name
91
+
Set the Server header for the responses from the HTTPS server.
92
+
--https-userinfo=name
93
+
If set, all DoH queries are required to have this basic authentication information.
94
+
--insecure
95
+
Disable secure TLS certificate validation.
96
+
--ipv6-disabled
97
+
If specified, all AAAA requests will be replied with NoError RCode and empty answer.
98
+
--listen=address/-l address
99
+
Listening addresses.
100
+
--max-go-routines=uint
101
+
Set the maximum number of go routines. A zero value will not not set a maximum.
102
+
--output=path/-o path
103
+
Path to the log file.
104
+
--pending-requests-enabled
105
+
If specified, the server will track duplicate queries and only send the first of them to the upstream server, propagating its result to others. Disabling it introduces a vulnerability to cache poisoning attacks.
106
+
--port=port/-p port
107
+
Listening ports. Zero value disables TCP and UDP listeners.
108
+
--pprof
109
+
If present, exposes pprof information on localhost:6060.
110
+
--private-rdns-upstream
111
+
Private DNS upstreams to use for reverse DNS lookups of private addresses, can be specified multiple times.
112
+
--private-subnets=subnet
113
+
Private subnets to use for reverse DNS lookups of private addresses.
114
+
--quic-port=port/-q port
115
+
Listening ports for DNS-over-QUIC.
116
+
--ratelimit=int/-r int
117
+
Ratelimit (requests per second).
118
+
--ratelimit-subnet-len-ipv4=int
119
+
Ratelimit subnet length for IPv4.
120
+
--ratelimit-subnet-len-ipv6=int
121
+
Ratelimit subnet length for IPv6.
122
+
--refuse-any
123
+
If specified, refuses ANY requests.
124
+
--timeout=duration
125
+
Timeout for outbound DNS queries to remote upstream servers in a human-readable form
126
+
--tls-crt=path/-c path
127
+
Path to a file with the certificate chain.
128
+
--tls-key=path/-k path
129
+
Path to a file with the private key.
130
+
--tls-max-version=version
131
+
Maximum TLS version, for example 1.3.
132
+
--tls-min-version=version
133
+
Minimum TLS version, for example 1.0.
134
+
--tls-port=port/-t port
135
+
Listening ports for DNS-over-TLS.
136
+
--udp-buf-size=int
137
+
Set the size of the UDP buffer in bytes. A value <= 0 will use the system default.
138
+
--upstream/-u
139
+
An upstream to be used (can be specified multiple times). You can also specify path to a file with the list of servers.
140
+
--upstream-mode=mode
141
+
Defines the upstreams logic mode, possible values: load_balance, parallel, fastest_addr (default: load_balance).
142
+
--use-private-rdns
143
+
If specified, use private upstreams for reverse DNS lookups of private addresses.
0 commit comments