Browse Source

Merge pull request #19526 from stangri/openwrt-22.03-https-dns-proxy

[22.03] https-dns-proxy: bugfix: prevent canary domains duplicates
lilik-openwrt-22.03
Stan Grishin 2 years ago
committed by GitHub
parent
commit
62c0e0fc11
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/https-dns-proxy/Makefile
  2. +1
    -1
      net/https-dns-proxy/files/https-dns-proxy.init

+ 1
- 1
net/https-dns-proxy/Makefile View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=https-dns-proxy
PKG_VERSION:=2021-11-22
PKG_RELEASE:=5
PKG_RELEASE:=6
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy/


+ 1
- 1
net/https-dns-proxy/files/https-dns-proxy.init View File

@ -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


Loading…
Cancel
Save