V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  aa65535  ›  全部回复第 2 页 / 共 26 页
回复总数  520
1  2  3  4  5  6  7  8  9  10 ... 26  
2015-02-21 22:27:01 +08:00
回复了 infinet 创建的主题 分享创造 发一个改进版 dnsmasq,含预编译适用于 ar71xx 的 OpenWrt 包
Good job!
这个算性能优化,将 patch 说明清楚的话,作者是没理由不会接受的。
@LazyZhu 意思就是dnsmasq会将「*.google.com」 这个字符串作为一个特定域名,但是现实中是没有这个域名的,所以实现并不是预期。

那个 fork 好像是提升 ipset 性能的,希望可以提交 patch 给作者。
看看代码就知道了

server=/google.com/127.0.0.1#5353 和 server=/.google.com/127.0.0.1#5353
是一样的效果,dnsmasq 会忽略前面的点(不管有多少个),匹配域名为「*.google.com」

server=/*.google.com/127.0.0.1#5353 是错误的写法,因为dnsmasq会将「*.google.com」当做一个域名,但是根本就没有这个域名。

同样适用于 --local --address --rebind-domain-ok 这几个参数的处理。
dnsmasq 有默认配置文件路径的
FreeBSD 是 /usr/local/etc/dnsmasq.conf
其他平台是 /etc/dnsmasq.conf
可以 dnsmasq --help 查看。

PS: 目前 fake ip 已经是随机生成的了 /t/158318
执行 dnsmasq -d -C <config_path> 看报错信息。
2015-02-02 18:46:48 +08:00
回复了 clowwindy 创建的主题 Raspberry Pi Raspberry Pi 2 出了
居然支持 Windows 10
还好没买B+
不过目前淘宝还没货
1  2  3  4  5  6  7  8  9  10 ... 26  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2387 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 37ms · UTC 11:12 · PVG 19:12 · LAX 04:12 · JFK 07:12
Developed with CodeLauncher
♥ Do have faith in what you're doing.