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 changeTue, 4 Jun 2024 21:25:23 +0000 (4 21:25 +0000)
last refreshSat, 8 Jun 2024 03:44:21 +0000 (8 05:44 +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 hn-onlead.commaster
3 days ago Felix Yanaccelerated-domains: remove xlaaa.com
3 days ago Felix Yanaccelerated-domains: remove gamenao.com
3 days ago Felix Yanaccelerated-domains: remove bjsctx.com
3 days ago Felix Yanaccelerated-domains: remove xn--1ct366iukbz0j.cc
3 days ago Felix Yanaccelerated-domains: remove ckd.cc
3 days ago Felix Yanaccelerated-domains: remove 98kkw.com
3 days ago Felix Yanaccelerated-domains: remove 51diaoding.net
3 days ago Felix Yanaccelerated-domains: remove queqiaoba.com
3 days ago Felix Yanaccelerated-domains: add dongchali.net
3 days ago Felix Yanaccelerated-domains: add pysmei.com
3 days ago Felix Yanaccelerated-domains: add longchunbajiao.com
3 days ago Felix Yanaccelerated-domains: remove paopaox.com
3 days ago Felix Yanaccelerated-domains: remove jr22.xyz
3 days ago Felix Yanaccelerated-domains: remove muchplans.com
3 days ago Felix Yanaccelerated-domains: add snaplabdevelop.com
...
heads
3 days ago master