All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Automated integration tests
- Statement summary and dxplanation of variables in
Syntax
documentation
- Upgraded Python build/test system
- Switched to
argparse
- Variables were superglobal (global over all zones), instead of local
$DEFAULT
wrongly overwrote variables
- Automatically maintain a catalog file
./dnstemple.py
to simplify testing the current version- Will output the domains which were changed, to simplify zone reloads
- Option to skip outputting empty and/or comment lines (starting with
;
) - Allow a constant number as the serial number in
config.serial
- If catalog is changed, output its name first, so that it the name server will learn about potential new domains first
- Default for serial number generation is now
unixtime
. Is much faster thanonline
. Recommended for use with Knot DNS optionzonefile-load: difference-no-serial
. - No more variable expansion in comment lines (referring to a changing variable
such as
_serial
in the comments no longer results in the file considered to have changed) - Comment lines no longer reset the expectation for a label (to avoid wrong
assumptions, after e.g.
$INCLUDE
, a warning is issued, if the first resource record does not have an explicit label) - Warnings go to stderr so that only changed domain names go to stdout
- Support for
$DEFAULT
directive for setting a default value for a variable. (The use of more shell-like substitutions like{variable:-value}
was discarded, as it would have required a variable substitution parser.)
- Install
dnspython
as well when usingpip
.
- First version