mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2026-01-31 14:40: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
|
firewall
|
||||||
https-dns-proxy
|
https-dns-proxy
|
||||||
youtubeUnblock
|
youtubeUnblock
|
||||||
dhcp"
|
dhcp
|
||||||
|
dns-failsafe-proxy"
|
||||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta_alt"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta_alt"
|
||||||
|
|
||||||
checkPackageAndInstall "https-dns-proxy" "0"
|
checkPackageAndInstall "https-dns-proxy" "0"
|
||||||
@@ -532,7 +533,7 @@ then
|
|||||||
|
|
||||||
for file in $config_files
|
for file in $config_files
|
||||||
do
|
do
|
||||||
if [ "$file" == "https-dns-proxy" ]
|
if [ "$file" == "https-dns-proxy" ] || [ "$file" == "dns-failsafe-proxy" ]
|
||||||
then
|
then
|
||||||
wget -O "$DIR/$file" "$URL/config_files/$file"
|
wget -O "$DIR/$file" "$URL/config_files/$file"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user