Previous 1 2 Next 16 Replies Latest reply: Feb 3, 2014 1:06 PM by jwillis44
Layne_Staley Level 1 Level 1 (0 points)

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
  • Joe Pyrdek Level 1 Level 1 (140 points)

    If you find out how to get the ARD DNS name to be accurate, let me know.  That is is problem for at least the past ten years and probably more.  I have just ignored it since everything works in spite of the incorrect DNS name.

  • TeenTitan Level 4 Level 4 (2,410 points)

    when using the terminal of your effected 'test' machine. have you tried the fallowing commands?

     

    sudo scutil --get HostName

    sudo scutil --get LocalHostName

    sudo scutil --get ComputerName

     

    what do the return?

  • chicster Level 2 Level 2 (200 points)

    just to be sure not overlooking something simple, I can reproduce that behavior by going to System Preferences, Sharing, and leaving Computer Name at the top alone, clicking edit, typing in another name.  This gives me a different computer name than Local Host Name.  Have you confirmed those are the same in System Preferences/Sharing?

  • Layne_Staley Level 1 Level 1 (0 points)

    All 3 commands return the correct name.

    Looking at the "DNS Name" in ARD is not correct.

    So all commands return TEST123.

    When I look at TEST123 in ARD, it shows XYZ321.domain.org for the DNS Name

    TeenTitan wrote:

     

    when using the terminal of your effected 'test' machine. have you tried the fallowing commands?

     

    sudo scutil --get HostName

    sudo scutil --get LocalHostName

    sudo scutil --get ComputerName

     

    what do the return?

  • Layne_Staley Level 1 Level 1 (0 points)

    I was actually hoping there was some way to edit Sharing prefs to fix the issue.

    I tried changing the Local Hostname for troubleshooting via the "Edit..." under Computer Name: and it had no affect on the ARD DNS Name.

    Continuing with my examples above, Sharing Prefs show:

    Computer Name: TEST123

    Computers on your local network can access your computer at: TEST123.local

    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” even when changing the Local Hostname.

     

    Computer Name in ARD: TEST123

    DNS Name in ARD: XYZ321.domain.org

    The DNS Name in ARD does match the "afp://XYZ321.domain.org/" under "File Sharing: On" in the Sharing prefs.

     

     

    Thanks for everyone's input and thanks in advance for any further assistance.

    chicster wrote:

     

    just to be sure not overlooking something simple, I can reproduce that behavior by going to System Preferences, Sharing, and leaving Computer Name at the top alone, clicking edit, typing in another name.  This gives me a different computer name than Local Host Name.  Have you confirmed those are the same in System Preferences/Sharing?

  • chicster Level 2 Level 2 (200 points)

    Layne,

     

    I have several computers in the all computers list that have a different DNS name from computer name.  I guess one question is has it impacted you?  As Joe Pyrdek noted, it doesn't seem to have an effect for what I do.

     

    Now, I know why mine do that - our DNS still has the IP of the computer as a switch on the network, even though that switch no longer uses it.  So it is definitely DNS causing it.  I would look there again.  And, can you temporarily manually give the computer a different IP and see if that resolves the problem OR gives it a still different name?  And if you get info on the computer in ARD, and erase the dns entry, does it come back?

  • Layne_Staley Level 1 Level 1 (0 points)

    I have no idea if it matters actually, yet I have all sorts of weird issues with ARD so I'd like to make sure it's working as expected as much as possible.

    Changing IP addresses and adding a static seems to fix it, so my guess is it's DHCP/DNS related.  I will look there.

    Update: By "fix it", I mean it changes:

    "Other users can access shared folders on this computer, and administrators all volumes, at afp://192.168.111.12 (Actual, correct Static IP) or “ABC123”."

    When I reset to DHCP with a new IP, the old DNS name reappears under:

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

    I can change it manually in ARD, yet I'm unsure how that solves anything...

    Thanks.

  • Layne_Staley Level 1 Level 1 (0 points)

    I guess it isnt a big deal yet I'm always concerned little items like this may be symptoms of a larger issue....

  • Jon P Level 1 Level 1 (85 points)

    Have you tried turning off one of the machines in question and having your DNS Admin delete the DNS record for it, then starting it up to see what populates when it fetches a new lease?

     

    Are these machines mobile?

     

    Do any use any type of VPN?

  • Jon P Level 1 Level 1 (85 points)
  • Layne_Staley Level 1 Level 1 (0 points)

    It doesnt really affect anything and I got Casper Suite now so I can better manage Macs on the network.

    Thanks for your input.

  • Shawn Grinter 2 Level 3 Level 3 (950 points)

    I too had a similar issue and agree it was no big deal but just midly annoying (I guess I'm a****y retentive)

     

    Anyway I did eventually find the answer, well for me anyway :-)

     

    It turns out the DNS name is stored in the profile preference when first added but then never updated again if it is changed, to reset this I deleted the com.apple.RemoteDesktop.plist in my ~/Library/Preferences folder.

     

    The down side on this is that you have to re-set up all your prefernces so you may not consider it worth the bother.

     

    Regards,

    Shawn

  • TonyPlack Level 1 Level 1 (10 points)

    In ARD, if you right-click on the computer and choose Get Info from the list, then click Edit, you can change the DNS Name.  This name comes up when you first add the workstation and is stored in the ARD files.  It is the DNS name at the time of entry, not the current DNS name.

  • Shawn Grinter 2 Level 3 Level 3 (950 points)

    Nice one Tony....

Previous 1 2 Next