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): > > 02-Aug

Re: [Dnsmasq-discuss] FAQ? dhcp-script does not receive any action for Windows 10 dhcp client

2018-08-03 Thread Simon Kelley
Nicolas's suggestion is a good one. The dhcp-script gets called when the DHCP lease database changes. If the DHCP interaction doesn't update the database, it won't get called. A DHCPINFORM query is the most obvious way in which that could happen. Cheers, Simon. On 02/08/18 09:30, Nicolas Cava

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 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. > Tha

Re: [Dnsmasq-discuss] Servfail/bogus with DNSSEC and local unbound TLD

2018-08-03 Thread Simon Kelley
Actually, my previous reply was wrong, you'll need to use the config server=/local.tld/ to make this work. Cheers, Simon. On 03/08/18 14:51, Simon Kelley wrote: > As far as I can tell, the Pihole instructions for configuring Unbound > specify that the local TLD should be configured as not DNS

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 wh

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 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 becaus

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 c

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 ment

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 is

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 --v

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 start