Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I can't find this anywhere, but does Pi-Hole have any sort of client side 'reload without blocking' functionality? If I were to implement this in my network and a user has issues with a page not loading/functioning correctly, I feel like they'd need my help to add the site to a white list, which would be pretty inconvenient.


It has an API.

> You can craft a URL that disables pi-hole for X minutes, using the API. You hit the boomark and boom, pi-hole temporarily disabled. If you save it to your phone's home-screen, you've got an instant disable button.


What I'd really like is temporary whitelisting a single domain. Just because I need to use site X for a couple of minutes it doesn't mean I want the flood-gates open.


Wouldn't you have to whitelist multiple domains (30+ for theguardian.co.uk) for a feature like "reload without blocking"?


This is more for the case when a single JS file fails to load from a CDN or things like ReCaptcha. Since it's an API, even if it would have been 30+ those could all still be approved with a single script call.


Man, it would be nice if there were a native app for iOS which you could link to multiple Pi-Holes for easy management and/or Siri Shortcuts. I'd definitely drop a few bucks for that app - and I'm sure a few others would too! Please DM me if anyone is working on it and needs a beta tester via Test Flight.


Pretty sure Shortcuts interacts with APIs, you could just drop that into a “choose from menu” thing when you activate the shortcut


Nice.

There should be a browser plugin to make this convenient. Maybe a good side project?


Rad!


I second this. A firefox plugin that is "on" or "off" would be great. I guess FoxyProxy is close if PiHole can act as a SOCKS proxy to do its blocking. Is that one way it can work?


I guess, you can just use any socks proxy set up not using Pi-Hole DNS and just switch to it whenever you need to disable blocking.


You can do a timed disable (like a pause) from the Pi-hole UI: I've done 5-minute disables to eg. get through purchase check-out flows with tight coupling to trackers.


There's a Firefox addon which can temporarily disable Pi-Hole.


Unfortunately it doesn’t at this point I don’t believe. But as another comment mentions, there is a nice api. Another option would be to create a bash script and create a php page with a form to add a domain to whitelist. I do something similar to whitelist ip’s for dns in iptables. Pi admin uses php so it’s already installed and working.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: