Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-04 Thread wkitty42
On 08/04/2018 10:41 AM, Simon Kelley wrote: OK, I'm confused about the serial problem. I just tested here, and it works as I described. do you mean that dnsmasq only increments the serial when a SIGHUP is received *OR* it increments the serial any time it is (re)started? -- NOTE: No

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-04 Thread Simon Kelley
OK, I'm confused about the serial problem. I just tested here, and it works as I described. Could you post you complete config here, or mail it direct to me? Cheers, Simon. On 03/08/18 20:02, Wojtek Swiatek wrote: > > > Le ven. 3 août 2018 à 20:58, Simon Kelley

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread Simon Kelley
On 03/08/18 18:26, Wojtek Swiatek wrote: > > > Le ven. 3 août 2018 à 19:18, Simon Kelley > a écrit : > > The serial number is initialised when dnsmasq starts up to the current > time (seconds since 1st Jan 1970). > > >   > > > If your serial

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread Wojtek Swiatek
Le ven. 3 août 2018 à 20:58, Simon Kelley a écrit : > > What version of dnsmasq are you running? > > > 2.79, this is the latest version packaged with Ubuntu bionic (the LTS version from a few weeks ago). It seems to be the latest one if I compare it to your download site. root@srv ~# dnsmasq

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread Wojtek Swiatek
Le ven. 3 août 2018 à 19:18, Simon Kelley a écrit : > The serial number is initialised when dnsmasq starts up to the current > time (seconds since 1st Jan 1970). > > > If your serial starts a one each time dnsmasq starts up then something > is wrong. Maybe dnsmasq is started before the time

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread wkitty42
On 08/03/2018 12:26 PM, Wojtek Swiatek wrote: I know that this is not a signal but a restart of the service (I use signals on a regular basis in my code as well). ok... we (TINW) don't know your level of expertise ;) My understanding is that this is a way to reload the configuration (as

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread Simon Kelley
The serial number is initialised when dnsmasq starts up to the current time (seconds since 1st Jan 1970). This should ensure that it always increases when dnsmasq is restarted. The serial number is also increased by one when /etc/hosts is re-read by sending SIGHUP and when the DHCP lease database

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread Wojtek Swiatek
Le ven. 3 août 2018 à 17:40, a écrit : > > > systemctl restart dnsmasq > > > this is not a SIGHUP... the following is one correct way... it is chosen > for > ease and not needing to find the process' PID... > >pkill -SIGHUP dnsmasq > > > here is another way... slightly more complicated

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread wkitty42
On 08/03/2018 10:29 AM, Wojtek Swiatek wrote: Le ven. 3 août 2018 à 16:24, Simon Kelley a écrit : After you've made changes to /etc/hosts, you need to send SIGHUP to the dnsmasq process to get it to re-read the file. That  should also increment the serial. Changes to DHCP allocated

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread Simon Kelley
On 03/08/18 13:16, Wojtek Swiatek wrote: > > > Le ven. 3 août 2018 à 14:06, Simon Kelley > a écrit : > > > What's the result of doing > > dig @192.168.0.10 SOA swtk.info > > > It looks like that could be

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread Wojtek Swiatek
Le ven. 3 août 2018 à 16:24, Simon Kelley a écrit : > > After you've made changes to /etc/hosts, you need to send SIGHUP to the > dnsmasq process to get it to re-read the file. That should also > increment the serial. Changes to DHCP allocated addresses should also > increment the serial. >

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread Wojtek Swiatek
Le ven. 3 août 2018 à 14:06, Simon Kelley a écrit : > > What's the result of doing > > dig @192.168.0.10 SOA swtk.info > > > It looks like that could be what's failing, rather than the actual zone > transfer. > > Hello Simon After one night spent on the subject I finally managed this morning to

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread Simon Kelley
On 02/08/18 22:15, Wojtek Swiatek wrote: > Hello everyone > > I wanted to set up another DNS server (unfortunately bind as, again > unfortunately, dnsmasq does not support being a secondary server). > > The zone transfer is initiated from the secondary but I see (on that > secondary): > >

[Dnsmasq-discuss] Zone transfer fails without any error

2018-08-02 Thread Wojtek Swiatek
Hello everyone I wanted to set up another DNS server (unfortunately bind as, again unfortunately, dnsmasq does not support being a secondary server). The zone transfer is initiated from the secondary but I see (on that secondary): 02-Aug-2018 23:05:33.160 zone swtk.info/IN: refresh: unexpected