Hello!
After much hassle with ad-blockers, modded apps, & the like per device, I've decided to jump on the bandwagon & setup a network-wide system once it for all.
I'm using a Raspberry Pi 3B+ running Dietpi [Raspbian Lite (Debain 11)].
I've setup Pi-hole according to the docs (cloning the repo), & on the surface, everything looks to be fine.
The only edit I've made is using NGINX, configured from the docs, & it's working great. I'm able to access Pi-hole from my local network & domain without any issues
Common commands I saw being asked on the forums:-
Pi has been assigned a static IP:
Configuring the Router to use Pi-hole:
My /etc/dhcpcd.conf:
interface eth0
metric 300
static domain_name_servers=127.0.0.1
interface wlan0
metric 200
/etc/resolv.conf:
# Generated by dhcpcd from eth0.dhcp, eth0.ra
# /etc/resolv.conf.head can replace this line
nameserver 127.0.0.1
nameserver fe80::1%eth0
# /etc/resolv.conf.tail can replace this line
ufw status verbose:
Status: active
Logging: off
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skip
To Action From
-- ------ ----
2222/tcp ALLOW IN Anywhere
80 ALLOW IN Anywhere
443 ALLOW IN Anywhere
Anywhere ALLOW IN 192.168.1.0/24
80/tcp ALLOW IN Anywhere
53/tcp ALLOW IN Anywhere
53/udp ALLOW IN Anywhere
67/tcp ALLOW IN Anywhere
67/udp ALLOW IN Anywhere
2222/tcp (v6) ALLOW IN Anywhere (v6)
80 (v6) ALLOW IN Anywhere (v6)
443 (v6) ALLOW IN Anywhere (v6)
80/tcp (v6) ALLOW IN Anywhere (v6)
53/tcp (v6) ALLOW IN Anywhere (v6)
53/udp (v6) ALLOW IN Anywhere (v6)
67/tcp (v6) ALLOW IN Anywhere (v6)
67/udp (v6) ALLOW IN Anywhere (v6)
nslookup pi.hole:
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: pi.hole
Address: 127.0.0.1
Name: pi.hole
Address: ::1
echo ">stats >quit" | nc 127.0.0.1 4711
domains_being_blocked 99443
dns_queries_today 1853
ads_blocked_today 45
ads_percentage_today 2.428494
unique_domains 386
queries_forwarded 1168
queries_cached 594
clients_ever_seen 12
unique_clients 12
dns_queries_all_types 1852
reply_NODATA 135
reply_NXDOMAIN 33
reply_CNAME 146
reply_IP 383
privacy_level 0
status enabled
Still, I've got nothing:
What am I missing? Are there settings I'm yet to configure?
In case my router wasn't using Pi-hole correctly, I've also tried manually adding my Pi as the DNS on my laptop to no avail.
ipconfig /all:
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.2
NetBIOS over Tcpip. . . . . . . . : Enabled
Pretty much fumbling around the dark now, any help would be greatly appreciated!



