title: Where is dnsmasq.conf in Android phone?
body: <p>In the command line of Android, there are dnsmasq commands. But where are all the config files (dnsmasq.conf, dnsmasq.pid...)?</p>
  
  <p>As far as I try is creating my own configuration files and using the following command:</p>
  
  <pre><code>dnsmasq --conf-file=the/location/of/my/file
  </code></pre>
  
  <p>It says:</p>
  
  <blockquote>
    <p>dnsmasq: failed to open pidfile /var/run/dnsmasq.pid: No such file or directory</p>
  </blockquote>
  
  <p>When I create pid file it says:</p>
  
  <blockquote>
    <p>dnsmasq: failed to open pidfile dnsmasq.pid: Read-only file system</p>
  </blockquote>
  
  <p>Any recommendations on how I can control my dnsmasq (DHCP, DNS server)?</p>