Bask in the glow


Fix local DNS when upgrading pihole and using unbound for your homelab

Now that I’ve gotten my pi-hole instance working, I realized I wasn’t able to load any of my local DNS entries. I have a domain.com that I use for a couple of things that are exposed to the world. Mainly my RSS reader. I also keep a *.lab.domain.com wildcard domain so I can have wiki.lab.domain.com internally so I can make notes to myself without worry about the outside world seeing them.

Well, nothing on my lab subdomain wasn’t loading. It’s DNS. It’s always DNS.

It has been documented by the pi-hole team, but I had no idea where to find these options they showed. V6 – Post release fixes and findings – Pi-hole

Either enable misc.etc_dnsmasq_d to restore the “old” behaviour, or if you have only a few lines you can add them directly to the misc.dnsmasq_lines setting instead. Both of these settings can be found in either the toml file, or on the web interface under All Settings -> Misc

Login to your pi-hole install. You may need to use the IP address instead of the domain name if that’s also broken for you. First, you need to go to the Settings in your pihole. Second, locate the *Basic button and slide it to Expert.

Auto-generated description: A dark interface displays System Settings with a green Basic button on the right. Auto-generated description: A dark interface displays the text System Settings on the left with a red Expert button on the right. The button should be up near the System Settings header.

Once you do this, you will see an extra option under Settings menu, All settings.

Auto-generated description: A dropdown menu displays options for settings such as System, DNS, DHCP, Web interface/API, Privacy, Teleporter, and Local DNS Records.

Moving the slider to Expert is the option I had to figure out on my own, as it wasn’t mentioned when accessing the All settings menu. So I’m telling you now.

Now that you have the menu, click it. On the All Settings page, click Miscellaneous to filter the results. Now look for misc.etc_dnsmasq_d

Auto-generated description: A configuration setting window is displayed, where the option for loading additional dnsmasq configuration files from /etc/dnsmasq.d/ is enabled.

Once you find it, enable it. Click Save & Apply.

Now you should be able to access your local DNS entries again.