Expected Behaviour:
Pi-hole shows the IP address of my LAN devices even after I added them to the List of Local DNS Records.
I understand I can also edit the /etc/hosts file. But my docker does not have that directory. Closest I find is hosts/custom.list
Actual Behavior:
What is the best solution without having to set Pi-hole to DHCP?
Please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:
pihole -d
or if you run your Pi-hole as a Docker container:
docker exec -it <pihole-container-name-or-id> pihole -d
where you substitute <pihole-container-name-or-id> as required.
Please, post the compose file or docker run command used to start your container.
Two things.
Appears I don't know how to run that properly = ```
docker exec -it pihole -d because when I run it at the terminal of the docker and enter the name of the container it doesn't recognize the command.
But I was able to use an editor and look into the /hosts/custom.list and those entries I created within Pi-hole Local DNS Records are there.
So in two places they are entered, but just the ip's show up in query. Do I need to quit Pi-hole and restart it?
Not sure the reason, maybe there was delay, but it is working now. Host names are now showing up. All I did was open that custom.list file and close it. I am sure that had nothing to do with it, but since my original post, I've just waited it out I guess. Thank you.