

为什么 ping test.domain 的 ip 会是 127.0.0.1 ,这是 hosts 的什么高级用法嘛?系统是 mac os 12.3.1
1 V1Eerie 2022 年 5 月 22 日 via Android windows 无法复现 |
2 cxtrinityy 2022 年 5 月 22 日 你看你 ping 的结果, placeholder ping statistics, 不知道为啥你 ping test.domain, 会变成 ping placeholder, 要不你把第二行的 placehoder 删掉试试? |
3 wubowen OP @cxtrinityy 迷惑的就是第二行加着 placeholder 的时候,去掉以后当然就符合最常用的 hosts 规则了 |
4 julyclyde 2022 年 5 月 23 日 man hosts 写着呢 For each host a single line should be present with the following information: IP_address canonical_hostname [aliases...] |