mirror of
https://github.com/kenzok8/small-package
synced 2025-01-09 08:59:26 +08:00
update 2023-07-17 16:25:44
This commit is contained in:
parent
f9ebd5c2d6
commit
3eaef275d1
@ -51,7 +51,7 @@ define Package/ddns-go/install
|
||||
$(call GoPackage/Package/Install/Bin,$(1))
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./file/ddnsgo.init $(1)/etc/init.d/ddnsgo
|
||||
$(INSTALL_BIN) ./file/ddns-go.init $(1)/etc/init.d/ddns-go
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/uci-defaults
|
||||
$(INSTALL_BIN) ./file/luci-ddns-go.uci-default $(1)/etc/uci-defaults/luci-ddns-go
|
||||
|
@ -25,6 +25,6 @@ rebind-domain-ok={{ j }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if (general["blocked_as_nxdomain"] == "1"): %}
|
||||
{% if (general["blocked_to_loopback"] != "1"): %}
|
||||
bogus-nxdomain=127.127.127.127
|
||||
{% endif %}
|
||||
|
@ -638,6 +638,9 @@ function dns_server_tags() {
|
||||
function dns_server_outbound() {
|
||||
return {
|
||||
protocol: "dns",
|
||||
settings: {
|
||||
nonIPQuery: "skip"
|
||||
},
|
||||
streamSettings: {
|
||||
sockopt: {
|
||||
mark: int(proxy["mark"])
|
||||
|
@ -690,7 +690,7 @@ return view.extend({
|
||||
}
|
||||
o.rmempty = true
|
||||
|
||||
o = s.taboption('dns', form.Flag, 'blocked_as_nxdomain', _('Use NXDOMAIN for blocked'), _('Return <code>NXDOMAIN</code> as response for blocked domain rules. If not selected, a loopback address will be returned.'))
|
||||
o = s.taboption('dns', form.Flag, 'blocked_to_loopback', _('Blocked to loopback'), _('Return <code>127.127.127.127</code> as response for blocked domain rules. If not selected, <code>NXDOMAIN</code> will be returned.'))
|
||||
o.modalonly = true
|
||||
|
||||
o = s.taboption('dns', form.Value, 'dns_port', _('Xray DNS Server Port'), _("Do not use port 53 (dnsmasq), port 5353 (mDNS) or other common ports"))
|
||||
|
@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
|
||||
PKG_NAME:=xunyou
|
||||
PKG_VERSION:=2.0.1.8
|
||||
PKG_VERSION:=2.0.2.3
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)_v$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://partnerdownload.xunyou.com/routerplugin/koolshare/
|
||||
PKG_HASH:=1c12efb943afdd1f93a8644b6da7000209b80f6247241919119c408ee31b687f
|
||||
PKG_HASH:=0f974ebf7d407479cf4eaa23f9cf32a211d52e8ac258035ec01cbc6b1baf67b2
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_v$(PKG_VERSION)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user