samba-tool: add dns zoneoptions for aging control
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Mon, 19 Apr 2021 12:07:50 +0000 (00:07 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Apr 2021 10:04:14 +0000 (10:04 +0000)
commit0f29b8c2fee0d6bcc5b83ef237518539179de465
tree3f389815fb47c8946e33a579c7bede414b3a6b19
parent38fe888f95f8d22736080ed521939be932e7bca0
samba-tool: add dns zoneoptions for aging control

This adds a subcommand for altering zone parameters.

At the moment the only options are related to record aging (a.k.a
scavenging). The code is structured to make it easy to add more
integer or boolean options, but it is not clear that this would be
useful; many other parameters are not used or would only have
deleterious effects.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Apr 21 10:04:14 UTC 2021 on sn-devel-184
python/samba/netcmd/dns.py
python/samba/tests/samba_tool/dnscmd.py