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.
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.
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
Once you find it, enable it. Click Save & Apply.
Now you should be able to access your local DNS entries again.