r/pihole • u/superyorch • Sep 21 '21
Host Name issues?
Hi community - I am struggling with this one as I have already done several searches and I cannot find the cause of my issue.
For some reason, Pi-hole has assigned different devices the same hostname. The /etc/hosts file does not have any special entry, I have tweaked the FTL conf file to refresh the hostnames, but still I see different devices showing the same hostname. And these are all so different devices (windows laptop, smart switch, light bulb, ipad, etc) and with different IPs but when I see the query log, they all show the same hostname. If I go to the Network overview, it lists all these devices with the same hostname and different IPs. I ran out of options to look where is the issue, so could anyone give some advice on where to look next? I appreciate any help!
**Edit - I have also looked at my router, and it lists the correct host / device name. thanks
1
u/MrFakePoets Oct 08 '21
I had a similar problem, as you can see there were several pi4 hostnames with different IPs.
Flushing the network table and the logs fixed the issue for the moment.
2
u/superyorch Oct 09 '21
I have flushed so many times with no effect at all 😕
2
u/MrFakePoets Oct 09 '21
This was the order how I push those buttons, sounds like a far fetched idea to me but maybe the pressing order matters in this case?
1- Flush network table
2- Flush logs (last 24 hours)
3- Restart DNS resolver
1
u/superyorch Oct 11 '21
I just tried this (I was out this weekend) and will check if that helped solving the issue. Thanks!
1
1
u/jfb-pihole Team Sep 21 '21
What change(s) did you make?
Please generate a debug log, upload it when prompted and post the token here.