Hacker News new | ask | show | jobs
by arthurfm 2238 days ago
> Is there a way to quickly disable/re-enable pihole for the network?

Bookmark the following URL

  http://pi.hole/admin/api.php?disable=120&auth=PWHASH
Replace PWHASH with the value of your WEBPASSWORD in setupVars.conf

  cat /etc/pihole/setupVars.conf | grep 'WEBPASSWORD=' | cut -c13-
and '120' with the number of seconds you want to disable the Pi-hole filtering for.
2 comments

Thank you, I’ve been needing to do this frequently.
What kind of sites, if you don't mind sharing?

I've been using pi-hole for 4 years now and I can remember two situations when I had to disable it - and one of those was cloudflare's fault (PS4 cloud saves don't work with 1.1.1.1 DNS)

If you download minecraft mods they are often hosted behind some forced ad-showing website (ad-fly or something). That can be a problem with pi-hole.
I needed to do this recently for eflorist.co.uk. I was unable to complete checkout without disabling pihole.
Working from home - running reports on google analytics and other marketing tools :)
Do you know if its possible to disable pihole only for the client requesting this, or a specific ip?
Not sure. Sorry.