Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

VMWare Fusion Adapters Register in DNS

Our MAC systems are running Mac OS X version 10.6.8 with VMWare Fusion. We have noticed that these boxes all contain DNS entries for the virtual adapters associated with VMWare Fusion. Can someone shed some light on how Dynamic DNS registration happens on OSx 10.6.8? I have seen references to modifying the smb.conf file isolate the adapters, but that appears to have had no affect. I am not even sure Samba is involved at this point. We would like to restrict Dynamic DNS registration to just en0. The adapters that appear to be causing the problem are vmnet1 and vmnet8.


We have tried modifying the last lines of the smb.conf global section to include the following:


interfaces = eth0

bind interfaces only = yes


This appears to have no impact on the registrations. The key questions here are:


How does OS X decide which adapters to register?

Is Samba the process that performs the registration?

Is the behavior configurable so we can exclude vmnet1 and vmnet8 from Dynamic DNS registration?


Additional Information:

  • Systems are part of a Windows domain
  • DNS Servers are AD integrated Windows 2008 R2 servers.

Mac mini

Posted on Sep 4, 2012 7:30 AM

Reply
6 replies

Sep 4, 2012 11:02 AM in response to OLDGUARDMD

Windows Server DNS implements a connection between DHCP requests and DNS services; check with the Microsoft Windows Server documentation for details of that. Here's how to implement Dynamic DNS (DDNS) on OS X Server. Whether VMware itself gets involved here (and it may), I don't know.


Follow the DHCP reservations around; that's the most likely path for this stuff.


SMB (a port of the Samba server, on this OS X release) is a Windows-specific file and disk storage service, and not particularly connected with DNS or DHCP operations.

Sep 4, 2012 1:21 PM in response to OLDGUARDMD

So we have narrowed this down to the mDNSResponder service. When we stop the service the DNS records are unregistered. When we restart the service the DNS entries are created. We don't see any way in the MAN pages to tell the mDNSResponder service which adapters to register or exclude. Is there a way to exclude vmnet1 or vmnet8 from the adapters that get registered in Dynamic DNS?

Sep 19, 2012 11:48 AM in response to OLDGUARDMD

So one of our techs found a solution that works for us. I am passing it on in case someone else runs into the same problem.


We were unable to find a method of configuring the mDNSResponder service, and we really even failed to find anyone who understood how that service works. On the VMWare side, there is a configuration file that tells VMWare fusion how to configure the virtual switches (VMNET1 and VMNET8). You can have the VMWare virtual switches provide DHCP and NAT translation even if you do not make the switches visible to ifconfig. the file to edit is located at the following location:


/Library/Application\ Support/VMware\ Fusion/networking


Edit the file and change the lines below in red from yes to no. We left DHCP and NAT set to yes, and that seems to allow the system to continue to operate normally even without the virtual adapters associated with the virtual switches.



VERSION=1,0

answer VNET_1_DHCP yes

answer VNET_1_DHCP_CFG_HASH EE9700F0C9D80591CE6A3FD186CC21B6431CDA0A

answer VNET_1_HOSTONLY_NETMASK 255.255.255.0

answer VNET_1_HOSTONLY_SUBNET 192.168.217.0

answer VNET_1_VIRTUAL_ADAPTER no

answer VNET_8_DHCP yes

answer VNET_8_DHCP_CFG_HASH 3F1A8E60BC64C2E12ABE50AF9A9F2BAD75A973A4

answer VNET_8_HOSTONLY_NETMASK 255.255.255.0

answer VNET_8_HOSTONLY_SUBNET 172.16.200.0

answer VNET_8_NAT yes

answer VNET_8_VIRTUAL_ADAPTER no

Feb 5, 2013 1:19 PM in response to OLDGUARDMD

I have the same problem and wanted to thank you for the helpful suggestion.


One caveat is that (at least for a NAT'd guest) I don't see any way to address the guest, so it can't run server processes. Applications on the host cannot route to the guest because they don't see a NIC on its subnet. So you cannot export a file share from the guest, or ssh into it, etc.

VMWare Fusion Adapters Register in DNS

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.