packages/net/dnsproxy/files/dnsproxy.defaults
Anya Lin 47b4ebc5cb
dnsproxy: new features
1. Add new options:
  --http3    Enable HTTP/3 support (H3 first)
  --timeout  Timeout for outbound DNS queries to remote upstream servers in a human-readable form (default: 10s)

2. Allows listen on multiple interfaces and ports

Signed-off-by: Anya Lin <hukk1996@gmail.com>
2023-11-05 14:57:55 +08:00

8 lines
246 B
Bash

#!/bin/sh
[ -s "/etc/config/dnsproxy" ] || exit 0
#Migrate options 'listen_addr' 'listen_port' to list type
sed -i -e "s,option listen_addr,list listen_addr,g" \
-e "s,option listen_port,list listen_port,g" "/etc/config/dnsproxy"
exit 0