Please follow the below template, it will help us to help you!
I should be able to
ping pi.hole from a machine connected to my local network.
mella:~ ratkins$ host pi.hole pi.hole has address 192.168.1.2 mella:~ ratkins$ ping pi.hole ping: cannot resolve pi.hole: Unknown host mella:~ ratkins$ ping 192.168.1.2 PING 192.168.1.2 (192.168.1.2): 56 data bytes 64 bytes from 192.168.1.2: icmp_seq=0 ttl=64 time=0.944 ms 64 bytes from 192.168.1.2: icmp_seq=1 ttl=64 time=3.702 ms 64 bytes from 192.168.1.2: icmp_seq=2 ttl=64 time=3.563 ms ^C --- 192.168.1.2 ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.944/2.736/3.702/1.269 ms
I’m using the DHCP server on my router, not the Pi Hole, but I really don’t understand how the above can be happening.
host resolves the name to the correct IP address, I can ping the IP address, but if I ping the hostname it doesn’t resolve?! That doesn’t make any sense.
(Everything else works fine from the machine I’m attempting to send the ping from.)