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