summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2015-08-28 15:07:49 +1200
committerGarming Sam <garming@samba.org>2016-06-16 04:40:14 +0200
commitf5aaa1ea31c78060cc732a8ee176ca7ac13be865 (patch)
treeda1a340f6fc755e4649120a999f328e42c8b2c73 /selftest/target
parent26b475fb3239e5669a38a054fb42007654898bdf (diff)
downloadsamba-f5aaa1ea31c78060cc732a8ee176ca7ac13be865.tar.gz
selftest: Ensure we write 127. addresses into DNS
The --all-interfaces option is required both with and without the dns_host_file Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'selftest/target')
-rwxr-xr-xselftest/target/Samba4.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index fd1b5756534..4387c8a13f4 100755
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -438,7 +438,7 @@ sub provision_raw_prepare($$$$$$$$$$$)
$ctx->{samba_dnsupdate} = "$ENV{SRCDIR_ABS}/source4/scripting/bin/samba_dnsupdate -s $ctx->{smb_conf} --all-interfaces --use-file=$ctx->{dns_host_file}";
} else {
$ctx->{resolv_conf} = "$ctx->{etcdir}/resolv.conf";
- $ctx->{samba_dnsupdate} = "$ENV{SRCDIR_ABS}/source4/scripting/bin/samba_dnsupdate -s $ctx->{smb_conf}";
+ $ctx->{samba_dnsupdate} = "$ENV{SRCDIR_ABS}/source4/scripting/bin/samba_dnsupdate -s $ctx->{smb_conf} --all-interfaces";
}
$ctx->{tlsdir} = "$ctx->{privatedir}/tls";