[Dnsmasq-discuss] Zone transfer fails without any error
Simon Kelley
simon at thekelleys.org.uk
Fri Aug 3 19:58:54 BST 2018
On 03/08/18 18:26, Wojtek Swiatek wrote:
>
>
> Le ven. 3 août 2018 à 19:18, Simon Kelley <simon at thekelleys.org.uk
> <mailto:simon at thekelleys.org.uk>> 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 set in your
> machine?
>
>
> I run it on a "normal" server, the time is maintained via ntp (chrony
> actually).
> The problem is there when I restart dnsmasq as well:
>
> root at srv:~# dig @127.0.0.1 <http://127.0.0.1> swtk.info
> <http://swtk.info> soa | grep SOA
> swtk.info <http://swtk.info>. 600 IN SOA . .
> 15 1200 180 1209600 600
> root at srv:~# systemctl stop dnsmasq.service && systemctl start
> dnsmasq.service
> root at srv:~# dig @127.0.0.1 <http://127.0.0.1> swtk.info
> <http://swtk.info> soa | grep SOA
> swtk.info <http://swtk.info>. 600 IN SOA . . 1
> 1200 180 1209600 600
> root at srv:~# systemctl stop dnsmasq.service && systemctl start
> dnsmasq.service
> root at srv:~# dig @127.0.0.1 <http://127.0.0.1> swtk.info
> <http://swtk.info> soa | grep SOA
> swtk.info <http://swtk.info>. 600 IN SOA . . 1
> 1200 180 1209600 600
> root at srv:~# date +'%s'
> 1533316912
>
> I do not know how the first serial ended up being 15, but a restart sets
> it at 1.
>
> Cheers
> Wojtek
>
What version of dnsmasq are you running?
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list