<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<tt><br>
<br>
On 08/11/2009 09:08 PM, Santiago Zarate wrote:</tt>
<blockquote cite="mid:200908112338.04509.santiago@zarate.net.ve"
 type="cite">
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 16px;" lang="x-western">
  <pre wrap=""><tt>Looks like to me, that in your resolv.conf there's no line pointing to the nameserver 
itself...

Are you sure you have this line: nameserver 127.0.0.1

just in case... restart dnsmasq again 

<span class="moz-smiley-s1" title=":)"><span>:)</span></span>



On Mar 11 Ago 2009 19:00:56 Christ Schlacta escribi&oacute;:
</tt></pre>
  <blockquote type="cite"
 style="font-size: large; color: rgb(0, 0, 153);">
    <pre wrap=""><tt><span class="moz-txt-citetags">&gt; </span>my router running dnsmasq won't query itsself.  any machine on the
<span class="moz-txt-citetags">&gt; </span>network can run "ping oldbaz" and the router will return the proper IP
<span class="moz-txt-citetags">&gt; </span>address and pinging will ensue.  when I run "ping oldbaz" from my
<span class="moz-txt-citetags">&gt; </span>router, no ping love occurs <span
 class="moz-smiley-s2" title=":("><span>:(</span></span>  I've tried a number of things, including
<span class="moz-txt-citetags">&gt; </span>listing 127.0.0.1 and my router's IP address in the resolv.conf file,
<span class="moz-txt-citetags">&gt; </span>and none of it seems to help.
<span class="moz-txt-citetags">&gt;</span></tt></pre>
  </blockquote>
  </div>
</blockquote>
<tt><br>
/etc/resolv.conf must ONLY contain<br>
nameserver 127.0.0.1<br>
<br>
AND<br>
<br>
/etc/dnsmasq.conf&nbsp;&nbsp; must set<br>
<br>
resolv-file=/etc/resolv.dnsmasq<br>
<br>
Or whatever you decide to call that file, which contains the list of
the real nameservers.<br>
<br>
If you do not want to set this in /etc/dnsmasq.conf , then you must<br>
specify it on the command line that starts dnsmasq. In
/etc/init.d/dnsmasq, it is started&nbsp; as<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo -n "Starting dnsmasq: "<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; daemon $dnsmasq $OPTIONS<br>
In my case, it turns out that $OPTIONS is an empty string, and does not
contain my domainname.<br>
<br>
So to specify the resolver file on the command line, just add<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; daemon $dnsmasq -r /etc/resolv.dnsmasq $OPTIONS<br>
<br>
After that<br>
<br>
sudo service dnsmasq restart<br>
<br>
<br>
Good luck<br>
<br>
</tt><br>
</body>
</html>