brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: pihole disable 5m pauses blocking and turns itself back on

Network and access
~/tips/tip-dns-pihole-disable

pihole disable 5m

Pauses Pi-hole blocking for five minutes, then turns it back on by itself.

Every Pi-hole owner has turned blocking off to get one page to work and then forgot to turn it back on. A timer fixes that.

disable takes a time. When it runs out, Pi-hole resumes blocking by itself.

pihole disable 5m
pihole enable

The docs say the disable command can be given a set time after which blocking is re-enabled automatically. The second command is there for when you are done early. The web interface has the same options in its blocking toggle.

It is my favourite fix for a login or checkout page that depends on a tracker-looking domain. Pause for a few minutes and finish the thing.

Remember that the pause covers the whole network. Everyone at home loses the filter for those minutes. If that bothers you, use an allow rule for the domain instead of a pause, or use groups so only your own device gets the exception.

The dashboard also shows whether blocking is on, which helps when you are not sure someone else in the house paused it. With a timer you rarely need that check.

Further reading: Pi-hole command reference, On this site: pihole -q tells you which list blocks a domain, On this site: use-application-dns.net tells Firefox to leave DoH off

More Network and access tips scp -3 alice@server-a:/var/backups/db.sql.gz bob@server-b:/srv/restore/ tailscale exit-node suggest tailscale lock sign nodekey:1abddef1 tlpub:abcdef12 wg genpsk > peer1.psk Table = off All Network and access tips (163) All topics

Link