Resolving Local DNS in Pi-Hole

Nov 28, 2018 · 99 words · 1 minute read pi-hole dns

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!

© Copyright 2024 Mark Arneman

Powered by Hugo, view the source code on GitHub