wndr3800 LEDE 17.0.1 编译优化版dnsmasq

来源:互联网 发布:关键词布局优化 编辑:程序博客网 时间:2024/06/01 23:52

因为dnsmasq所需要的ipset和server列表多了以后,就导致CPU占用率非常高,所以infinet做了一个优化版本的dnsmasq,把原来的链表查询改为哈希表查询,所以效率高了很多,但是默认只给了openwrt 15.05编译了ipk安装包openwrt 15.05 dnsmasq优化版ipk包下载,但是LEDE 17.01是没有的。

  • 所以笔者自己搭建编译环境,编译好了可以在wndr3800上运行的LEDE版本dnsmasq,下载地址笔者csdn,本来弄成不要分的,结果csdn现在改成最低也要1分。
  • 直接下载好了以后,替换/usr/sbin/dnsmasq就可以了,测试一下是否可以正常运行
root@LEDE:/etc/init.d# dnsmasq -vDnsmasq version   Copyright (c) 2000-2015 Simon KelleyCompile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotifyThis software comes with ABSOLUTELY NO WARRANTY.Dnsmasq is free software, and you are welcome to redistribute itunder the terms of the GNU General Public License, version 2 or 3.
原创粉丝点击