[Dnsmasq-discuss] Zone transfer fails without any error
Wojtek Swiatek
w at swtk.info
Fri Aug 3 18:26:52 BST 2018
Le ven. 3 août 2018 à 19:18, Simon Kelley <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 swtk.info soa | grep SOA
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 swtk.info soa | grep SOA
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 swtk.info soa | grep SOA
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20180803/a0f04c3f/attachment.html>
More information about the Dnsmasq-discuss
mailing list