From cf2d397041d856a09e86e05bc6b32646b9c160a2 Mon Sep 17 00:00:00 2001 From: Cokebar Chi Date: Sat, 14 Feb 2015 17:31:32 +0800 Subject: [PATCH] Update README.md --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 32ae0bc..30da4d6 100644 --- a/README.md +++ b/README.md @@ -6,21 +6,27 @@ Just another script to auto-generate dnsmasq ipset rules using gfwlist Using: ----- -### First git clone +#### First git clone ```bash git clone https://github.com/cokebar/gfwlist2dnsmasq.git ``` -### Modify gfwlist2dnsmasq.sh: -#### Change this to your DNS server: +#### Modify gfwlist2dnsmasq.sh: +Change this to your DNS server: +```bash DNS='127.0.0.1#5353' +``` -#### Change this to your ipset name: +Change this to your ipset name: +```bash IPSET=gfwlist +``` -#### Path to save you rule file: +Path to save you rule file: +```bash RULE_FILE=./dnsmasq_list.conf +``` -#### Add your own extra domain here. One domain in a line. eg: +Add your own extra domain here. One domain in a line. eg: ```bash EX_DOMAIN='.google.com .google.com.hk