I use the last version of dnsproxy (adguard) and I have an error from the log, and I can not use dnsproxy, the error seems to be in the default config, maybe someone here could find it in the config?
thanks
also, I compared the default config from 23.05 version vs 24.10 or master, and the three are the same.
error message:
Sat Feb 1 11:38:14 2025 daemon.info dnsproxy[10745]: jail: exec-ing /usr/bin/dnsproxy
Sat Feb 1 11:38:15 2025 daemon.err dnsproxy[10745]: parsing options: positional arguments are not allowed, please check your command line arguments; detected positional arguments: [false]
Sat Feb 1 11:38:15 2025 daemon.info dnsproxy[10745]: jail: jail (10770) exited with exit: 2
I tried with the same config that I use usually since a year (dnsproxy config) also, I deleted all my dnsproxy settings and rm dnsproxy in init.d and config. After I upload the new version and using the new config, I kept the basic config and same error.
First time after a year, that I use dnsproxy and update it when adguard launch a new update, that I have an error when I start that app.
I take the place of my son @ peacefullheight
not really, it does not start with that
# dnsproxy -U dnsproxy -C /etc/capabilities/dnsproxy.json -l -o -r /et
c/hosts -r /etc/ssl/certs/ca-certificates.crt -- /usr/bin/dnsproxy --http3 --ipv6-disa
bled --listen 127.0.0.1 --port 5353 --bootstrap 76.76.2.22 --fallback https://dns.clou
dflare.com/dns-query --upstream quic://myID.dns.controld.com:853 --cache --cache-optim
istic --cache-size 6553500 --hosts-file-enabled false
flag provided but not defined: -U
Usage of dnsproxy:
--bogus-nxdomain=subnet
Transform the responses containing at least a single IP that matches specified addresses and CIDRs into NXDOMAIN. Can be specified multiple times.
--bootstrap/-b
Bootstrap DNS for DoH and DoT, can be specified multiple times (default: use system-provided).
--cache
If specified, DNS cache is enabled.
--cache-max-ttl=uint32
Maximum TTL value for DNS entries, in seconds.
--cache-min-ttl=uint32
Minimum TTL value for DNS entries, in seconds. Capped at 3600. Artificially extending TTLs should only be done with careful consideration.
--cache-optimistic
If specified, optimistic DNS cache is enabled.
--cache-size=int
Cache size (in bytes). Default: 64k.
--config-path=path
YAML configuration file. Minimal working configuration in config.yaml.dist. Options passed through command line will override the ones from this file.
--dns64
If specified, dnsproxy will act as a DNS64 server.
--dns64-prefix=subnet
Prefix used to handle DNS64. If not specified, dnsproxy uses the 'Well-Known Prefix' 64:ff9b::. Can be specified multiple times.
--dnscrypt-config=path/-g path
Path to a file with DNSCrypt configuration. You can generate one using https://github.com/ameshkov/dnscrypt.
--dnscrypt-port=port/-y port
Listening ports for DNSCrypt.
--edns
Use EDNS Client Subnet extension.
--edns-addr=address
Send EDNS Client Address.
--fallback/-f
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.
--help/-h
Print this help message and quit.
--hosts-file-enabled
If specified, use hosts files for resolving.
--hosts-files=path
List of paths to the hosts files, can be specified multiple times.
--http3
Enable HTTP/3 support.
--https-port=port/-s port
Listening ports for DNS-over-HTTPS.
--https-server-name=name
Set the Server header for the responses from the HTTPS server.
--https-userinfo=name
If set, all DoH queries are required to have this basic authentication information.
--insecure
Disable secure TLS certificate validation.
--ipv6-disabled
If specified, all AAAA requests will be replied with NoError RCode and empty answer.
--listen=address/-l address
Listening addresses.
--max-go-routines=uint
Set the maximum number of go routines. A zero value will not not set a maximum.
--output=path/-o path
Path to the log file.
--port=port/-p port
Listening ports. Zero value disables TCP and UDP listeners.
--pprof
If present, exposes pprof information on localhost:6060.
--private-rdns-upstream
Private DNS upstreams to use for reverse DNS lookups of private addresses, can be specified multiple times.
--private-subnets=subnet
Private subnets to use for reverse DNS lookups of private addresses.
--quic-port=port/-q port
Listening ports for DNS-over-QUIC.
--ratelimit=int/-r int
Ratelimit (requests per second).
--ratelimit-subnet-len-ipv4=int
Ratelimit subnet length for IPv4.
--ratelimit-subnet-len-ipv6=int
Ratelimit subnet length for IPv6.
--refuse-any
If specified, refuses ANY requests.
--timeout=duration
Timeout for outbound DNS queries to remote upstream servers in a human-readable form
--tls-crt=path/-c path
Path to a file with the certificate chain.
--tls-key=path/-k path
Path to a file with the private key.
--tls-max-version=version
Maximum TLS version, for example 1.3.
--tls-min-version=version
Minimum TLS version, for example 1.0.
--tls-port=port/-t port
Listening ports for DNS-over-TLS.
--udp-buf-size=int
Set the size of the UDP buffer in bytes. A value <= 0 will use the system default.
--upstream/-u
An upstream to be used (can be specified multiple times). You can also specify path to a file with the list of servers.
--upstream-mode=mode
Defines the upstreams logic mode, possible values: load_balance, parallel, fastest_addr (default: load_balance).
--use-private-rdns
If specified, use private upstreams for reverse DNS lookups of private addresses.
--verbose/-v
Verbose output.
--version
Prints the program version.
parsing options: flag provided but not defined: -U