Hi,
Im trying to setup my Pihole to be the primary DNS for Windows clients trying to connect to Active Directory. So far, my search has been less than encouraging to say the least.
What I want to do is have the clients use the PiHole to look for the active Directory. If it doesn't find it, it will forward the request by using "conditional forwarding" to active directory. Active Directory will reply and allow new Windows client to join the Windows Domain Controller.
The current setup is Router (ubiquiti USG-3P) is the DHCP server.
Pihole serves DNS queries for all clients of all O/S's.
Want: Windows Active Directory to be access by new Windows 10/11 clients to be able to join.
If I setup the new clients' DNS to point directly to the Active Directory, it will successfully join. But once I put them back on the PiHole DNS, queries/joins fail.
The Windows server with AD has Windows DNS setup, and those have forwarders set to PiHole, which I think isn't ideal as it could create a "loop". However, if Pihole is setup to "conditionally forward" DNS queries, AD should reply and that will be good.
I've tried the Conditional Forwarding in PiHole as follows:
LocalNetwork IN: 192.168.1.0/24
domain: myhomedomain.home
address of your DHCP server: 192.168.1.1
Other things that I've tried:
- remove (uncheck) the conditional forwarding settings
then use custom upstream and added the Windows AD server IP (192.168.1.17)
Another try was:
add the AD to /etc/hosts as ad.myhomedomain.home ad
Thank you.