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

2020-03-20 Thread Oldřich Jedlička
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 +-- src/config.h | 1 + src/dnsmasq.h | 1 + src/option.c | 14 +++--- src/ubus.c

[Dnsmasq-discuss] [PATCH 0/1] Allow overriding of ubus service name

2020-03-20 Thread Oldřich Jedlička
Hi, Another patch, now adding option to specify the name of ubus service visible by a call to `ubus list`. This is useful when you have more than one dnsmasq instances running -- the ubus service name has to be unique for each instance, otherwise `ubus_add_object` fails. With this patch, it is

Re: [Dnsmasq-discuss] Nameserver dot

2020-03-20 Thread William Edwards
> 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 entries in 'auth-sec-servers' are returned as NS

Re: [Dnsmasq-discuss] SOA serial increase

2020-03-20 Thread William Edwards
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', this behaviour has been 'fixed'. Without

Re: [Dnsmasq-discuss] Nameserver dot

2020-03-20 Thread Simon Kelley
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. Simon. On 20/03/2020 08:25, William Edwards wrote: > >> Op 20 mrt. 2020 om 00:23 heeft Simon Kelley

Re: [Dnsmasq-discuss] SOA serial increase

2020-03-20 Thread Simon Kelley
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. Not sure which you are seeing it reseting to zero: no RTC and starting dnsmasq before running

Re: [Dnsmasq-discuss] SOA serial increase

2020-03-20 Thread William Edwards
> Op 20 mrt. 2020 om 00:39 heeft Simon Kelley het > volgende geschreven: > >> On 19/03/2020 17:28, William Edwards wrote: >> Hello, >> >> Does dnsmasq increase SOA serial when adding a new DNS record after DHCP >> lease is requested? > > Yes. > >> >> I am not sure because docs say

Re: [Dnsmasq-discuss] Nameserver dot

2020-03-20 Thread William Edwards
> Op 20 mrt. 2020 om 00:23 heeft Simon Kelley het > volgende geschreven: > >> On 19/03/2020 17:23, William Edwards wrote: >> Hi, >> >> I have auth-sec-servers set to: >> 'auth-sec-servers=nsauth0.cyberfusion.nl,nsauth1.cyberfusion.be,nsauth2.cyberfusion.nu,nsauth3.cyberfusion.nl' >> >> These

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

2020-03-20 Thread Geert Stappers
On Fri, Mar 20, 2020 at 02:18:18AM +, 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 > >