[Dnsmasq-discuss] SOA serial increase

Simon Kelley simon at thekelleys.org.uk
Fri Mar 20 11:01:44 GMT 2020


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.

Not sure which you are seeing it reseting to zero: no RTC and starting
dnsmasq before running NTP, maybe?


Simon.


On 20/03/2020 08:18, William Edwards wrote:
> 
> Op 20 mrt. 2020 om 00:39 heeft Simon Kelley <simon at thekelleys.org.uk
> <mailto:simon at 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. wedwards at cyberfusion.nl <mailto:wedwards at cyberfusion.nl>
>>>
>>>
>>>
>>>  
>>>
>>> _______________________________________________
>>> Dnsmasq-discuss mailing list
>>> Dnsmasq-discuss at lists.thekelleys.org.uk
>>> <mailto:Dnsmasq-discuss at lists.thekelleys.org.uk>
>>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>>
>>
>>
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> <mailto:Dnsmasq-discuss at lists.thekelleys.org.uk>
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 



More information about the Dnsmasq-discuss mailing list