Re: [Dnsmasq-discuss] Fwd: dnsmasq localise-queries + addn-hosts

2020-03-28 Thread Jake Howard
Hi, My intention is to have 1 dnsmasq instance, accessible over 2 interfaces (listening on all), and have the response to a query differ based on the interface, and therefore its incoming IP. From what i've read, that's exactly what localise-queries is meant to do, but it doesn't appear to be

Re: [Dnsmasq-discuss] [PATCH 1/1] Allow overriding of ubus service name.

2020-03-28 Thread Simon Kelley
Patch applied, thanks. Simon. On 20/03/2020 21:18, Oldřich Jedlička wrote: > Same as for the dbus, allow specifying ubus service name (namespace) on > the command line as an optional argument to --enable-ubus option. > > Signed-off-by: Oldřich Jedlička > --- > man/dnsmasq.8 | 7 +-- >

Re: [Dnsmasq-discuss] NETLINK_NO_ENOBUFS not defined on old platforms

2020-03-28 Thread Simon Kelley
On 20/03/2020 02:18, Roy Marples wrote: > On 19/03/2020 22:01, Simon Kelley wrote: >> http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=0506a5ed4e56863627c54aedad30ad61221292ef >> >> >> >> should handle both old kernel header files and old kernels, in any >> combination. > > I really

Re: [Dnsmasq-discuss] Nameserver dot

2020-03-28 Thread Simon Kelley
On 20/03/2020 14:29, William Edwards wrote: >> This sounds like a bug, doing auth DNS without an auth-server statement >> is a recent addition, and I probably forgot this effect on secondary >> servers. Will take a look in the next day or two. > > No worries. What's important to me is that only

Re: [Dnsmasq-discuss] Fwd: dnsmasq localise-queries + addn-hosts

2020-03-28 Thread Simon Kelley
On 19/03/2020 21:47, Jake Howard wrote: > Hello! > > Is `localise-queries` meant to work against entries added via  > `addn-hosts`? Querying a record returns both IPs, but always in the same  > order. The order is correctly fixed when the records are put in  > `/etc/hosts` directly. Yes,

Re: [Dnsmasq-discuss] SOA serial increase

2020-03-28 Thread Simon Kelley
On 20/03/2020 11:15, William Edwards wrote: > Hi Simon! >> If you don't explicitly set the serial, then it should start at the >> current epoch  time (ie seconds since 1/1/1970) which avoids the problem >> unless you average more than one new DHCP lease per second. > After setting 'auth-server',

Re: [Dnsmasq-discuss] : Dns lookup failures if one of the upstream servers are down

2020-03-28 Thread P Elaborate
On Thu, Mar 26, 2020 at 07:39:21AM -0700, Abhishek Patti wrote: > Hi Everyone > > We are using dnsmasq version 2.80 and have multiple upstream servers > configured, with all-servers flag set. We noticed that if first upstream > server fails then we get dns lookup failures even though other