pi-hole docker image not working

Constantin

Vampire Pig
Joined
May 19, 2017
Messages
1,829
That guide is old, you should use unbound, packaged with RasPi’s Debian Bullseye. Instructions are on Pi-Hole website.
I’ll double check my install. IIRC, the underlying OS is bullseye lite @ 64 bits, and the pihole install is also the latest - that’s the thing with most raspian install guides, you have to look up the more recent stable versions. Same thing with the tiny CA from small step, that guide is also for a standalone only version whereas the new one features a lot more cool stuff
 

Daisuke

Contributor
Joined
Jun 23, 2011
Messages
1,041
Running pi hole on raspberry pis is overkill
Not for me. :smile:

IMG_3062.jpeg

I’ll double check my install.
Forget about Internet guides. Always rely on Pi-Hole documentation, RasPi Lite 64 + Pihole + unbound is the way to go. Three commands and you are done, cannot be simpler than that.
Code:
# curl -sSL https://install.pi-hole.net | bash
# apt-get -y install unbound
# cat > /etc/unbound/unbound.conf.d/pi-hole.conf << 'EOF'
server:
    verbosity: 0
    interface: 127.0.0.1
    port: 5335
    do-ip4: yes
    do-udp: yes
    do-tcp: yes
    do-ip6: no
    prefer-ip6: no
    harden-glue: yes
    harden-dnssec-stripped: yes
    use-caps-for-id: no
    edns-buffer-size: 1232
    prefetch: yes
    num-threads: 1
    so-rcvbuf: 1m
    private-address: 192.168.0.0/16
    private-address: 169.254.0.0/16
    private-address: 172.16.0.0/12
    private-address: 10.0.0.0/8
    private-address: fd00::/8
    private-address: fe40::/10
    private-address: fe80::/10
EOF

I don't trust any DNS services on my home network, having my own recursive DNS is prime. You don't rely on anyone, but you need redundancy.

I'm done hijacking the thread, sorry guys.
 
Last edited:
Top