mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-16 21:43:33 +08:00
🐶 Sync 2026-04-24 20:24:11
This commit is contained in:
1 parent
5a7f5b4f3b
commit
b043ff192c
20 files changed
+7141
-3650
No files matched your search
@@ -1710,6 +1710,7 @@ function gen_config(var)
|
||||
outboundTag = "direct" --dns为本地ip,走直连
|
||||
end
|
||||
end
|
||||
--[[
|
||||
local dns_block_mode = "host"
|
||||
if dns_block_mode == "host" and outboundTag == "blackhole" then
|
||||
for d_i, d_k in ipairs(value.domain) do
|
||||
@@ -1717,6 +1718,7 @@ function gen_config(var)
|
||||
end
|
||||
dns_server = nil
|
||||
end
|
||||
]]--
|
||||
if dns_server then
|
||||
--dns_server.finalQuery = true
|
||||
dns_server.domains = value.domain
|
||||
|
||||
Reference in new issue
Block a user