<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dnsmasq on heartnn的自留地</title><link>https://www.heartnn.com/tags/dnsmasq/</link><description>Recent content in Dnsmasq on heartnn的自留地</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><copyright>&amp;copy;2008-2022 heartnn的自留地</copyright><lastBuildDate>Sat, 19 Mar 2016 11:22:58 +0800</lastBuildDate><atom:link href="https://www.heartnn.com/tags/dnsmasq/index.xml" rel="self" type="application/rss+xml"/><item><title>在Android手机中搭建Dnsmasq后续</title><link>https://www.heartnn.com/2015/12/20/dnsmasq-on-android-part-2/</link><pubDate>Sun, 20 Dec 2015 01:21:15 +0800</pubDate><guid>https://www.heartnn.com/2015/12/20/dnsmasq-on-android-part-2/</guid><description>&lt;p>&lt;a href="https://www.heartnn.com/2015/04/26/dnsmasq-on-android/">之前&lt;/a>写了一篇关于如何在Android手机中搭建Dnsmasq的文章，使用起来比较繁琐，现在做一个详细的整理。&lt;/p>
&lt;h3 id="准备工作">准备工作&lt;/h3>
&lt;p>下载&lt;a href="https://www.heartnn.com/uploads/2015/12/dnsmasq.zip">dnsmasq.zip&lt;/a>备用。&lt;/p>
&lt;h3 id="测试系统是否支持initd">测试系统是否支持init.d&lt;/h3>
&lt;p>将下面的代码保存为&lt;code>00test&lt;/code>，放置于&lt;code>/system/etc/init.d&lt;/code>目录。&lt;/p></description></item><item><title>在Android手机中搭建Dnsmasq</title><link>https://www.heartnn.com/2015/04/26/dnsmasq-on-android/</link><pubDate>Sun, 26 Apr 2015 03:53:00 +0800</pubDate><guid>https://www.heartnn.com/2015/04/26/dnsmasq-on-android/</guid><description>&lt;p>网上很久以前就有了在Android下搭建Dnsmasq的方法，不过至少都是两三年前的了，其中也不乏一些编译的方法，需要下载Android源代码，在Linux环境下进行，使得很多人望而却步。&lt;/p>
&lt;p>然而heartnn在逛XDA的时候发现&lt;a href="http://forum.xda-developers.com/showthread.php?t=1658598">某大神发布的已经编译好的版本&lt;/a>，虽然也不是很新的(我甚至不知道版本)，但必须尝试一下。&lt;/p>
&lt;p>需求：Android任意版本(我是在5.1下测试成功的)，手机需root，内核最好支持init.d，如果不支持的话请使用终端或RE管理器启动97dns。&lt;/p>
&lt;p>副作用：替换系统自带Dnsmasq后可能会引起手机自建热点不正常。&lt;/p>
&lt;p>需要说明的是，我并没有按照压缩包里的批处理安装，而是自己手动安装的，因为这样的话可以知道文件的去处，方便卸载。&lt;/p></description></item></channel></rss>