Package Details: chinadns 1.3.2-1

Git Clone URL: https://aur.archlinux.org/chinadns.git (read-only)
Package Base: chinadns
Description: Protect yourself against DNS poisoning in China.
Upstream URL: https://github.com/clowwindy/ChinaDNS
Licenses: GPL3
Conflicts: chinadns-c
Submitter: westmin
Maintainer: fuhd (sdvcrx)
Last Packager: fuhd
Votes: 8
Popularity: 0.000081
First Submitted: 2014-08-19 21:18
Last Updated: 2015-08-08 03:49

Latest Comments

lennox commented on 2018-01-22 05:58

安装完之后在终端运行这条命令

sudo setcap CAP_NET_BIND_SERVICE+ep /usr/bin/chinadns

修改/usr/lib/systemd/system/chinadns.service

在[Service]底下添加一句

CapabilityBoundingSet=CAP_NET_BIND_SERVICE

就可以用systemctl运行服务了。

MaJia321 commented on 2015-05-04 07:50

我这里必须终端执行
# chinadns -m -p 53 -y 0.3 -d -c /etc/chnroute.txt -v
# systemctl start chinadns 无效

sdvcrx commented on 2015-01-05 14:08

正确的使用方法:https://www.v2ex.com/t/158525
指定自建的非53端口dns/ss-tunnel:systemctl start chinadns@server:port
普通使用:systemctl start chinadns

sdvcrx commented on 2015-01-05 14:02

@wicast 忘记加了,现在已经加上了。换其他端口的话再看看,不过只要设置开机启动把chrome的给顶掉就好...

wicast commented on 2015-01-04 01:23

启动文件里缺少 "-c /etc/chnroute.txt"一项,会提示“CHNROUTE_FILE not specified, CHNRoute is disabled”,不知道是故意如此还是忘记了。。。
此外建议使用其他端口,chrome启动之后会占用5353

Anonymous comment on 2014-11-26 06:54

@banbanchs 是我设置的问题,在我这里5353端口被占用了所以改成了低位端口,导致启动失败

sdvcrx commented on 2014-11-25 11:02

@willwish 默认在5353端口启动,应该是不用root权限的啊...我这里没有问题,欢迎进一步提供报错信息..

Anonymous comment on 2014-11-23 07:37

service 文件里 User 设为 nobody 的话无法正常起动,设为 root 的话没问题

sdvcrx commented on 2014-10-25 12:13

Read https://github.com/clowwindy/ChinaDNS-C#usage
then use `systemctl start chinadns` to start chinadns-c

westmin commented on 2014-08-31 11:54

dnsmasq-chinadns is better. i adopt it.