Hi,
My goal is to see hostnames instead of IP addresses in the dashboard.
My pi-hole is running in a container on a RPi3. It is NOT acting as my DHCP server (this one is still on my router).
Following the FAQ post show hostnames instead of IP addresses in the dashboard?, I went into my container (docker exec bash), installed nano in there and edited /etc/hosts.
It works well, I can now see my hostnames instead of IPs on the dashboard.
However, my fear is that next time I'll update my container to get a new pi-hole version, I'll have to redo all this.
Am I right ?
If yes, any way to make the /etc/hosts list persistent ?
Since this file (/etc/pihole/custom.list) was not in the FAQ, I didn't try it.
I directly went with the /etc/hosts as specified.
I'll try with the file you are pointing to, and see if it has the same benefits.
I'd indeed prefer to share the /etc/pihole folder instead of the whole /etc.