[Dnsmasq-discuss] strict-order with no-resolv; multi ignore-address
Dominik Derigs
dl6er at dl6er.de
Sun Jan 9 07:53:13 UTC 2022
Hey Justin,
On Sun, 2022-01-09 at 13:51 +0800, Justin wrote:
> 3)
>
> --all-servers says:
>
> By default, when dnsmasq has more than one up‐
> stream server available, it will send queries to
> just one server.
>
> --strict-order says:
>
> By default, dnsmasq will send queries to any of
> the upstream servers it knows about and tries to
> favour servers that are known to be up.
>
> what on earth is the default behavior?
Both. dnsmasq sends to the one server it prefers. When this
server stops responding, dnsmasq will retry to others.
Furthermore, dnsmasq sends a query to all servers to check again
which one responds fastest ever now (by default ever 20 seconds
or every 50 queries - it is a compile-time setting).
>
>
> On Sun, Jan 9, 2022 at 13:46 Justin <cattyhouse at gmail.com>
> wrote:
> > Hello
> >
> > I have 2 questions:
> >
> > 1)
> >
> > if no-resolv is set, will stric-order apply to
> > server=dns1
> > server=dns2
> > ...
> >
> > on man page, it only mentions /etc/resolv.conf
> >
Yes, strict-order applies to all server configuration, regardless
where it was defined.
> > 2)
> >
> > can i have multiple ignore-address= ?
> >
> >
Yes.
> >
> > --
> >
> > Regards
> > Justin He
Best,
Dominik
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
More information about the Dnsmasq-discuss
mailing list