Re: [Dnsmasq-discuss] The order of nameservers provided by `server=`

2019-03-25 Thread Geert Stappers
On Tue, Mar 26, 2019 at 01:30:37AM +0800, Fox Haxx wrote: > On Mon, Mar 25, 2019 at 05:19:58PM +, John Robson wrote: > > Does that not only apply to those in /etc/resolv.conf (or the overridden > > file) > > My tests show that it applies to all configured nameservers. > > The man page needs

[Dnsmasq-discuss] Resolve a domain only using whatever nameservers are in resolv-file

2019-03-25 Thread Fox Haxx
I read in the manual that `--server` is intended for private nameservers. However, my use case is the exact opposite. I have `resolv-file` set to `/etc/dnsmasq-resolv.conf`, which is populated with the address of the router by systemd-resolved. But since the router's nameserver is no good, I want

[Dnsmasq-discuss] [PATCH] Improve UBus support

2019-03-25 Thread Jan Willem Janssen
Improve the UBus support in DNSMASQ: - Aligned the handling of UBus connections with the DBus code as it makes it a bit easier to comprehend and allow for automatic reconnects when the connection to UBus drops; - make sure that DNSMASQ can connect to UBus when running as another user than

[Dnsmasq-discuss] The order of nameservers provided by `server=`

2019-03-25 Thread Fox Haxx
Let' say I have this config: server= server= resolv-file=/etc/dnsmasq-resolv.conf strict-order By running dnsmasq with `--log-queries` I discovered that is actually listed above : dnsmasq: using nameserver dnsmasq: using nameserver dnsmasq: using nameserver

Re: [Dnsmasq-discuss] The order of nameservers provided by `server=`

2019-03-25 Thread John Robson
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 wrote: > Let' say I have this config: > > server= > server= > resolv-file=/etc/dnsmasq-resolv.conf > strict-order > > By running dnsmasq

Re: [Dnsmasq-discuss] The order of nameservers provided by `server=`

2019-03-25 Thread Fox Haxx
> Does that not only apply to those in /etc/resolv.conf (or the overridden file) My tests show that it applies to all configured nameservers. The man page needs updating to reflect this, I think. In many places where it refers to /etc/resolv.conf it in fact means all the nameservers. At least

Re: [Dnsmasq-discuss] The order of nameservers provided by `server=`

2019-03-25 Thread Fox Haxx
> Don’t think dnsmasq cares what order they are in, it tests them all and > chooses the fastest to use. By default, true, however, note I used the `strict-order` option. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk

Re: [Dnsmasq-discuss] The order of nameservers provided by `server=`

2019-03-25 Thread John Robson
Does that not only apply to those in /etc/resolv.conf (or the overridden file) On Mon, 25 Mar 2019 at 17:17, Fox Haxx wrote: > > Don’t think dnsmasq cares what order they are in, it tests them all and > chooses the fastest to use. > > By default, true, however, note I used the `strict-order`

Re: [Dnsmasq-discuss] The order of nameservers provided by `server=`

2019-03-25 Thread Fox Haxx
> Let' say I have this config: > > server= > server= > resolv-file=/etc/dnsmasq-resolv.conf > strict-order > > By running dnsmasq with `--log-queries` I discovered that is actually > listed above : > > dnsmasq: using nameserver > dnsmasq: using nameserver > dnsmasq: using nameserver

Re: [Dnsmasq-discuss] The order of nameservers provided by `server=`

2019-03-25 Thread wkitty42
On 3/25/19 12:14 PM, John Robson wrote: Don’t think dnsmasq cares what order they are in, it tests them all and chooses the fastest to use. then what good is "strict-order"?? -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the