Blocking unwanted traffic using a Raspberry Pi

Share Article

As the parent of two young children, and someone who loves removing ads and other “nasty” traffic entirely from my home network, I’d like to document some custom work I recently did with my router:

  1. First off, I noticed that my pi hole was blocking quite a bit of ad traffic and xxx stuff, but not all, so referencing I made sure to define Pi-hole’s IP address as the only DNS entry in my router.  So in my case, my primary DNS address is and my secondary is
  2. In my case I can’t easily disable IPv6 coming from Comcast, so I instead went to my pi hole’s Settings –> DNS tab and configured 2 upstream custom IPV6 DNS servers: 2001:558:feed::1 and 2001:558:feed::2
  3. Finally, I disabled the DHCP server at the router level and instead enabled it via the Pi Hole, being sure to check the box for “Enable IPv6 support (SLAAC + RA)”
  4. Now, referencing, you can block all xxx content from your home router, in addition to all unwanted ads

PS – here’s a helpful post on how to override your DNS settings on the Mac (where they would otherwise be grayed out/determined by your router):

You might also like

North Carolina

North Carolina Itinerary

North Carolina Itinerary Day 1: Arrival in Wilmington Arrive in Wilmington and check into your accommodation in the downtown area. Spend the afternoon exploring the

North Carolina

Redwood National Park

Portland/Redwood National Park Day 1: Arrival in Portland, Oregon Morning: Fly from Denver to Portland International Airport (PDX). Afternoon: Rent a car and drive to