Pi-hole: Difference between revisions

Jump to navigation Jump to search
11 bytes removed ,  13 March 2023
m
reformat
bypassing pi-hole
Tag: visualeditor
m reformat
Line 1: Line 1:
== Update Pi-hole ==
== Update Pi-hole ==


<source lang="console">
<syntaxhighlight lang="console">
$ pihole -up
$ pihole -up
</source>
</source>
Line 7: Line 7:
== Change web interface admin password ==
== Change web interface admin password ==


<source lang="console">
<syntaxhighlight lang="console">
$ pihole -a -p
$ pihole -a -p
</source>
</source>
Line 14: Line 14:
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.
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 <nowiki><code>/etc/dnsmasq.d/</code></nowiki>. I named mine <nowiki><code>07-bypass.conf</code></nowiki>.<syntaxhighlight lang="apacheconf">
Add an entry like this to a new file under <code>/etc/dnsmasq.d/</code>. I named mine <code>07-bypass.conf</code>.
 
<syntaxhighlight lang="apacheconf">
dhcp-option=tag:nopieipv6,option6:dns-server,[2606:4700:4700::1111],[2606:4700:4700::1001]
dhcp-option=tag:nopieipv6,option6:dns-server,[2606:4700:4700::1111],[2606:4700:4700::1001]
</syntaxhighlight>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.<syntaxhighlight lang="apacheconf">
</syntaxhighlight>
 
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.
<syntaxhighlight lang="apacheconf">
dhcp-host=D8:8C:79:4C:BD:93,192.168.86.239,set:nopieipv6,Google-Nest-Hub
dhcp-host=D8:8C:79:4C:BD:93,192.168.86.239,set:nopieipv6,Google-Nest-Hub
</syntaxhighlight>
</syntaxhighlight>

Navigation menu