Shell
Need help with openwrt-dnsmasq?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.
aa65535

Description

No longer maintained

126 Stars 61 Forks 79 Commits 1 Opened issues

Services available

Need anything else?

Dnsmasq for OpenWrt

简介

本项目是 Dnsmasq 在 OpenWrt 上的移植与功能增强
当前版本: 2.72-4
预编译 IPK 下载

特性

  • 添加
    --ignore-address
    选项, 忽略指定的 IP, 防止 DNS劫持
  • 添加
    --min-cache-ttl
    选项, 可设置 DNS缓存最小有效期

编译

  • 从 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-*
   # 下载 Patch & Makefile
   git clone https://github.com/aa65535/openwrt-dnsmasq.git package/dnsmasq
   # 选择要编译的包 Base system -> dnsmasq
   make menuconfig
   # 开始编译
   make package/dnsmasq/compile V=99
  • 其他平台将 Patch 应用到 dnsmasq 源码后编译
   # 下载代码
   wget http://thekelleys.org.uk/dnsmasq/dnsmasq-2.72.tar.gz
   git clone https://github.com/aa65535/openwrt-dnsmasq.git
   # 打 Patch
   tar xzf dnsmasq-2.72.tar.gz
   cd dnsmasq*
   patch -p1 < ../openwrt-dnsmasq/patches/111-feature-enhancement.patch
   # 开始编译
   make

配置


Name

Description
openwrt-chinadns ChinaDNS-C for OpenWrt
openwrt-shadowsocks Shadowsocks-libev for OpenWrt
openwrt-redsocks2 RedSocks2 for OpenWrt
openwrt-shadowvpn ShadowVPN for OpenWrt
openwrt-dist-luci LuCI Applications for OpenWrt-dist

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.