When updating a while ago, my Pi-hole lost the ability to show host names instead of IP addresses in the admin panel. I was able to overcome this by manually editing some config file.
But after this, my Pi-hole didn’t show the names I assigned to devices in my router, but rather the ones that the devices use for themselves.
For example, before the update, my android tablet was listed as something like ‘tablet.local.domain’ whereas now it is listed as ‘android-38967b82fa5effbe.local.domain’.
The reason might be that the router in fact propagates both names for the device:
pi@rpi:~ $ nslookup 192.168.100.75 188.8.131.52.in-addr.arpa name = Tablet.local.domain. 184.108.40.206.in-addr.arpa name = android-38967b82fa5effbe.local.domain.
Likewise, I only see cryptic names for any other Android device on my network. Unfortunately, I cannot change the name on the tablet itself.
Is there a way to make Pi-hole pick the nicer name, other than resorting to hard-coding names in /etc/hosts ?