Apple Event: May 7th at 7 am PT

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

Apple Remote Desktop 3.7 Displays Multiple IPs

Hi,


I'm running Apple Remote Desktop 3.7 on 10.9. Ever since the update, I've had very hit or miss success in using the program as intended. ARD seems to think that up to 5 machines have the same IP. DHCP on our server isn't handing out the same IP to multiple machines, so why does ARD mark it as such? It is really problematic when I click on a machine to help and a different machine is contacted. Is there a setting somewhere to lock on to MAC addresses or force a flush of the database? Thanks for any help!

User uploaded file

MacBooks, iMacs, Xserves, etc, Mac OS X (10.6.8)

Posted on Nov 15, 2013 12:52 PM

Reply
23 replies

Jan 18, 2014 3:00 AM in response to Paul Fitz

Just to correct an earlier post for clarification - I said the image listing 102 hostnames for the same system was from an export of a computer list - this is incorrect. It was the contents of the main ARD plist located here:


/Users/admin/Library/Containers/com.apple.RemoteDesktop/Data/Library/Preferences /com.apple.RemoteDesktop.plist

Jan 18, 2014 3:11 AM in response to Antonio Rocco

Antonio Rocco wrote:


You may or may not know this but Macs are first and foremost multicast unlike PCs which are unicast. Macs will always try Bonjour (.local) first and then move onto DNS, TCP/IP and whatever else is in the network stack. Hence the reason why you should avoid basing local/private DNS services around a .local TLD.

Actually since 10.6:


"Host names that contain only one label in addition to local, for example "My-Computer.local", are resolved using Multicast DNS (Bonjour) by default. Host names that contain two or more labels in addition to local, for example "server.domain.local", are resolved using a DNS server by default."


And as for avoiding a .local TLD:


"Additionally, Mac OS X v10.6 automatically detects when the local network operator has set up a name server that will answer name requests for a domain ending in ".local". It does this by checking to see if there is a Start Of Authority (SOA) record for the top level domain "local", which is how a DNS server indicates that it claims to have authority over a part of the DNS namespace. As long as the DNS server is properly configured with the required SOA record, Mac OS X v10.6 will detect this SOA record and automatically use this server to look up all host names in the domain."

Jan 18, 2014 6:02 AM in response to Paul Fitz

Hi Paul


I'm aware of these support articles but in practice I very rarely see (if any) networks that take any of this into account. Besides Apple's own implementation of mDNS is not perfect either and even host names that contain two or more labels in addition to .local still cause login problems as well as other random and inexplicable issues.


One thing is for certain you won't ever see a wholly mac-based network environment using it and if you tried it would sooner rather than later die on its feet although I doubt it would ever get off the ground in the first place.


HTH?


Tony

Jan 18, 2014 6:40 AM in response to Russell Lindenschmidt

I appear to have resolved this issue for our deployment by performing the following:


Quit ARD.


Take backup of: /Users/admin/Library/Containers/com.apple.RemoteDesktop/Data/Library/Preferences /com.apple.RemoteDesktop.plist


...then load the original into XCode's property list editor.


Expand 'ComputerDatabase'


I manually checked every computer item for multiple 'hostnames' entries, and multiple 'networkAddresses'. In all cases where multiples were observed (dozens in some cases) I simply deleted the entries. It's apparently safe to delete all entries under 'hostnames' (plural) and 'networkAddresses' leaving the singular 'hostname' and 'networkAddress' entries alone (unless the 'hostname' was conflicting with another, in which case I replaced it with the machine name, followed by our fully qualified internal DNS name).


Also kept an eye out for wrong 'hostname' - in our database quite a few systems had a particular same 'hostname' for some reason (which wasn't even a Mac); those records typically had many multiple entries for hostname and networkAddresses.


Save the file and load ARD.


Now I am able to actually use ARD again - machines are responding and I am able to copy items, execute commands etc.

Mar 11, 2014 9:12 AM in response to Paul Fitz

Paul,

This does fix the problem. What I noticed is that the hostname for many of our machines were the same meanning machine-123.company.local was the hostname for most of my machines. The odd thing is that the hostname was certainly not the original host name that it was added with to ARD as I have deleted the pref for the app and reset all settings and readded everything. I have also cleared DNS and DHCP info before with no luck on fixing it.


Now I just wonder if someone can put a script together to look at the plist file and drop "networkaddresses" and "hostnames" then check "hostname" string and make it match the "name" plus the "company.local".

Apple Remote Desktop 3.7 Displays Multiple IPs

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