Answer the question
In order to leave comments, you need to log in
Why is the wrong hostname displayed?
Hello.
I recently noticed that the wrong hostname is displayed in the MacBook Air terminal on my home network.
# Dimko @ 10 in ~ [20:59:50]
$ hostname
10.kuzbassfond.ru
# Dimko @ Kenglab in ~ [20:58:59]
$ hostname
Kenglab
# Dimko @ Kenglab in ~ [21:06:50]
$ cat /etc/resolv.conf
#
# Mac OS X Notice
#
# This file is not used by the host name and address resolution
# or the DNS query routing mechanisms used by most processes on
# this Mac OS X system.
#
# This file is automatically generated.
#
nameserver 192.168.88.1
nameserver 212.75.210.62
nameserver 212.75.211.2
Answer the question
In order to leave comments, you need to log in
The host name / domain is not determined by the IP address, but returned by the DHCP server, to answer your question, you need to look at the router configuration.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question