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>
8 lines
246 B
Bash
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
|