Whitelist or blacklist a domain

pihole

  • Terminal interface for the Pi-hole ad-blocking DNS server.
    More information: <https://docs.pi-hole.net/core/pihole-command/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

pihole {{whitelist|blacklist}} {{example.com}}

click the source code to copy