4 ms·
Just did that on my mac and it seems to work? $ ping hello.localhost PING hello.localhost (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_
by oulipo 2y ago
Just did that on my mac and it seems to work?
$ ping hello.localhost
PING hello.localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.057 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.162 ms
- Shywim 2y agoNot for me, MacOS 15.4: $ ping hello.localhost ping: cannot resolve hello.localhost: Unknown host
- tedunangst 2y agoThat's because your DNS server sends back 127.0.0.1. The query isn't resolved locally.