Skip to content

aa65535/openwrt-dns-forwarder

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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