Internal LAN DNS

HI I have 2 AD servers on 192.168.3.100 and 192.168.3.101.

My Pi Hole is running on 192.168.3.254

Currently one of the AD servers is running DHCP and DNS is on both, set to forward all requests to the pihole

Resoution works absolutely fine, with Pihole going to 1.1.1.1

Problem I have is that as my DHCP clients are all requesting via the AD boxes and getting it forwarded, all requests come from them whereas I would like them to come from the clients.

I can set the DNS to pi hole in DHCP but that breaks internal resolution.

Is there a recommended way to do this

Many Thanks

Have you tried changing the order and having the request come to Pi-Hole, then use the AD servers as upstream servers for Pi-Hole?

I had a similar problem.
My FritzBox is my DHCP server and Pi-hole my DNS.
On my Windows machine I was not able to ping internal LAN DNS names (which where in /etc/hosts on my Pi).

Solution: Set Conditional Forwarding in the Pi-hole GUI and now it is working fine.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.