Pi-hole

From Han Wiki
Revision as of 14:50, 13 March 2023 by Mhan (talk | contribs) (bypassing pi-hole)

Jump to navigation Jump to search

Update Pi-hole

$ pihole -up

Change web interface admin password

$ pihole -a -p

Allow a specific device to bypass Pi-hole completely

After enabling IPv6, my Nest Hub (2nd gen) was constantly reporting error, or "there was a problem" message, although it would work intermittently. From reading all of the complaints around Google Nest devices and IPv6, I realized it was how DNS request packets were being thrown around. I have Lenovo Smart Display and Google Nest Hub, and Lenovo SD stopped working without IPv6 enabled, so I had a difficult choice to make. Anyway, to make long story short, the solution was to have Nest Hub bypass Pi-hole all together.

Add an entry like this to a new file under <code>/etc/dnsmasq.d/</code>. I named mine <code>07-bypass.conf</code>.

dhcp-option=tag:nopieipv6,option6:dns-server,[2606:4700:4700::1111],[2606:4700:4700::1001]

Then in another file (e.g. 04-pihole-static-dhcp.conf) have an entry like this. Of course, this also reserves 192.168.86.239 for this particular device. Change the MAC address to your device. You can find the MAC address under Device Information for your Nest device in your Google Home app.

dhcp-host=D8:8C:79:4C:BD:93,192.168.86.239,set:nopieipv6,Google-Nest-Hub