DNS-Forwarder for OpenWrt
Clone or download
Latest commit 495af59 Aug 23, 2017
Permalink
Failed to load latest commit information.
files update init script Aug 23, 2017
.gitignore Initial commit Aug 22, 2016
LICENSE Initial commit Aug 22, 2016
Makefile use procd & bump Jul 21, 2017
README.md update README.md Sep 21, 2016

README.md

DNS-Forwarder for OpenWrt

Download

简介

本项目是 DNS-Forwarder 在 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-dns-forwarder.git package/dns-forwarder
    # 选择要编译的包 Network -> dns-forwarder
    make menuconfig
    # 开始编译
    make package/dns-forwarder/compile V=99

配置

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

  • 建议作为 ChinaDNS 的上游服务器使用, 配置方法参考 Wiki