From acd1778e6ee6e49ad72be0115e07e53cded4a0ca Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Mon, 26 Sep 2022 16:07:11 +0800 Subject: [PATCH] update: remove legacy overture configure --- overture/config.yml | 37 ------------------------------------- overture/update.sh | 17 ----------------- 2 files changed, 54 deletions(-) delete mode 100644 overture/config.yml delete mode 100755 overture/update.sh diff --git a/overture/config.yml b/overture/config.yml deleted file mode 100644 index 2174704..0000000 --- a/overture/config.yml +++ /dev/null @@ -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 diff --git a/overture/update.sh b/overture/update.sh deleted file mode 100755 index a3eae2a..0000000 --- a/overture/update.sh +++ /dev/null @@ -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