smartdns: adjust luci conf
This commit is contained in:
parent
0ab68647c1
commit
6b2289c553
@ -62,8 +62,8 @@ define Package/smartdns/install
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/package/openwrt/files/etc/init.d/smartdns $(1)/etc/init.d/smartdns
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/package/openwrt/address.conf $(1)/etc/smartdns/address.conf
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/package/openwrt/blacklist-ip.conf $(1)/etc/smartdns/blacklist-ip.conf
|
||||
$(INSTALL_CONF) ./conf/custom.conf $(1)/etc/smartdns/custom.conf
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/package/openwrt/files/etc/config/smartdns $(1)/etc/config/smartdns
|
||||
$(INSTALL_CONF) $(CURDIR)/conf/custom.conf $(1)/etc/smartdns/custom.conf
|
||||
$(INSTALL_CONF) $(CURDIR)/conf/smartdns.conf $(1)/etc/config/smartdns
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,smartdns))
|
||||
|
||||
27
package/ntlf9t/smartdns/conf/smartdns.conf
Normal file
27
package/ntlf9t/smartdns/conf/smartdns.conf
Normal file
@ -0,0 +1,27 @@
|
||||
config smartdns
|
||||
option server_name 'smartdns'
|
||||
option dualstack_ip_selection '1'
|
||||
option prefetch_domain '1'
|
||||
option seconddns_no_speed_check '0'
|
||||
option seconddns_no_dualstack_selection '0'
|
||||
option seconddns_no_cache '0'
|
||||
option tcp_server '0'
|
||||
option seconddns_tcp_server '0'
|
||||
option coredump '0'
|
||||
option port '6053'
|
||||
option ipv6_server '0'
|
||||
option redirect 'dnsmasq-upstream'
|
||||
option seconddns_port '5335'
|
||||
option seconddns_server_group 'fq_dns'
|
||||
option seconddns_enabled '1'
|
||||
option seconddns_no_rule_addr '0'
|
||||
option seconddns_no_rule_nameserver '0'
|
||||
option seconddns_no_rule_ipset '0'
|
||||
option seconddns_no_rule_soa '0'
|
||||
option enabled '0'
|
||||
option cache_size '20000'
|
||||
option rr_ttl '3600'
|
||||
option rr_ttl_min '5'
|
||||
list old_redirect 'dnsmasq-upstream'
|
||||
list old_port '6053'
|
||||
list old_enabled '0'
|
||||
Loading…
Reference in New Issue
Block a user