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:
- First off, I noticed that my pi hole was blocking quite a bit of ad traffic and xxx stuff, but not all, so referencing https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245 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 192.168.0.56 and my secondary is 0.0.0.0
- 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
- 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)”
- Now, referencing https://mangolassi.it/topic/16905/add-porn-blocking-to-your-pi-hole, 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): https://superuser.com/questions/405892/where-can-i-force-a-specific-dns-server-to-be-used-on-os-x