incorrect SOA serial representation in: catz: updating catalog zone 'catalog.invalid' with serial -1624016872
Summary
CATZ prints serial number as signed instead of unsigned number. This breaks serials > 2^31.
BIND version used
- Affects v9.18: v9_18_10
- I did not check older versions. Please check if backport is necessary.
Steps to reproduce
Use catalog with serial > 2^31, e.g. 2670950424.
What is the current bug behavior?
Log:
catz: updating catalog zone 'catalog.invalid' with serial -1624016872
What is the expected correct behavior?
Serial 2670950424.
Relevant configuration files
options {
catalog-zones {
zone "catalog.invalid." min-update-interval 1 default-primaries { 2600::; };
};
};
zone "catalog.invalid." {
primaries { 2600::; };
type secondary;
};
Edited by Petr Špaček