From 93c4b19ac8632effab3e00b371cae78b8045e8df Mon Sep 17 00:00:00 2001 From: Jakukyo Friel Date: Fri, 7 Oct 2016 07:48:18 +0800 Subject: [PATCH] README: doc how to install from git repo. --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 44c8c30..376aa8a 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,16 @@ Install ./configure && make src/chinadns -m -c chnroute.txt + Or install the latest version from git repository: + + git clone https://github.com/shadowsocks/ChinaDNS.git + cd ChinaDNS + ./autogen.sh + ./configure && make + src/chinadns -m -c chnroute.txt + + Optionally, you can put `chinadns` into `$PATH`. + * OpenWRT * [Download precompiled] for OpenWRT trunk and CPU: ar71xx, brcm63xx, @@ -96,10 +106,10 @@ Test if it works correctly: ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29845 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 - + ;; QUESTION SECTION: ;www.youtube.com. IN A - + ;; ANSWER SECTION: www.youtube.com. 21569 IN CNAME youtube-ui.l.google.com. youtube-ui.l.google.com. 269 IN A 216.58.220.174