Hello,
I am having an issue with my local domains, that are configured in Pi-hole on my Raspberry Pi with the latest Raspberry Pi OS Lite (64 Bit).
Every single service is working as it should and the normal functionality of Pi-hole also works perfectly, except the local domains.
The pis address is used in my router settings as DNS and Local-DNS Server. I used the same setup like two days ago, but I installed Pi-hole directly on the pi instead of using docker and the local domains worked back then. It is probably an issue with the docker setup and maybe something that i configured wrong since I am pretty new to raspberry pis, docker etc.
Pings from the pi itself work fine but pings from my personal (windows) pc don't work.
My docker container setup is shown below.
The Pi-hole bebug log can be seen here.
I've read that this error is common with raspberry pis and schould not be a problem.
I haven't read anything useful about this error though, but it could possibly be connected to the above.
My router acts as DHCP server, and these are my Pi-hole DNS settings:
disabled
- never forward non-FQDN A and AAAA queries
- never forward reverse lookups for private IP ranges
- use DNSSEC
enabled
- conditional forwarding
- permit all origins
Could it be a problem that all my local domains are pointing at my pi?
raspberry.local / raspberry → 192.168.178.7 (the pis hostname)
vaultwarden.home → 192.168.178.7
nextcloud.home → 192.168.178.7
EDIT:
Using nslookup with a specified DNS server works.
I don't get why it doesn't work without specifying a DNS server since ipconfig returns that the correct DNS server is being used. I also tried to set the DNS server manually which again didn't work.