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 changeThu, 19 Sep 2024 15:56:07 +0000 (19 15:56 +0000)
last refreshSun, 22 Sep 2024 16:55:18 +0000 (22 18:55 +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
3 days ago Felix Yanaccelerated-domains: remove liumanhua.commaster
3 days ago Felix Yanaccelerated-domains: remove appmiu.com
3 days ago Felix Yanaccelerated-domains: remove yccr.net
3 days ago Felix Yanaccelerated-domains: remove tz-mining.com
3 days ago Felix Yanaccelerated-domains: remove 4493.com
3 days ago Felix Yanaccelerated-domains: add lanzouh.com
3 days ago Felix Yanaccelerated-domains: remove 519rv.com
3 days ago Felix Yanaccelerated-domains: remove fsshly.com
3 days ago Felix Yanaccelerated-domains: remove 52zuji.net
3 days ago Felix Yanaccelerated-domains: add veqxiu.net
3 days ago Felix Yanaccelerated-domains: add zcbm580.com
3 days ago Felix Yanaccelerated-domains: add toyoures.com
3 days ago Felix Yanaccelerated-domains: add 189wh.com
3 days ago Felix Yanaccelerated-domains: add chajiage.com
3 days ago Felix Yanaccelerated-domains: add usdcny.net
3 days ago Felix Yanaccelerated-domains: add yuhaozhixing.com
...
heads
3 days ago master