@@ -146,9 +146,9 @@ Just run it as a daemon and point traffic at it. Commandline flags are:
146146```
147147Usage: ./https_dns_proxy [-a <listen_addr>] [-p <listen_port>]
148148 [-d] [-u <user>] [-g <group>] [-b <dns_servers>]
149- [-r <resolver_url >] [-e <subnet_addr >]
150- [-t <proxy_server>] [-l <logfile>] -c <dscp_codepoint>
151- [-x] [-v]+
149+ [-i <polling_interval >] [-4] [-r <resolver_url >]
150+ [-t <proxy_server>] [-l <logfile>] [ -c <dscp_codepoint>]
151+ [-x] [-q] [-s <statistic_interval>] [- v]+ [-V] [-h]
152152
153153 -a listen_addr Local IPv4/v6 address to bind to. (127.0.0.1)
154154 -p listen_port Local port to bind to. (5053)
@@ -162,7 +162,7 @@ Usage: ./https_dns_proxy [-a <listen_addr>] [-p <listen_port>]
162162 -i polling_interval Optional polling interval of DNS servers.
163163 (Default: 120, Min: 5, Max: 3600)
164164 -4 Force IPv4 hostnames for DNS resolvers non IPv6 networks.
165- -r resolver_url The HTTPS path to the resolver URL. default : https://dns.google/dns-query
165+ -r resolver_url The HTTPS path to the resolver URL. Default : https://dns.google/dns-query
166166 -t proxy_server Optional HTTP proxy. e.g. socks5://127.0.0.1:1080
167167 Remote name resolution will be used if the protocol
168168 supports it (http, https, socks4a, socks5h), otherwise
@@ -173,10 +173,14 @@ Usage: ./https_dns_proxy [-a <listen_addr>] [-p <listen_port>]
173173 connections.
174174 -x Use HTTP/1.1 instead of HTTP/2. Useful with broken
175175 or limited builds of libcurl. (false)
176+ -q Use HTTP/3 (QUIC) only. (false)
176177 -s statistic_interval Optional statistic printout interval.
177178 (Default: 0, Disabled: 0, Min: 1, Max: 3600)
178- -v Increase logging verbosity. (INFO)
179+ -v Increase logging verbosity. (Default: error)
180+ Levels: fatal, stats, error, warning, info, debug
181+ Request issues are logged on warning level.
179182 -V Print version and exit.
183+ -h Print help and exit.
180184```
181185
182186## TODO
0 commit comments