Don’t think dnsmasq cares what order they are in, it tests them all and
chooses the fastest to use.

On Mon, 25 Mar 2019 at 16:00, Fox Haxx <foxh...@yandex.com> wrote:

> Let' say I have this config:
>
>     server=<ns1>
>     server=<ns2>
>     resolv-file=/etc/dnsmasq-resolv.conf
>     strict-order
>
> By running dnsmasq with `--log-queries` I discovered that <ns2> is actually
> listed above <ns1>:
>
>     dnsmasq: using nameserver <ns2>
>     dnsmasq: using nameserver <ns1>
>     dnsmasq: using nameserver 192.168.1.1#53
>     dnsmasq: read /etc/hosts - 2 addresses
>     dnsmasq: query[A] x.org from 127.0.0.1
>     dnsmasq: forwarded x.org to <ns2>
>     dnsmasq: reply x.org is 131.252.210.176
>
> Which is to say, every `server=` server is _prepended_ to servers list,
> rather
> than _appended_.
>
> I think this is counter-intuitive.
>
> So is this intended?
> Is it documented?
> Should it be changed?
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss@lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to