本项目是 chinadns-ng 在 OpenWrt 上的移植。
从 OpenWrt 的 SDK 编译
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
, 详细的解释见: 命令选项
https://github.com/openwrt-dev/feeds
Copyright (C) 2019-2023, pexcn <pexcn97@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.