- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hostname changes when connected to AnyConnect?
Our AV management software lists by hostname, and we are getting duplicates for our Mac users. We've traced it down to this: when a Mac user connects to AnyConnect, something is dynamically changing the computer's hostname. See below of before and after disconnecting.
However the local hostname settings in the UI remain constant regardless of his VPN connction status:
How do we get the hostname to stay static?
- Labels:
-
Client VPN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried changing on the client page?
Please, if this post was useful, leave your kudos and mark it as solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Neither the when-connected nor when-disconnected hostname is in the client list. I don't think it's coming from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried filtering by IP?
Please, if this post was useful, leave your kudos and mark it as solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can see his client in the list, but there's no mention anywhere on his connection or his details page of this mystery hostname that VPN gives to his computer when he connects.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Manually update the client device's hostname using the following instructions: https://documentation.meraki.com/General_Administration/Cross-Platform_Content/Rename_a_Client's_Hos... Hostname broadcasted by MDNS gets priority over DHCP and NetBios and hence, the hostname gets updated when the client sends MDNS traffic. Let me know if you have any questions.
Please, if this post was useful, leave your kudos and mark it as solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't care how the client show up on the Meraki dashboard. I am trying to figure out why the hostname on the client itself changes when he connects to the Meraki via AnyConnect, and changes back when he disconnects.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Correct me if i am wrong but I don't see any difference between the two screenshots you posted however the first one is so small I can barely read it.
What AV are you using. I am a Mac user and connect via VPN's constantly and don't have any issue with device hostnames.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First screenshot shows his local hostname to be Davids-MacBook-Pro.local when connected to VPN. When he disconnects, the hostname changes to Davids-MBP.lan. We have no idea where the second value is coming from.
This is not AV related, other than the AV console is how I discovered this weirdness.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hmm it seems like it might be related to DHCP option12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To the best of my knowledge, AnyConnect wont touch the host name - however - it does configure the DNS suffix. Perhaps this is configured via the same API on the Mac.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is the ".lan" suffix present regardless of the network that the user is on?
Is it happening to only this user or all MacOS users?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@BlakeRichardson: We have nothing pushing option 12, but perhaps he does at home?
@Brash: No, the two names are "Davids-MacBook-Pro.local" and "Davids-MBP.lan"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I doubt he would be using that at home. I've just checked and when I connect my mac to a VPN the hostname doesn't change.
Macs use .local so it must be something on your companies end thats doing it.
