From 1cdea4092b328abc70979a02e4e6e9ea4231c4ec Mon Sep 17 00:00:00 2001 From: fangdingjun Date: Mon, 31 Aug 2015 17:55:56 +0800 Subject: [PATCH] add sample config file --- config_sample/blacklist.txt | 3 + config_sample/config.ini | 8 +++ config_sample/domains.txt | 107 ++++++++++++++++++++++++++++++++++++ 3 files changed, 118 insertions(+) create mode 100644 config_sample/blacklist.txt create mode 100644 config_sample/config.ini create mode 100644 config_sample/domains.txt diff --git a/config_sample/blacklist.txt b/config_sample/blacklist.txt new file mode 100644 index 0000000..a99f075 --- /dev/null +++ b/config_sample/blacklist.txt @@ -0,0 +1,3 @@ +{ + "211.139.136.73":1 +} \ No newline at end of file diff --git a/config_sample/config.ini b/config_sample/config.ini new file mode 100644 index 0000000..ccdad3f --- /dev/null +++ b/config_sample/config.ini @@ -0,0 +1,8 @@ +bind = :53 # the address bind to +configUpdateInterval = 0 +upstream = udp:114.114.114.114:53 +server = domains.txt,udp:8.8.8.8:53 +server = domains.txt,tcp:4.2.2.2:53 +#logfile = error.log +blacklist = blacklist.txt +debug = true diff --git a/config_sample/domains.txt b/config_sample/domains.txt new file mode 100644 index 0000000..ecc1a2b --- /dev/null +++ b/config_sample/domains.txt @@ -0,0 +1,107 @@ +{ + "xunlei.com":1, + "getlantern.org":1, + "greatfire.org":1, + "tietuku.com":1, + "dw.com":1, + "igfw.net":1, + "rfa.org":1, + "intercomcdn.com":1, + "gorillatoolkit.org":1, + "shadowsocks.org":1, + "openvpn.net":1, + "golang.org":1, + "reuters.com":1, + "lwgod.com":1, + "buzzfed.com":1, + "chinagfw.org":1, + "feedburner.com":1, + "bbc.com":1, + "fanqianghou.com":1, + "qiwen.lu":1, + "dropbox.com":1, + "laonanren.com":1, + "wikipedia.org":1, + "powerapple.com":1, + "ift.tt":1, + "bowenpress.com":1, + "assets-cdn.github.com":1, + "bx.tl":1, + "googlecode.com":1, + "gist.github.com":1, + "googleapis.com":1, + "sharethis.com":1, + "googletagservices.com":1, + "ablwang.com":1, + "githubusercontent.com":1, + "wordpress.com":1, + "linkedin.com":1, + "wsj.net":1, + "wsj.com":1, + "flickr.com":1, + "w3schools.com":1, + "hikinggfw.org":1, + "imgur.com":1, + "akamai.net":1, + "outbrain.com":1, + "amazonaws.com":1, + "wp.com":1, + "goo.gl":1, + "aboluowang.com":1, + "youmaker.com":1, + "gravatar.com":1, + "cmake.org":1, + "sourceforge.net":1, + "idv.tw":1, + "ntdtv.com":1, + "sourceforge.net":1, + "fbcdn.net":1, + "dw.de":1, + "imgur.com":1, + "bit.ly":1, + "fw.cm":1, + "cdninstagram.com":1, + "udn.com.tw":1, + "instagram.com":1, + "ltn.com.tw":1, + "wp.com":1, + "boxun.com":1, + "xys.org":1, + "allinfa.com":1, + "facebook.net":1, + "atgfw.org":1, + "pao-pao.net":1, + "torproject.org":1, + "nytimes.com":1, + "ifanqiang.com":1, + "googlevideo.com":1, + "freeweibo.com":1, + "ggpht.com":1, + "ytimg.com":1, + "renminbao.com":1, + "appspot.com":1, + "chinadigitaltimes.net":1, + "letscorp.net":1, + "t.co":1, + "dongtaiwang.com":1, + "kanzhongguo.com":1, + "youtube.com":1, + "haxx.se":1, + "feedly.com":1, + "peacehall.com":1, + "voachinese.com":1, + "voanews.com":1, + "secretchina.com":1, + "epochtimes.com":1, + "gstatic.com":1, + "facebook.com":1, + "blogblog.com":1, + "blogspot.com":1, + "googleusercontent.com":1, + "blogger.com":1, + "chromium.org":1, + "twimg.com":1, + "twitter.com":1, + "t66y.com":1, + "google.com":1 +}