From 581e12a179ccb764654ef418b64189f696526ce4 Mon Sep 17 00:00:00 2001 From: sbwml Date: Fri, 1 Apr 2022 17:57:47 +0800 Subject: [PATCH] 111 --- root/etc/init.d/mosdns | 2 -- root/etc/mosdns/set.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/root/etc/init.d/mosdns b/root/etc/init.d/mosdns index 7c5ef8d..8a24991 100755 --- a/root/etc/init.d/mosdns +++ b/root/etc/init.d/mosdns @@ -24,7 +24,6 @@ restore_setting() { sed -i "/list server/d" /etc/config/dhcp uci set dhcp.@dnsmasq[0].noresolv='0' uci del dhcp.@dnsmasq[0].cachesize - uci set dhcp.@dnsmasq[0].filter_aaaa='1' uci commit dhcp } @@ -36,7 +35,6 @@ prepare_setting() { uci set dhcp.@dnsmasq[0].rebind_protection='0' uci set dhcp.@dnsmasq[0].noresolv="1" uci set dhcp.@dnsmasq[0].cachesize='0' - uci set dhcp.@dnsmasq[0].filter_aaaa='0' uci commit dhcp fi } diff --git a/root/etc/mosdns/set.sh b/root/etc/mosdns/set.sh index e9bfc3d..4c7300d 100755 --- a/root/etc/mosdns/set.sh +++ b/root/etc/mosdns/set.sh @@ -19,7 +19,7 @@ fi if L_exist pw; then if [ "$1" = "unset" ]; then uci set passwall.@global[0].dns_mode='pdnsd' - uci set passwall.@global[0].dns_forward='8.8.8.8' + uci set passwall.@global[0].dns_forward='8.8.4.4' uci set passwall.@global[0].dns_cache='1' uci set passwall.@global[0].chinadns_ng='1' elif [ "$1" = "" ]; then