mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-07-27 08:31:44 +08:00
update 2026-06-01 17:20:51
This commit is contained in:
parent
a4d206411f
commit
4a54dafff4
@ -1804,13 +1804,14 @@ function gen_config(var)
|
||||
-- remote dns outbound rules
|
||||
if value.outboundTag == "blackhole" then
|
||||
table.insert(remote_dns_out_rules, {
|
||||
action = "reject",
|
||||
action = "return",
|
||||
rCode = 0,
|
||||
domain = api.clone(value.domain)
|
||||
})
|
||||
else
|
||||
table.insert(remote_dns_out_rules, {
|
||||
action = "hijack",
|
||||
qtype = "1,28",
|
||||
qType = "1,28",
|
||||
domain = api.clone(value.domain)
|
||||
})
|
||||
end
|
||||
@ -1877,7 +1878,7 @@ function gen_config(var)
|
||||
if remote_dns_outbound.settings.rules then
|
||||
table.insert(remote_dns_out_rules, {
|
||||
action = "hijack",
|
||||
qtype = "1,28"
|
||||
qType = "1,28"
|
||||
})
|
||||
table.insert(remote_dns_out_rules, {
|
||||
action = "direct"
|
||||
|
||||
@ -30,7 +30,7 @@ define Download/geosite
|
||||
HASH:=a13504c3aa71220411d77db4f819eadf37e408505fa1f846d176317d94e5afad
|
||||
endef
|
||||
|
||||
GEOSITE_IRAN_VER:=202605250156
|
||||
GEOSITE_IRAN_VER:=202606010205
|
||||
GEOSITE_IRAN_FILE:=iran.dat.$(GEOSITE_IRAN_VER)
|
||||
define Download/geosite-ir
|
||||
URL:=https://github.com/bootmortis/iran-hosted-domains/releases/download/$(GEOSITE_IRAN_VER)/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user