Browse Source

fix: script of update the LIST files, new dns upstream

dev
dnomd343 4 years ago
parent
commit
a9d785dc2d
  1. 2
      overture/update.sh
  2. 4
      smartdns/load.sh

2
overture/update.sh

@ -4,5 +4,5 @@ rm -f /etc/overture/china_ip_list.txt
wget -P /etc/overture https://res.343.re/Share/chinalist/chinalist.txt wget -P /etc/overture https://res.343.re/Share/chinalist/chinalist.txt
wget -P /etc/overture https://res.343.re/Share/gfwlist/gfwlist.txt wget -P /etc/overture https://res.343.re/Share/gfwlist/gfwlist.txt
wget -P /etc/overture https://raw.fastgit.org/17mon/china_ip_list/master/china_ip_list.txt wget -P /etc/overture https://raw.fastgit.org/17mon/china_ip_list/master/china_ip_list.txt
ps -ef | grep overture | grep -v grep | awk '{print $1}' | xargs kill -9 ps -ef | grep overture | grep -v grep | grep -v sh | awk '{print $1}' | xargs kill -9
overture -c /etc/overture/config.yml > /dev/null 2>&1 & overture -c /etc/overture/config.yml > /dev/null 2>&1 &

4
smartdns/load.sh

@ -4,7 +4,6 @@ server 223.5.5.5
server 223.6.6.6 server 223.6.6.6
server 119.29.29.29 server 119.29.29.29
server 119.28.28.28 server 119.28.28.28
server 180.76.76.76
server 114.114.114.114 server 114.114.114.114
server 114.114.115.115 server 114.114.115.115
EOF EOF
@ -12,7 +11,8 @@ EOF
load_foreign(){ load_foreign(){
cat>/etc/smartdns/expose/foreign.conf<<EOF cat>/etc/smartdns/expose/foreign.conf<<EOF
server 8.8.8.8 server-tls 223.5.5.5:853
server-https https://doh.pub/dns-query
EOF EOF
} }

Loading…
Cancel
Save