[Dnsmasq-discuss] Can dnsmasq do this?

Simon Kelley simon at thekelleys.org.uk
Wed Oct 2 12:13:36 BST 2013

On 30/09/13 16:28, Christopher Murray wrote:
> I have a requirement to direct certain DNS queries to certain servers.
> I'm aware I can configure rules to do this, e.g. domain X ->  server Y.
> Note I also need reverse (PTR) queries to work and I know dnsmasq also
> supports that.
> The problems is (don't ask why ;-), I have up to 50 external DNS servers I
> need to query and the number of rules gets very large since they are
> hosting Active Directory zones.
> instead of explicitly configuring this, is their a way to configure this
> and dnsmasq learns which DNS IP to use, e.g. dnsmasq does parallel queries
> for questions not in its cache to each DNS IP, then once it has a reply
> cached it will only query that IP in future?  I realize the cache needs to
> be large for that to work well.
> Essentially, I'm looking for caching resolver but with parallel queries...
> I think :-)

I'm sure you won't be surprised to hear that dnsmasq can't do this. It's 
pretty much out-of-scope for any DNS software I know of. Potentially 
interesting technique though :)



More information about the Dnsmasq-discuss mailing list