descriptionAccelerate Chinese Domains via Dnsmasq
homepage URLhttps://github.com/felixonmars/dnsmasq-china-list
repository URLhttps://github.com/felixonmars/dnsmasq-china-list.git
ownerfelixonmars@gmail.com
last changeFri, 10 May 2024 06:30:15 +0000 (10 06:30 +0000)
last refreshFri, 10 May 2024 06:48:09 +0000 (10 08:48 +0200)
content tags
add:
README.md

dnsmasq-china-list

Chinese-specific configuration to improve your favorite DNS server. Best partner for chnroutes.

Details

Usage

  1. Fetch the installer from github (or a mirror): wget https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/install.sh
  2. (Optional) Edit it to use your favorite DNS server and/or another mirror to download the list.
  3. Run it as root: sudo ./install.sh

You can save the installer and run it again to update the list regularly.

Manual Installation

  1. Place accelerated-domains.china.conf, bogus-nxdomain.china.conf (and optionally google.china.conf, apple.china.conf) under /etc/dnsmasq.d/ (Create the folder if it does not exist).
  2. Uncomment "conf-dir=/etc/dnsmasq.d" in /etc/dnsmasq.conf
  3. (Optional) Place dnsmasq-update-china-list into /usr/bin/
  4. (Optional) Make custom DNS server configuration and/or other services' configuration.
# change the default DNS server to 202.96.128.86
make SERVER=202.96.128.86 dnsmasq
# generate unbound's configuration
make unbound
# generate bind's configuration
make bind
# full example of generating dnscrypt-proxy forwarding rules for Windows
make SERVER=101.6.6.6 NEWLINE=DOS dnscrypt-proxy

License

Copyright © 2015 Felix Yan <felixonmars@archlinux.org>
This work is free. You can redistribute it and/or modify it under the
terms of the Do What The Fuck You Want To Public License, Version 2,
as published by Sam Hocevar. See the LICENSE file for more details.
shortlog
79 min ago Felix Yanaccelerated-domains: remove maizhanghao.commaster
79 min ago Felix Yanaccelerated-domains: remove fad123.com
79 min ago Felix Yanaccelerated-domains: remove jiushu.net
80 min ago Felix Yanaccelerated-domains: remove nohken-sdy.com
80 min ago Felix Yanaccelerated-domains: remove 217play.com
80 min ago Felix Yanaccelerated-domains: remove liaowei.info
80 min ago Felix Yanaccelerated-domains: remove win7qjb.net
80 min ago Felix Yanaccelerated-domains: remove 1hhd.com
80 min ago Felix Yanaccelerated-domains: remove ry.rs
80 min ago Felix Yanaccelerated-domains: remove cctv1zhibo.com
81 min ago Felix Yanaccelerated-domains: remove shidi.org
81 min ago Felix Yanaccelerated-domains: remove andisoon.com
81 min ago Felix Yanaccelerated-domains: remove fengsuniang.com
81 min ago Felix Yanaccelerated-domains: remove lfqpay.com
81 min ago Felix Yanaccelerated-domains: remove xinfee.com
81 min ago Felix Yanaccelerated-domains: remove sxthzs.com
...
heads
79 min ago master