From d2613034a121485b210753abadf52f939af4f97e Mon Sep 17 00:00:00 2001
From: bgme <i@bgme.me>
Date: Fri, 2 May 2025 22:17:49 +0800
Subject: [PATCH] remove google china domain

---
 dnsmasq-china-list.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dnsmasq-china-list.sh b/dnsmasq-china-list.sh
index 6820239..cac3a36 100755
--- a/dnsmasq-china-list.sh
+++ b/dnsmasq-china-list.sh
@@ -8,10 +8,11 @@ CACHE_FOLDER="${SCRIPT_DIR}/cache"
 mkdir -p "${CACHE_FOLDER}"
 
 curl --proxy "${PROXY}" https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/refs/heads/master/accelerated-domains.china.conf -o "${CACHE_FOLDER}/accelerated-domains.china.conf"
-curl --proxy "${PROXY}" https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/refs/heads/master/google.china.conf -o "${CACHE_FOLDER}/google.china.conf"
+#curl --proxy "${PROXY}" https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/refs/heads/master/google.china.conf -o "${CACHE_FOLDER}/google.china.conf"
 curl --proxy "${PROXY}" https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/refs/heads/master/apple.china.conf -o "${CACHE_FOLDER}/apple.china.conf"
 curl --proxy "${PROXY}" https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/refs/heads/master/bogus-nxdomain.china.conf -o "${CACHE_FOLDER}/bogus-nxdomain.china.conf"
 
 [ -d "/tmp/dnsmasq.d/" ] && cp ${CACHE_FOLDER}/*.conf /tmp/dnsmasq.d/
 grep -v '^#' "${CACHE_FOLDER}/bogus-nxdomain.china.conf" | grep -v '^$' | sed -e 's/=/ /g' > /etc/smartdns/conf.d/bogus-nxdomain.conf
-cat "${CACHE_FOLDER}/accelerated-domains.china.conf" "${CACHE_FOLDER}/apple.china.conf" "${CACHE_FOLDER}/google.china.conf" | sed -e "s|server=/||g" -e "s|/114.114.114.114||g" | grep -v "^#" | grep -v "^$" > /etc/smartdns/domain-set/cn.conf
\ No newline at end of file
+#cat "${CACHE_FOLDER}/accelerated-domains.china.conf" "${CACHE_FOLDER}/apple.china.conf" "${CACHE_FOLDER}/google.china.conf" | sed -e "s|server=/||g" -e "s|/114.114.114.114||g" | grep -v "^#" | grep -v "^$" > /etc/smartdns/domain-set/cn.conf
+cat "${CACHE_FOLDER}/accelerated-domains.china.conf" "${CACHE_FOLDER}/apple.china.conf" | sed -e "s|server=/||g" -e "s|/114.114.114.114||g" | grep -v "^#" | grep -v "^$" > /etc/smartdns/domain-set/cn.conf