Replies: 1 comment
-
when issuing the command sqlite3 /etc/pihole/pihole-FTL.db "select * from client_by_id;" it shows for some of the added clients the name and ip-address: 81|10.0.0.111|samsungtv-woonkamer Dunno why entries also added to /etc/hosts don't show up in this table with ip-address and name. But could be that it hasn't had some recent activity. Will check this out further. So after a restart of pihole previous known entries are still known in pihole itself but others should first be added to /etc/hosts again. There should be a more easy way. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Usually the screen in pihole looks like:
After adding the device under clients as I know what device this is, I hoped that the screen would look like below:
but it only will be shown this way after I have added this device to the /etc/hosts-file and issue the command 'pihole restartdns' .
After a restart of the container, ofcourse the /etc/hosts-file is back to its original, but in one way or another it still shows the devices listed this way. And the ip-address is added to the entry under clients:
Pinging only works if I add my modified hosts-file (or just the additions and stored in a folder outside the container and append it to the hosts-file).
Would be an idea to have it automatically added. Or will it be stored somewhere in the pihole-configs and also looks like when the container is being rebuild, f.e. with a new image.
Beta Was this translation helpful? Give feedback.
All reactions