From 35ef44a4154ae52254617fa5edee8430aa330152 Mon Sep 17 00:00:00 2001 From: gitea-action Date: Fri, 17 Jan 2025 15:00:15 +0800 Subject: [PATCH] luci-app-homeproxy: sync upstream last commit: https://github.com/immortalwrt/homeproxy/commit/5cfc914231cd01aef3243c05effae52a0309e42a --- .../root/etc/homeproxy/scripts/generate_client.uc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luci-app-homeproxy/root/etc/homeproxy/scripts/generate_client.uc b/luci-app-homeproxy/root/etc/homeproxy/scripts/generate_client.uc index 38c8177d3..c56998afc 100755 --- a/luci-app-homeproxy/root/etc/homeproxy/scripts/generate_client.uc +++ b/luci-app-homeproxy/root/etc/homeproxy/scripts/generate_client.uc @@ -392,8 +392,7 @@ if (!isEmpty(main_node)) { if (length(direct_domain_list)) push(config.dns.rules, { rule_set: 'direct-domain', - server: (routing_mode === 'bypass_mainland_china' ) ? 'china-dns' : 'default-dns', - address_resolver: 'default-dns' + server: (routing_mode === 'bypass_mainland_china' ) ? 'china-dns' : 'default-dns' }); /* Filter out SVCB/HTTPS queries for "exquisite" Apple devices */ @@ -408,6 +407,7 @@ if (!isEmpty(main_node)) { push(config.dns.servers, { tag: 'china-dns', address: china_dns_server, + address_resolver: 'default-dns', detour: 'direct-out' });