I recently changed my routers to Nokia Beacons. Pihole stopped working and so I did a clean reinstall of the Raspberry Pi OS and pihole. But Pihole is still not blocking ads.
I notice that resolv.conf keeps overwriting 127.0.0.1 with 8.8.8.8 every few seconds. I don't know what's doing it, but the file says Generated by resolvconf. Inside those few seconds, the browser is able to resolve pi.hole/admin, but once resolv.conf gets overwritten, I can't get to the pihole admin page unless I use Raspberry Pi IP address.
I've disabled DHCP under LAN on the router admin page and Primary DNS is a blank.
On the Windows PC, ipconfig /all returns this for the wifi:
pi@raspberrypi:~ $ sudo netstat -nltup | grep 'Proto\|:53 \|:5053 \|:5353 \|:5335 \|:8953 \|:67 \|:80 \|:471'
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 10404/lighttpd
tcp6 0 0 :::80 :::* LISTEN 10404/lighttpd
udp 0 0 224.0.0.251:5353 0.0.0.0:* 17259/libpepflashpl
udp 0 0 0.0.0.0:5353 0.0.0.0:* 358/avahi-daemon: r
udp6 0 0 :::5353 :::* 358/avahi-daemon: r
pi@raspberrypi:~ $ sudo service pihole-FTL status
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generated)
Active: failed (Result: exit-code) since Thu 2020-06-25 21:59:50 +08; 10h ago
Docs: man:systemd-sysv-generator(8)
Process: 9579 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=1/FAILURE)
Jun 25 21:59:45 raspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...
Jun 25 21:59:50 raspberrypi pihole-FTL[9579]: .....
Jun 25 21:59:50 raspberrypi pihole-FTL[9579]: Not stopped; may still be shutting down or shutdown may have failed, killing now
Jun 25 21:59:50 raspberrypi systemd[1]: pihole-FTL.service: Control process exited, code=exited, status=1/FAILURE
Jun 25 21:59:50 raspberrypi systemd[1]: pihole-FTL.service: Failed with result 'exit-code'.
Jun 25 21:59:50 raspberrypi systemd[1]: Failed to start LSB: pihole-FTL daemon.
pi@raspberrypi:~ $ cat /var/log/pihole-FTL.log | tail -n75
[2020-06-26 08:56:46.543 620] -> Unknown DNS queries: 223
[2020-06-26 08:56:46.543 620] -> Unique domains: 2323
[2020-06-26 08:56:46.543 620] -> Unique clients: 26
[2020-06-26 08:56:46.543 620] -> Known forward destinations: 2
[2020-06-26 08:56:46.543 620] Successfully accessed setupVars.conf
[2020-06-26 08:56:46.567 633] PID of FTL process: 633
[2020-06-26 08:56:46.568 633] Listening on port 4711 for incoming IPv4 telnet connections
[2020-06-26 08:56:46.568 633] Listening on port 4711 for incoming IPv6 telnet connections
[2020-06-26 08:56:46.569 633] Listening on Unix socket
[2020-06-26 08:56:46.570 633] Reloading DNS cache
[2020-06-26 08:56:46.571 633] Blocking status is enabled
[2020-06-26 08:56:46.610 633] INFO: No regex blacklist entries found
[2020-06-26 08:56:46.611 633] INFO: No regex whitelist entries found
[2020-06-26 08:56:46.629 633] Compiled 0 whitelist and 0 blacklist regex filters in 26.6 msec
[2020-06-26 20:20:57.858 633] Shutting down...
[2020-06-26 20:20:57.862 633] Finished final database update
[2020-06-26 20:20:57.865 633] ########## FTL terminated after 4.105240e+04 s! ##########
[2020-06-26 20:20:58.275 1718] Using log file /var/log/pihole-FTL.log
[2020-06-26 20:20:58.275 1718] ########## FTL started! ##########
[2020-06-26 20:20:58.275 1718] FTL branch: master
[2020-06-26 20:20:58.275 1718] FTL version: v5.0
[2020-06-26 20:20:58.275 1718] FTL commit: 3d7c095
[2020-06-26 20:20:58.275 1718] FTL date: 2020-05-10 18:58:38 +0100
[2020-06-26 20:20:58.275 1718] FTL user: pihole
[2020-06-26 20:20:58.275 1718] Compiled for armhf (compiled on CI) using arm-linux-gnueabihf-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2020-06-26 20:20:58.275 1718] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2020-06-26 20:20:58.275 1718] SOCKET_LISTENING: only local
[2020-06-26 20:20:58.275 1718] AAAA_QUERY_ANALYSIS: Show AAAA queries
[2020-06-26 20:20:58.275 1718] MAXDBDAYS: max age for stored queries is 365 days
[2020-06-26 20:20:58.275 1718] RESOLVE_IPV6: Resolve IPv6 addresses
[2020-06-26 20:20:58.275 1718] RESOLVE_IPV4: Resolve IPv4 addresses
[2020-06-26 20:20:58.275 1718] DBINTERVAL: saving to DB file every minute
[2020-06-26 20:20:58.275 1718] DBFILE: Using /etc/pihole/pihole-FTL.db
[2020-06-26 20:20:58.275 1718] MAXLOGAGE: Importing up to 24.0 hours of log data
[2020-06-26 20:20:58.276 1718] PRIVACYLEVEL: Set to 0
[2020-06-26 20:20:58.276 1718] IGNORE_LOCALHOST: Show queries from localhost
[2020-06-26 20:20:58.276 1718] BLOCKINGMODE: Null IPs for blocked domains
[2020-06-26 20:20:58.276 1718] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2020-06-26 20:20:58.276 1718] DBIMPORT: Importing history from database
[2020-06-26 20:20:58.276 1718] PIDFILE: Using /var/run/pihole-FTL.pid
[2020-06-26 20:20:58.276 1718] PORTFILE: Using /var/run/pihole-FTL.port
[2020-06-26 20:20:58.276 1718] SOCKETFILE: Using /var/run/pihole/FTL.sock
[2020-06-26 20:20:58.276 1718] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2020-06-26 20:20:58.276 1718] MACVENDORDB: Using /etc/pihole/macvendor.db
[2020-06-26 20:20:58.276 1718] GRAVITYDB: Using /etc/pihole/gravity.db
[2020-06-26 20:20:58.276 1718] PARSE_ARP_CACHE: Active
[2020-06-26 20:20:58.276 1718] CNAME_DEEP_INSPECT: Active
[2020-06-26 20:20:58.276 1718] DELAY_STARTUP: No delay requested.
[2020-06-26 20:20:58.276 1718] BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
[2020-06-26 20:20:58.276 1718] Finished config file parsing
[2020-06-26 20:20:58.278 1718] Database version is 5
[2020-06-26 20:20:58.278 1718] Database successfully initialized
[2020-06-26 20:20:58.279 1718] New upstream server: 8.8.4.4 (0/1024)
[2020-06-26 20:20:58.279 1718] New upstream server: 8.8.8.8 (1/1024)
[2020-06-26 20:20:58.285 1718] Resizing "/FTL-strings" from 4096 to 8192
[2020-06-26 20:20:58.296 1718] Resizing "/FTL-strings" from 8192 to 12288
[2020-06-26 20:20:58.413 1718] Imported 1909 queries from the long-term database
[2020-06-26 20:20:58.413 1718] -> Total DNS queries: 1909
[2020-06-26 20:20:58.413 1718] -> Cached DNS queries: 397
[2020-06-26 20:20:58.413 1718] -> Forwarded DNS queries: 1080
[2020-06-26 20:20:58.413 1718] -> Blocked DNS queries: 223
[2020-06-26 20:20:58.413 1718] -> Unknown DNS queries: 209
[2020-06-26 20:20:58.413 1718] -> Unique domains: 359
[2020-06-26 20:20:58.413 1718] -> Unique clients: 9
[2020-06-26 20:20:58.413 1718] -> Known forward destinations: 2
[2020-06-26 20:20:58.413 1718] Successfully accessed setupVars.conf
[2020-06-26 20:20:58.418 1720] PID of FTL process: 1720
[2020-06-26 20:20:58.419 1720] Listening on port 4711 for incoming IPv4 telnet connections
[2020-06-26 20:20:58.419 1720] Listening on port 4711 for incoming IPv6 telnet connections
[2020-06-26 20:20:58.420 1720] Listening on Unix socket
[2020-06-26 20:20:58.421 1720] Reloading DNS cache
[2020-06-26 20:20:58.421 1720] Blocking status is enabled
[2020-06-26 20:20:58.425 1720] INFO: No regex blacklist entries found
[2020-06-26 20:20:58.426 1720] INFO: No regex whitelist entries found
[2020-06-26 20:20:58.431 1720] Compiled 0 whitelist and 0 blacklist regex filters in 6.3 msec
pi@raspberrypi:~ $ sudo service pihole-FTL status
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generated)
Active: active (exited) since Fri 2020-06-26 20:20:58 +08; 1min 2s ago
Docs: man:systemd-sysv-generator(8)
Process: 1688 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
Jun 26 20:20:57 raspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...
Jun 26 20:20:57 raspberrypi pihole-FTL[1688]: Not running
Jun 26 20:20:58 raspberrypi su[1712]: (to pihole) root on none
Jun 26 20:20:58 raspberrypi su[1712]: pam_unix(su:session): session opened for user pihole by (uid=0)
Jun 26 20:20:58 raspberrypi pihole-FTL[1688]: FTL started!
Jun 26 20:20:58 raspberrypi su[1712]: pam_unix(su:session): session closed for user pihole
Jun 26 20:20:58 raspberrypi systemd[1]: Started LSB: pihole-FTL daemon.