in Pi-hole

Resolving local host names through Pi-hole

I love Pi-hole, it’s a network based ad blocker that reports all DNS Queries.

But, I’ve been having an issue resolving host names on my local domain through the Pi-hole.

I run an active directory/DNS server with all my entries, Pi-hole is the first DNS Provider on my network, and I can resolve the host names on Pi-hole fine. But when I resolve them through the Pi-hole I get no response.

The solution is to add your local domain / DNS to Pi-hole’s DNSMasq.conf

Edit /etc/dnsmasq.d/01-pihole.conf and add:


Now I can resolve all my host names without issue!

Write a Comment