在终端中输入 hostname 返回的信息不是我的信息,怎么回事?
1
xtinput 2022-12-02 14:51:53 +08:00
截图看看
|
3
dearroy 2022-12-02 14:58:23 +08:00 1
https://superuser.com/questions/701259/incorrect-hostname-in-os-x
It's perfectly normal for this to occur; when you login Terminal remotely bash does a reverse DNS lookup. It will only be the same if the hostname is not specified on the network you're connecting from and there is no reply from the DHCP server, or the reverse lookup against the remote DNS server fails to resolve. 很常见,不必惊慌。 |