From bf6f33a6aa2d757f7553dc41456a7c3eb3e6dd63 Mon Sep 17 00:00:00 2001 From: Rocka Date: Wed, 23 May 2018 22:58:17 +0800 Subject: [PATCH] Makefile: add dnscrypt-proxy forward format (#186) --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7c915b2b90..de6ec01655 100644 --- a/Makefile +++ b/Makefile @@ -20,5 +20,8 @@ bind: raw sed -e 's|\(.*\)|zone "\1." {type forward; forwarders { $(SERVER); }; };|' google.china.raw.txt > google.china.bind.conf sed -e 's|\(.*\)|zone "\1." {type forward; forwarders { $(SERVER); }; };|' apple.china.raw.txt > apple.china.bind.conf +dnscrypt-proxy: raw + sed -e 's|\(.*\)|\1 $(SERVER)|' accelerated-domains.china.raw.txt google.china.raw.txt apple.china.raw.txt > dnscrypt-proxy-forwarding-rules.txt + clean: - rm -f {accelerated-domains,google,apple}.china.{dnsmasq,unbound,bind}.conf {accelerated-domains,google,apple}.china.raw.txt + rm -f {accelerated-domains,google,apple}.china.{dnsmasq,unbound,bind}.conf {accelerated-domains,google,apple}.china.raw.txt dnscrypt-proxy-forwarding-rules.txt