Samba will use HOSTNAME and HOSTIP to populate internal DNS To set things up you will first want a new IP on your host machine so that ports don't conflict. A domain controller needs a lot of ports, ...