DHCP Option 12 "host name" with wrong value
Dear community
An MBA with Sequoia 15.5 shows a strange behaviour when requesting an IP address for the wifi from the DHCP server.
In the request the host name in option 12 is set to "Mac". The real computer name is in the form abcmba0001 and all the following terminal commands show this name:
hostname
defaults read /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist | grep NetBIOS
defaults read /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist | grep ServerDesc
dsconfigad -show | grep -i 'Computer' | awk -F "= " '{printf $NF}'
nvram -p | grep computer-name
echo "${HOST}"
sudo networksetup -getcomputername
sudo systemsetup -getcomputername
echo 'show State:/Network/NetBIOS' | scutil | grep "RegisteredName"
echo 'show Setup:/System' | scutil | grep "ComputerName "
defaults read /Library/Preferences/SystemConfiguration/preferences.plist System
scutil --get LocalHostName
scutil --get HostName
scutil --get ComputerName
DHCP request for the wired connection have the correct name.
This happens on other MacBooks as well. So we end up with several "Mac.domain.net" entries in our DNS.
The behaviour seems to have started after we updated the MacBooks from Ventura to Seqoia.
Any idea where this "Mac" entry is coming from and how we could change that?
best regards
Roger
MacBook Pro 14″, macOS 15.5