mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2026-01-27 04:30:34 +03:00
Add config file dns-failsafe-proxy
This commit is contained in:
11
config_files/dns-failsafe-proxy
Normal file
11
config_files/dns-failsafe-proxy
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
config dns-failsafe-proxy 'main'
|
||||
option listen_ip '127.0.0.1'
|
||||
option listen_port '5359'
|
||||
option dns_ip '127.0.0.42'
|
||||
option dns_port '53'
|
||||
option failback_ip '127.0.0.1'
|
||||
option failback_port '5453'
|
||||
option connect_timeout '150'
|
||||
option session_timeout '2000'
|
||||
|
||||
@@ -515,7 +515,8 @@ config_files="network
|
||||
firewall
|
||||
https-dns-proxy
|
||||
youtubeUnblock
|
||||
dhcp"
|
||||
dhcp
|
||||
dns-failsafe-proxy"
|
||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta_alt"
|
||||
|
||||
checkPackageAndInstall "https-dns-proxy" "0"
|
||||
@@ -532,7 +533,7 @@ then
|
||||
|
||||
for file in $config_files
|
||||
do
|
||||
if [ "$file" == "https-dns-proxy" ]
|
||||
if [ "$file" == "https-dns-proxy" ] || [ "$file" == "dns-failsafe-proxy" ]
|
||||
then
|
||||
wget -O "$DIR/$file" "$URL/config_files/$file"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user