Add config file dns-failsafe-proxy

This commit is contained in:
CodeRoK7
2025-07-27 20:34:43 +00:00
parent e765114c49
commit 50044435a7
2 changed files with 14 additions and 2 deletions

View 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'

View File

@@ -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