mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 17:46:16 +04:00
https-dns-proxy: bugfix: prevent canary domains duplicates
Signed-off-by: Stan Grishin <stangri@melmac.ca>
This commit is contained in:
@@ -257,7 +257,7 @@ dnsmasq_doh_server() {
|
||||
add)
|
||||
if [ "$forceDNS" -ne 0 ]; then
|
||||
for i in $canaryDomains; do
|
||||
uci_add_list 'dhcp' "$cfg" 'server' "/${i}/"
|
||||
uci_add_list_if_new 'dhcp' "$cfg" 'server' "/${i}/"
|
||||
done
|
||||
fi
|
||||
case $address in
|
||||
|
||||
Reference in New Issue
Block a user