diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2018-07-11 16:30:38 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-07-12 04:31:51 +0200 |
commit | d871e0c84c761877563652558f44d8a3df4c49a3 (patch) | |
tree | aa4763f1017e784d3967fb14448c48c5c92fe733 /lib/param | |
parent | e186d6a06b1b300256a2cb4138f0532d518d0597 (diff) | |
download | samba-d871e0c84c761877563652558f44d8a3df4c49a3.tar.gz |
smb.conf: add dns_zone_scavenging
Add parameter dns_zone_scavenging to control dns zone scavenging.
Scavenging is disabled by default, as due to
https://bugzilla.samba.org/show_bug.cgi?id=12451 the ageing properties of
existing DNS entries are incorrect.
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'lib/param')
-rw-r--r-- | lib/param/loadparm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 75ee6685b72..1debcfff127 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -2778,6 +2778,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx) lpcfg_do_global_parameter(lp_ctx, "nsupdate command", "/usr/bin/nsupdate -g"); lpcfg_do_global_parameter(lp_ctx, "allow dns updates", "secure only"); + lpcfg_do_global_parameter(lp_ctx, "dns zone scavenging", "False"); lpcfg_do_global_parameter(lp_ctx, "dns forwarder", ""); lpcfg_do_global_parameter(lp_ctx, "algorithmic rid base", "1000"); |