After upgrade to Ventura I found that I can no longer use the local host name (e.g. pi, pi4main) to access the equipent in LAN.
The following command works:
nslookup <LOCAL_HOSTNAME>
hosts <LOCAL_HOSTNAME>
Following command failed:
ping <LOCAL_HOSTNAME>
ssh <LOCAL_HOSTNAME>
I resolved the issue via suggestions from https://github.com/michthom/AlwaysAppendSearchDomains By running following command:
sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist AlwaysAppendSearchDomains -bool YES