All Projects → aa65535 → Openwrt Chinadns

aa65535 / Openwrt Chinadns

Licence: gpl-3.0
ChinaDNS for OpenWrt/LEDE

Projects that are alternatives of or similar to Openwrt Chinadns

Openwrt Shadowsocksr
ShadowsocksR-libev for OpenWrt/LEDE
Stars: ✭ 136 (-79.73%)
Mutual labels:  makefile, openwrt, lede
Openwrt Shadowsocks
Shadowsocks-libev for OpenWrt/LEDE
Stars: ✭ 3,091 (+360.66%)
Mutual labels:  makefile, openwrt, lede
Openwrt Shadowsocksr Libev Full
ShadowsocksR-libev-full for OpenWrt
Stars: ✭ 406 (-39.49%)
Mutual labels:  makefile, openwrt, lede
Openwrt Pcap dnsproxy
Pcap_DNSProxy for OpenWrt/LEDE
Stars: ✭ 204 (-69.6%)
Mutual labels:  makefile, openwrt, lede
openwrt-dnsmasq-extra
Anti Pollution/ADs DNS for OpenWrt/LEDE
Stars: ✭ 34 (-94.93%)
Mutual labels:  openwrt, lede
scale-network
SCaLE's on-site expo network configurations, wifi, tooling, and scripts
Stars: ✭ 13 (-98.06%)
Mutual labels:  openwrt, lede
Clash
Clash for openwrt [Luci-app-clash] https://github.com/frainzy1477/luci-app-clash
Stars: ✭ 293 (-56.33%)
Mutual labels:  makefile, openwrt
Actions Openwrt
A template for building OpenWrt with GitHub Actions | 使用 GitHub Actions 云编译 OpenWrt
Stars: ✭ 4,742 (+606.71%)
Mutual labels:  openwrt, lede
ansible-nnxx
Ansible configurations for the nnxx infrastructure
Stars: ✭ 11 (-98.36%)
Mutual labels:  openwrt, lede
Libuhttpd
A very flexible, lightweight and fully asynchronous HTTP server library based on libev and http-parser for Embedded Linux.
Stars: ✭ 302 (-54.99%)
Mutual labels:  openwrt, lede
Netjsonconfig
Network configuration management library based on NetJSON DeviceConfiguration
Stars: ✭ 372 (-44.56%)
Mutual labels:  openwrt, lede
scal
System Configuration Abstraction Layer
Stars: ✭ 14 (-97.91%)
Mutual labels:  openwrt, lede
firmware-core
nodewatcher firmware.
Stars: ✭ 26 (-96.13%)
Mutual labels:  openwrt, lede
Openwisp Controller
Network and WiFi controller: provisioning, configuration management and updates, (pull via openwisp-config or push via SSH), x509 PKI management and more. Mainly OpenWRT, but designed to work also on other systems.
Stars: ✭ 377 (-43.82%)
Mutual labels:  openwrt, lede
Ansible Openwisp2
Ansible role that installs and upgrades OpenWISP.
Stars: ✭ 403 (-39.94%)
Mutual labels:  openwrt, lede
OpenWrts
OPENWRT 固件(Raspberry Pi4B/3B+,NanoPi R4S,Orange Pi R1Plus,x86) 依源码更新自动编译
Stars: ✭ 100 (-85.1%)
Mutual labels:  openwrt, lede
Zerotier Openwrt
A OpenWrt package for ZeroTier One - Pull requests are welcome!
Stars: ✭ 326 (-51.42%)
Mutual labels:  openwrt, lede
Oui
A modern web interface for OpenWrt implemented in vue.js and Lua.
Stars: ✭ 594 (-11.48%)
Mutual labels:  openwrt, lede
meta-openwrt
OE/Yocto metadata layer for OpenWRT
Stars: ✭ 75 (-88.82%)
Mutual labels:  openwrt, lede
OpenWrtAction
Openwrt automatic compilation project of github action
Stars: ✭ 28 (-95.83%)
Mutual labels:  openwrt, lede

ChinaDNS for OpenWrt

Download

简介

本项目是 ChinaDNS 在 OpenWrt 上的移植

编译

  • 从 OpenWrt 的 SDK 编译

    # 以 ar71xx 平台为例
    tar xjf OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2
    cd OpenWrt-SDK-ar71xx-*
    # 获取 Makefile
    git clone https://github.com/aa65535/openwrt-chinadns.git package/chinadns
    # 选择要编译的包 Network -> ChinaDNS
    make menuconfig
    # 开始编译
    make package/chinadns/compile V=99
    

配置

  • 默认 DNS 服务器端口为 5353, 可使用 LuCI 进行配置

  • 可搭配路由器自带的 Dnsmasq 使用 借助其 DNS 缓存提升查询速度

    LuCI 中定位至「网络 - DHCP/DNS」
    「基本设置」 本地服务器 填写 127.0.0.1#5353
    「HOSTS和解析文件」勾选 忽略解析文件

  • 不要在 ChinaDNS 的上游使用带 DNS 缓存的本地服务器, 可能无法得到预期效果

  • 遇到 UDP 不稳定的情况, 建议使用 DNS-Forwarder 将 DNS 查询转换为 TCP 协议

    ChinaDNS 的上游 DNS 服务器使用 DNS-Forwarder 即可, 配置方法参考 Wiki

  • 更新 /etc/chinadns_chnroute.txt

     wget -O- 'http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest' | awk -F\| '/CN\|ipv4/ { printf("%s/%d\n", $4, 32-log($5)/log(2)) }' > /etc/chinadns_chnroute.txt
    

Name Description
openwrt-dnsmasq Dnsmasq Patch & Makefile for OpenWrt
openwrt-shadowsocks Shadowsocks-libev for OpenWrt
openwrt-shadowvpn ShadowVPN for OpenWrt
openwrt-dist-luci LuCI Applications for OpenWrt-dist
openwrt-redsocks2 RedSocks2 for OpenWrt
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].