Please follow the below template, it will help us to help you!
Im using PiHole 5 for long time and it resolves my local IPs correctly, however I can't make PiHole 6 do the same. I already tried installing Debian + PiHole 6 from scratch, tried importing hole configuration from PiHole 5 and also tried clean Pihole 6 with all settings provided manually (I only imported Adlists and white/balack lists from PiHole 5).
My setup looks looks like that:
- router (OPNSense) 192.168.100.1 works as DNS and DHCP, on the DHCP side it is configured to use PiHole DNS (192.168.100.8).
- PiHole is set to pass the requests to main DNS (router)
- All clients communicate to PiHole and at that point all add lists are filtered, everything else should be (and on 5.x is) passed to router
One strange thing is that even without "Conditional forwarding" PiHole 6 is able to resolve my local network names on the "Query log" and lists, all my local devices are shown with their names regardless if i populate "Condidtional forwarding".
All nslookups from my PC to any devices on my network resolve as NXDOMAIN.
If this for some reason is intended on PiHole 6 I will be force to use PiHole 5 because duplicating DNS records to PiHole is not good idea (but it would probably work).
Pihole 5 and 6 is set up as an lxc container on Debian within Proxmox host. OPNsense router is a VM on the same Proxmox host.
Expected Behaviour:
Resolve my local network names by passing request to my router (DNS/DHCP)
Actual Behaviour:
Pi-Hole always responds with NXDOMAIN for all local domains (abc.lan), with exception of pihole itself (that is configured in local DNS records) and my router domain name (router.lan).
Debug Token:
PiHole 5 = 6dGptH9Q
PiHole 6 = erjqJsAK