Layne_Staley

Q: ARD DNS Name Does not match Name

In ARD Admin 3.5.1, 3.5.2 and 3.6 the listed Client Name and the listed DNS Name don't match.

ion.org-dns.jpg

All clients are 10.6.8v1.1 OS.

I verified that all DNS is showing up correctly on our DHCP server and on our DNS servers.

When I go into Sharing preferences on a client which is showing up with the wrong DNS in ARD, local hostname shows correctly yet under File Sharing is shows access to the client from a web address which is incorrect and from a local hostname which is correct.

So For example, I go into Sharing Preferences and change the name of the computer to TEST123

The local hostname changes to TEST123.local yet under File Sharing: On it says:

Other users can access shared folders on this computer, and administrators all volumes, at afp://XYZ321.domain.org/ or “TEST123”

XYZ312 is a DNS name for another unrelated computer on the network.

When I go into Terminal, Terminal also shows

XYZ321:~ localuser$

When it should say

TEST123:~ localuser$

When I type hostname in terminal it comes back with

XYZ321.domain.org instead of TEST123.domain.org

So how do I fix this issue for 50 computers?

Thanks for any assistance.

Server, Mac OS X (10.6.8), Mac Mini

Posted on Aug 8, 2012 1:56 PM

Close

Q: ARD DNS Name Does not match Name

  • All replies
  • Helpful answers

Previous Page 2
  • by Ehren Schwiebert,

    Ehren Schwiebert Ehren Schwiebert Oct 22, 2013 1:00 PM in response to Layne_Staley
    Level 1 (0 points)
    Oct 22, 2013 1:00 PM in response to Layne_Staley

    TonyPlack's solution for manually editing using Get Info inside of ARD is a nice way to resolve this issue that has been bugging me literally for years.

     

    Apple also has a well-meaning but ultimately unhelpful kbase article here: http://support.apple.com/kb/TS2230

     

    It's unhelpful because it uses the incorrect flag in the systemsetup command. The correct command should be:

     

    systemsetup -setcomputername name

     

    Having this command handy opens the door for creating a function to batch-rename a large group of systems, such as piping in the output of a "scutil --get LocalHostName" command into it (so your ComputerName actually matches up with the Bonjour Name).

     

    Does anybody know who to contact at Apple about getting their faulty kbase article updated?

  • by jwillis44,

    jwillis44 jwillis44 Feb 3, 2014 1:06 PM in response to Layne_Staley
    Level 1 (0 points)
    Feb 3, 2014 1:06 PM in response to Layne_Staley

    I have just made a change to my admin computer that seams to have helped.

     

    so as some above or elsewhere have discribed, delete out the computers in All Computers, run a scanner and re-add them.

     

    after doing that,

    BACKUP then edit the file /SystemLibrary/LaunchDaemons/com.apple.mDNSResponder.plist

    under the ProgramArguments Section, add the string

         <string>-NoMulticastAdvertisements</string>

    Flush Dns

         dscacheutil -flushcache

    restart mDNSResponder

         sudo killall mDNSResponder

     

    Seems that dns and bonjoure have become joined into the mdns service. the above string disables the bonjour part of it. see here http://support.apple.com/kb/HT3789

     

    I hope this continues to work for me and you.

     

    Joe

    http://support.apple.com/kb/HT3789

Previous Page 2