[Dnsmasq-discuss] dnsmasq stops working after changing from ppp to dhcp

Simon Kelley simon at thekelleys.org.uk
Sat Dec 24 14:15:54 GMT 2005

Chris Purves wrote:

> Yes, this appeared to be the problem.  When dnsmasq wasn't working I would
> get the following in syslog:
> Dec 22 20:00:11 aurora dnsmasq[1839]: nameserver refused to
> do a recursive query
<snip FAQ>

> By removing the server that does not allow recursive queries from
> /var/run/dnsmasq/resolv.conf, the problem is fixed.  So, I guess I will
> have to manage the nameservers myself.  What I don't understand is why
> dnsmasq doesn't try the next nameserver instead of stopping.

The "recursive query" message is just a warning, because there are 
situations when it's legitimate to forward to a non-recursive 
nameserver. (for instance, forwarding all queries for a domain directly 
to the authoritative nameserver for that domain). If dnsmasq threw away 
such results then that would break valid configurations.



More information about the Dnsmasq-discuss mailing list