Image for

A Bookmark to Temporarily Disable your Pi-hole

I use a Pi-hole on my home network and I love it! It works by configuring your local network to use the Pi-hole as the DNS server, and the Pi-hole refuses to resolve domains of sites you want to block. It usually does a good job of blocking pretty much everything from unwanted trackers to ads and malware. Sometimes, though, it’s annoying because it blocks a link that I wanted to visit. Maybe it’s a sponsored Google link that I want to click, or an Amazon product link, or something else that my Pi-hole is breaking. This can be inconvenient because the usual process to allow traffic is to open my Pi-hole admin page in a new tab, login, and click the link to disable it in the menu. Too much work! So I came up with a slightly easier way. I put a bookmark in my bookmarks toolbar that will disable the Pi-hole for 30 seconds.

Do you want a “Disable Pi-hole” bookmark for your own Pi-hole? You can generate one using the form below! You’ll need the IP address of your own Pi-hole (on your local network). You’ll also need the webpassword, which you can get by sshing to your Pi-hole and running cat /etc/pihole/setupVars.conf. I find the default disable duration of 30s to be good, but you can adjust that as well if you want. Then just save the link as a bookmark (for example, by right-clicking it) and you’re done!

Bookmark this link: Disable Pi-hole (30s)


Did you like this blog post? Why not share it with your network!

About the Author

Mike Kasberg

Mike Kasberg is a senior software engineer at Strava. He enjoys writing about Linux, open source, programming, and tech.