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 'auth-server': -- vlan5.hosts.cyberfusion.space. 600 IN SOA . . 1 1200 180 1209600 600 -- With 'auth-server': -- vlan5.hosts.cyberfusion.space. 600 IN SOA vlan5.hosts.cyberfusion.space. hostmaster.vlan5.hosts.cyberfusion.space. 1584702843 1200 180 1209600 600 -- So this seems like a combination of 1) possibly some room for improvement in docs (there is little mention of serials there at all) and 2) working too late at night. William
On 20/03/2020 08:18, William Edwards wrote: > > Op 20 mrt. 2020 om 00:39 heeft Simon Kelley <si...@thekelleys.org.uk > <mailto:si...@thekelleys.org.uk>> 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 '--auth-soa' allows for specifying serial. >> >> It does, but it's optional: dnsmasq will generate one for you. If you do >> specify a serial, it will still get incremented after a new DHCP lease >> is created. > > Thanks. > > I noticed that serial is reset back to 1 when dnsmasq is restarted. This > would cause the serial to be lower on dnsmasq than its slaves after a > restart, even when DHCP leases are handed out and DNS records are added. > > Is this intentional behaviour? > >> >> >> Cheers, >> >> Simon. >> >>> >>> Met vriendelijke groeten, >>> >>> William Edwards >>> T. 040 - 711 44 96 >>> E. wedwa...@cyberfusion.nl <mailto:wedwa...@cyberfusion.nl> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Dnsmasq-discuss mailing list >>> Dnsmasq-discuss@lists.thekelleys.org.uk >>> <mailto:Dnsmasq-discuss@lists.thekelleys.org.uk> >>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss >>> >> >> >> _______________________________________________ >> Dnsmasq-discuss mailing list >> Dnsmasq-discuss@lists.thekelleys.org.uk >> <mailto:Dnsmasq-discuss@lists.thekelleys.org.uk> >> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss