mirror of
https://github.com/openwrt/packages.git
synced 2026-01-09 19:31:21 +00:00
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>
This commit is contained in:
8
net/dnsproxy/files/dnsproxy.defaults
Normal file
8
net/dnsproxy/files/dnsproxy.defaults
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user