diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-11-23 17:38:31 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-11-23 08:30:34 +0100 |
commit | 95edbc382d8167b59a79a570aff664ba806de809 (patch) | |
tree | 9fbf16dd994e5c940bb5d64b64cd3b8dfc85a6fc /wintest/conf | |
parent | be0f4129a165c0fbfa363f87b52ce733dba4e4bc (diff) | |
download | samba-95edbc382d8167b59a79a570aff664ba806de809.tar.gz |
wintest Evolve wintest to handle it's own BIND nameserver
The changes here start our own copy of BIND, listening on a new
interface that we create at the start of the script. The user must
specify the IP address etc that this interface will have, and BIND and
Samba will bind to that interface only.
This means that we won't conflict with an existing BIND on the system,
so long as it isn't configured to listen on all interfaces.
We also auto-create the /etc/resolv.conf and restore it at the end of
the script, using the existing server value from the script as a
forwarder.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Nov 23 08:30:34 CET 2010 on sn-devel-104
Diffstat (limited to 'wintest/conf')
-rw-r--r-- | wintest/conf/abartlet.conf | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/wintest/conf/abartlet.conf b/wintest/conf/abartlet.conf index a521f75e3c3..ea8a5cfa67e 100644 --- a/wintest/conf/abartlet.conf +++ b/wintest/conf/abartlet.conf @@ -13,14 +13,15 @@ DEBUGLEVEL : 1 VM_POWEROFF : virsh destroy ${VMNAME} VM_RESTORE : virsh snapshot-revert ${VMNAME} ${SNAPSHOT} -# interfaces to listen on -INTERFACES : virbr0 - -DNSSERVER : 192.168.1.172 +# interfaces to create +INTERFACE : virbr0:0 +INTERFACE_IP : 192.168.122.2 +INTERFACE_NET : 192.168.122.0/24 # how to run bind9 -BIND9 : /usr/sbin/named -u named +BIND9 : /usr/sbin/named RNDC : /usr/sbin/rndc +BIND_USER : named # provision information REALM : S4.HOWTO.ABARTLET.NET |