]> git.ipfire.org Git - thirdparty/bind9.git/commit
Obsolete CLAUSEFLAG NEWDEFAULT
authorMatthijs Mekking <matthijs@isc.org>
Tue, 8 Dec 2020 10:37:46 +0000 (11:37 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Tue, 19 Jan 2021 09:12:40 +0000 (10:12 +0100)
commitd5f70b223748eeca1edab3841fcd9a4a3cfb2819
tree713a1896006666fa0cd067b64f1e47f8ded52385
parentdda3a68efcb7172d887daf6a2011262f96f8ce6f
Obsolete CLAUSEFLAG NEWDEFAULT

The 'new default' option was introduced in 2002 to signal that a
default option had changed its default value, in this specific case
the value for 'auth-nxdomain'. However, this default has been unchanged
for 18 years now, and logging that the default has changed does not
have significant value nowadays.

This is also a good example that the clause flag 'new default' is
broken: it is easy to get out of date.

It is also easy to forget, because we have changed the default value
for 'max-stale-ttl' and haven't been flagging it with 'new default'

Also, if the operator cares for a specific value it should set it
explicitly. Using the default is telling the software: use whatever
you think is best, and this may change over time. Default value
changes should be mentioned in the release note, but do not require
further special treatment.
lib/isccfg/include/isccfg/grammar.h
lib/isccfg/namedconf.c
lib/isccfg/parser.c