How do I show hostnames instead of IP addresses in the dashboard?

#21

Thanks, but what is the purpose of the “Conditional Forwarding” then?

0 Likes

#22

I am also interested in the answer to this.

0 Likes

#23

The purpose of conditional forwarding is when Pi-hole is not your DHCP server, but you want to automatically have it resolve client hostnames and get their hostnames from their IP address (reverse lookup).

0 Likes

#24

It seems to be working fine, just give it couple minutes to spin up, or enforce new DHCP assignment

0 Likes

#25

Newbie here, thanks for this script, but can I ask where you run it? Just on the pi itself?

0 Likes

#26

Is there another way of doing this without having to edit my /etc/hosts file?

I’m able to see the local hostnames on my system using the mdns-scan command, and resolve them to IP addresses using the avahi-resolve-host-name commands, is it possible to somehow get Pihole to do this?

0 Likes