【文件属性】:
文件名称:openwrt-chinadns-ng:面向OpenWrt的ChinaDNS下一代,使用epoll和ipset进行重构
文件大小:360KB
文件格式:ZIP
更新时间:2021-05-01 00:36:39
Shell
ChinaDNS Next Generation for OpenWrt
简介
本项目是 在 OpenWrt 上的移植。
编译
从 OpenWrt 的 编译
cd openwrt-sdk
# 获取源码
git clone https://github.com/pexcn/openwrt-chinadns-ng.git package/chinadns-ng
# 选中 Network -> chinadns-ng
make menuconfig
# 编译 chinadns-ng
make package/chinadns-ng/{clean,compile} V=s
配置
配置文件位于 /etc/config/chinadns-ng, 详细的解释见:
选项
数据类型
说明
enable
布尔值
开启 chinadns-ng
bind_addr
字符串
本地绑定的 IP
bind_port
【文件预览】:
openwrt-chinadns-ng-master
----update-list.sh(468B)
----README.md(3KB)
----patches()
--------001-build-with-gcc-O3-optimizations.patch(557B)
----LICENSE(34KB)
----Makefile(2KB)
----files()
--------chnroute.txt(86KB)
--------gfwlist.txt(78KB)
--------chinadns-ng.config(493B)
--------chnroute6.txt(28KB)
--------chinalist.txt(835KB)
--------chinadns-ng.init(4KB)