From: Andrew Bartlett Date: Fri, 28 Aug 2015 03:07:49 +0000 (+1200) Subject: selftest: Ensure we write 127. addresses into DNS X-Git-Tag: tdb-1.3.10~839 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5aaa1ea31c78060cc732a8ee176ca7ac13be865;p=thirdparty%2Fsamba.git 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 Reviewed-by: Garming Sam --- 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";