Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Oct 12, 2019
Aug 22, 2016
Aug 22, 2016
Aug 12, 2019

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

You can’t perform that action at this time.