Browse Source

update: remove legacy overture configure

dev
Dnomd343 2 years ago
parent
commit
acd1778e6e
  1. 37
      overture/config.yml
  2. 17
      overture/update.sh

37
overture/config.yml

@ -1,37 +0,0 @@
bindAddress: :5353
dohEnabled: false
primaryDNS:
- name: Domestic
address: 127.0.0.1:4053
protocol: udp
socks5Address:
timeout: 6
ednsClientSubnet:
policy: disable
externalIP:
noCookie: true
alternativeDNS:
- name: Foreign
address: 127.0.0.1:6053
protocol: udp
socks5Address:
timeout: 6
ednsClientSubnet:
policy: disable
externalIP:
noCookie: true
onlyPrimaryDNS: false
ipv6UseAlternativeDNS: false
alternativeDNSConcurrent: true
whenPrimaryDNSAnswerNoneUse: alternativeDNS
ipNetworkFile:
primary: /etc/cleardns/asset/china-ip.txt
alternative: /dev/null
domainFile:
primary: /etc/cleardns/asset/chinalist.txt
alternative: /etc/cleardns/asset/gfwlist.txt
matcher: suffix-tree
hostsFile:
hostsFile: /etc/hosts
finder: full-map
cacheSize: 4096

17
overture/update.sh

@ -1,17 +0,0 @@
#!/bin/sh
ASSET_DIR="/etc/cleardns/asset"
[ -f "$ASSET_DIR/no-update" ] && exit
TEMP_DIR="$ASSET_DIR/temp"
rm -rf "$TEMP_DIR" && mkdir -p "$TEMP_DIR"
wget -P "$TEMP_DIR" https://res.dnomd343.top/Share/gfwlist/gfwlist.txt.gz
wget -P "$TEMP_DIR" https://res.dnomd343.top/Share/chinalist/china-ip.txt.gz
wget -P "$TEMP_DIR" https://res.dnomd343.top/Share/chinalist/chinalist.txt.gz
gunzip $TEMP_DIR/*.gz
[ -s "$TEMP_DIR/gfwlist.txt" ] && mv -f "$TEMP_DIR/gfwlist.txt" "$ASSET_DIR"
[ -s "$TEMP_DIR/chinalist.txt" ] && mv -f "$TEMP_DIR/chinalist.txt" "$ASSET_DIR"
[ -s "$TEMP_DIR/china-ip.txt" ] && mv -f "$TEMP_DIR/china-ip.txt" "$ASSET_DIR"
rm -rf "$TEMP_DIR"
pgrep overture | xargs kill
Loading…
Cancel
Save