[Dnsmasq-discuss] options for --all-servers?

Petr Menšík pemensik at redhat.com
Tue Sep 29 09:14:57 BST 2020


Hi Matt,

can you describe better, what are you trying to archieve?

DNS protocol is query-response protocol. It should always receive some
reply. I don't think any resolv.conf options are parsed by dnsmasq. It
reads only nameserver or search directives I think.

It is possible to limit some domains and sent them to specific servers.
Can I ask why some servers should be worked around? I think
--server=/special.domain/1.2.3.4 should be used instead to handle
domains, which normal upstream resolvers should not be used.

I think it expects all those servers work the same way. If they don't,
you should try to make them that way. Try making dnsmasq treat only some
of them special way to set of domain(s) only.

Cheers,
Petr

On 9/29/20 4:27 AM, Matt Medland wrote:
> Two questions, if I may,
> 
> 1) when forwarding to upstream servers, if the first query (to one server) times out, it appears to go to all on the next attempt. Doe the value for this timeout come from /etc/resolv.conf by default?
> 
> 2) is there any way to specify that only some queries only go to –all-servers, or is this option global? i.e. is there any combination of options that I can use to say a particular query that matches some patter is sent to all, but others just go (initially) to a single upstream server? The docs and man and forum archives seem to indicate it’s completely global, but I figured I’d ask the experts.
> 
> thanks!
> 
> matt
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 

-- 
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: pemensik at redhat.com
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB




More information about the Dnsmasq-discuss mailing list