How to get Pi-hole to work with IPv6?

When I initially set up my Pi-Hole, I only had IPv4 on my system. Thus Pi-Hole only downloaded IPv4-capable blacklists.

So I turned IPv6 on on my home router, and enabled DHCPv6.
I turned IPv6 on on my Pi-Hole computer, and rebooted. ip -o addr then showed that I had an

IPv6 address. Actually, it has a couple of addresses which I don’t understand yet.
It still didn’t block IPv6 domain names.

I went into my computer (command line), and edited /etc/pihole/setupVars.conf. There I inserted my IPv6 address at IPV6_ADDRESS=2600:1700:(etc)

I also edited /etc/pihole/pihole-FTL.conf, and added AAAA_QUERY_ANALYSIS=yes.

I restarted pihole-FTL with: systemctl restart pihole-FTL

I went to the Pi-Hole web gui, and turned on DHCPv6 (SLAAC + RA). I turned on the Google IPv6 DNS checkboxes.

I rebooted my system.

I downloaded the blacklists again. This time it included IPv6 entries.

I enjoyed the Internet again. I’m not against ads. I buy stuff that I’ve seen in ads. I do, however, object to being chased all over the Internet. I do not concur. And I do object to having my precious bandwidth consumed. It’s too much, you advertisers. You’ve gone over the line and I’ll be happy to do what I can in my power to ensure I take back a bit of my online experience.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.