Pihole works intermittently

Hi !
I've been using Pihole on a Raspberry Pi3 for several years, and it's been running fine ever since. Well since a few weeks ago.
The pihole isn't set to work permanently as a DNS server so whenever I need to use Pihole' services, I activate an app on my smartphone which forces all traffic to go through my pihole (the app's name is "DNS Changer").
Now, whenever I want to use the pihole' services, sometimes it works. Sometimes it doesn't. I do nothing and try again later and bam! it works again. I don't know why.
When the problem occurs, if I try to reach 192.168.1.XX/admin that does not work
If i try to reach my pihole via Putty that does not work either.
I own a raspberry pi zero, and the behavior is the same with this device.
I should say that when I turn it off and on again (by pulling the plug) it does work well again.
Do you have any idea why it keeps happening ?
Faulty sd card ?
Faulty installation ?
Faulty something ?
Thanks for your help guys.

Expected Behaviour:

Pihole should work 24/7

Actual Behaviour:

Sometimes I can use it, sometimes I can't (without even plugging it off/on)

Debug Token:

*** [ INITIALIZING ]
[i] 2023-09-11:15:36:46 debug log has been initialized.
[i] System has been running for 0 days, 0 hours, 7 minutes

*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

*** [ DIAGNOSING ]: Core version
[✓] Version: v5.17.1
[i] Remotes: origin GitHub - pi-hole/pi-hole: A black hole for Internet advertisements (fetch)
origin GitHub - pi-hole/pi-hole: A black hole for Internet advertisements (push)
[i] Branch: master
[i] Commit: v5.17.1-0-g6a45c6a

*** [ DIAGNOSING ]: Web version
[✓] Version: v5.20.1
[i] Remotes: origin GitHub - pi-hole/web: Pi-hole Dashboard for stats and more (fetch)
origin GitHub - pi-hole/web: Pi-hole Dashboard for stats and more (push)
[i] Branch: master
[i] Commit: v5.20.1-0-g3a11976

*** [ DIAGNOSING ]: FTL version
[✓] Version: v5.23
[i] Branch: master
[i] Commit: d201776e

*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.59

*** [ DIAGNOSING ]: php version
[i] 7.4.33

*** [ DIAGNOSING ]: Operating system
[✓] Distro: Raspbian
[✓] Version: 11
[✓] dig return code: 0
[i] dig response: "Raspbian=10,11 Ubuntu=20,22,23 Debian=10,11,12 Fedora=36,37,38 CentOS=8,9"
[✓] Distro and version supported

*** [ DIAGNOSING ]: SELinux
[i] SELinux not detected

*** [ DIAGNOSING ]: FirewallD
[i] Firewalld service inactive

*** [ DIAGNOSING ]: Processor
[✓] armv7l

*** [ DIAGNOSING ]: Disk usage
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 1.8G 13G 13% /
devtmpfs 333M 0 333M 0% /dev
tmpfs 461M 1.3M 460M 1% /dev/shm
tmpfs 185M 972K 184M 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/mmcblk0p1 255M 51M 205M 20% /boot
tmpfs 93M 0 93M 0% /run/user/1000

*** [ DIAGNOSING ]: Network interfaces and addresses
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:b2:0d:cb brd ff:ff:ff:ff:ff:ff
inet 192.168.1.58/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0
valid_lft 3174sec preferred_lft 2724sec
inet6 2a02:a03f:c81a:7100:971c:c83e:4c6c:6537/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 86376sec preferred_lft 71976sec
inet6 fe80::937f:e6cf:e1b1:d9a3/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:e7:58:9e brd ff:ff:ff:ff:ff:ff
inet 192.168.1.32/24 brd 192.168.1.255 scope global noprefixroute wlan0
valid_lft forever preferred_lft forever
inet6 2a02:a03f:c81a:7100:4acc:a81d:f36a:2d23/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 86377sec preferred_lft 71977sec
inet6 fe80::a133:8d6:18d5:84b1/64 scope link
valid_lft forever preferred_lft forever

*** [ DIAGNOSING ]: Network routing table
default via 192.168.1.1 dev eth0 proto dhcp src 192.168.1.58 metric 202
default via 192.168.1.1 dev wlan0 src 192.168.1.32 metric 303
192.168.1.0/24 dev eth0 proto dhcp scope link src 192.168.1.58 metric 202
192.168.1.0/24 dev wlan0 proto dhcp scope link src 192.168.1.32 metric 303

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the wlan0 interface:
192.168.1.32/24

[✓] IPv6 address(es) bound to the wlan0 interface:
2a02:a03f:c81a:7100:4acc:a81d:f36a:2d23/64
fe80::a133:8d6:18d5:84b1/64

[i] Default IPv4 gateway(s):
192.168.1.1

  • Pinging first gateway 192.168.1.1...
    [✓] Gateway responded.
    [i] Default IPv6 gateway(s):
    fe80::bad9:4dff:fed5:e6db
  • Pinging first gateway fe80::bad9:4dff:fed5:e6db...
    [✓] Gateway responded.

*** [ DIAGNOSING ]: Ports in use
udp:0.0.0.0:37363 is in use by avahi-daemon
[✓] udp:0.0.0.0:53 is in use by pihole-FTL
udp:0.0.0.0:68 is in use by dhcpcd
udp:0.0.0.0:5353 is in use by avahi-daemon
udp::43386 is in use by avahi-daemon
[✓] udp:
:53 is in use by pihole-FTL
udp:*:5353 is in use by avahi-daemon
[✓] tcp:0.0.0.0:80 is in use by lighttpd
[✓] tcp:0.0.0.0:53 is in use by pihole-FTL
tcp:0.0.0.0:22 is in use by sshd
[✓] tcp:127.0.0.1:4711 is in use by pihole-FTL
[✓] tcp:[::]:80 is in use by lighttpd
[✓] tcp:[::]:53 is in use by pihole-FTL
tcp:[::]:22 is in use by sshd
[✓] tcp:[::1]:4711 is in use by pihole-FTL

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] www.kyn3e6.webwave.dev is 0.0.0.0 on lo (127.0.0.1)
[✓] www.kyn3e6.webwave.dev is 0.0.0.0 on eth0 (192.168.1.58)
[✓] www.kyn3e6.webwave.dev is 0.0.0.0 on wlan0 (192.168.1.32)
[✓] doubleclick.com is 172.217.23.206 via a remote, public DNS server (8.8.8.8)

*** [ DIAGNOSING ]: Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
[✓] www.sub.gooradolfolderu.click is :: on lo (::1)
[✓] www.sub.gooradolfolderu.click is :: on eth0 (2a02:a03f:c81a:7100:971c:c83e:4c6c:6537)
[✓] www.sub.gooradolfolderu.click is :: on eth0 (fe80::937f:e6cf:e1b1:d9a3)
[✓] www.sub.gooradolfolderu.click is :: on wlan0 (2a02:a03f:c81a:7100:4acc:a81d:f36a:2d23)
[✓] www.sub.gooradolfolderu.click is :: on wlan0 (fe80::a133:8d6:18d5:84b1)
[✓] doubleclick.com is 2a00:1450:400e:80f::200e via a remote, public DNS server (2001:4860:4860::8888)

*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
Scanning all your interfaces for DHCP servers
Timeout: 10 seconds

  • Received 347 bytes from eth0:192.168.1.1
    DHCPOFFER hardware address did not match our own - ignoring packet (not for us)
    DHCPREQUEST chaddr: b8:27:eb:b2:0d:cb (our MAC address)
    DHCPOFFER chaddr: b8:27:eb:e7:58:9e (response MAC address)

  • Received 347 bytes from wlan0:192.168.1.1
    Offered IP address: 192.168.1.62
    Server IP address: N/A
    Relay-agent IP address: N/A
    BOOTP server: (empty)
    BOOTP file: (empty)
    DHCP options:
    Message type: DHCPOFFER (2)
    server-identifier: 192.168.1.1
    lease-time: 3600 ( 1h )
    netmask: 255.255.255.0
    router: 192.168.1.1
    dns-server: 192.168.1.1
    renewal-time: 1800 ( 30m )
    rebinding-time: 3150 ( 52m 30s )
    broadcast: 192.168.1.255
    ntp-server: 195.13.1.153
    domain-name: "home"
    --- end of options ---

  • Received 347 bytes from eth0:192.168.1.1
    Offered IP address: 192.168.1.49
    Server IP address: N/A
    Relay-agent IP address: N/A
    BOOTP server: (empty)
    BOOTP file: (empty)
    DHCP options:
    Message type: DHCPOFFER (2)
    server-identifier: 192.168.1.1
    lease-time: 3600 ( 1h )
    netmask: 255.255.255.0
    router: 192.168.1.1
    dns-server: 192.168.1.1
    renewal-time: 1800 ( 30m )
    rebinding-time: 3150 ( 52m 30s )
    broadcast: 192.168.1.255
    ntp-server: 195.13.1.153
    domain-name: "home"
    --- end of options ---

  • Received 347 bytes from wlan0:192.168.1.1
    DHCPOFFER hardware address did not match our own - ignoring packet (not for us)
    DHCPREQUEST chaddr: b8:27:eb:e7:58:9e (our MAC address)
    DHCPOFFER chaddr: b8:27:eb:b2:0d:cb (response MAC address)
    DHCP packets received on interface eth0: 1
    DHCP packets received on interface wlan0: 1

*** [ DIAGNOSING ]: Pi-hole processes
[✓] lighttpd daemon is active
[✓] pihole-FTL daemon is active

*** [ DIAGNOSING ]: Pi-hole-FTL full status
● pihole-FTL.service - Pi-hole FTL
Loaded: loaded (/etc/systemd/system/pihole-FTL.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-09-11 15:17:15 CEST; 19min ago
Process: 642 ExecStartPre=/opt/pihole/pihole-FTL-prestart.sh (code=exited, status=0/SUCCESS)
Main PID: 660 (pihole-FTL)
Tasks: 19 (limit: 1595)
CPU: 2.445s
CGroup: /system.slice/pihole-FTL.service
└─660 /usr/bin/pihole-FTL -f

Sep 11 15:17:16 raspberrypi pihole-FTL[660]: [2023-09-11 15:17:15.002 660M] ADDR2LINE: Enabled
Sep 11 15:17:16 raspberrypi pihole-FTL[660]: [2023-09-11 15:17:15.002 660M] REPLY_WHEN_BUSY: Drop queries when the database is busy
Sep 11 15:17:16 raspberrypi pihole-FTL[660]: [2023-09-11 15:17:15.003 660M] BLOCK_TTL: 2 seconds
Sep 11 15:17:16 raspberrypi pihole-FTL[660]: [2023-09-11 15:17:15.003 660M] BLOCK_ICLOUD_PR: Enabled
Sep 11 15:17:16 raspberrypi pihole-FTL[660]: [2023-09-11 15:17:15.003 660M] CHECK_LOAD: Enabled
Sep 11 15:17:16 raspberrypi pihole-FTL[660]: [2023-09-11 15:17:15.003 660M] CHECK_SHMEM: Warning if shared-memory usage exceeds 90%
Sep 11 15:17:16 raspberrypi pihole-FTL[660]: [2023-09-11 15:17:15.003 660M] CHECK_DISK: Warning if certain disk usage exceeds 90%
Sep 11 15:17:16 raspberrypi pihole-FTL[660]: [2023-09-11 15:17:15.003 660M] Finished config file parsing
Sep 11 15:17:16 raspberrypi pihole-FTL[660]: [2023-09-11 15:17:15.004 660M] Creating mutex
Sep 11 15:17:16 raspberrypi pihole-FTL[660]: [2023-09-11 15:17:15.004 660M] Creat

*** [ DIAGNOSING ]: Lighttpd configuration test
[✓] No error in lighttpd configuration

*** [ DIAGNOSING ]: Setup variables
PIHOLE_INTERFACE=wlan0
PIHOLE_DNS_1=208.67.222.222
PIHOLE_DNS_2=208.67.220.220
QUERY_LOGGING=true
INSTALL_WEB_SERVER=true
INSTALL_WEB_INTERFACE=true
LIGHTTPD_ENABLED=true
CACHE_SIZE=10000
DNS_FQDN_REQUIRED=true
DNS_BOGUS_PRIV=true
DNSMASQ_LISTENING=local
BLOCKING_ENABLED=true
TEMPERATUREUNIT=C

*** [ DIAGNOSING ]: Dashboard headers
[✓] Web interface X-Header: X-Pi-hole: The Pi-hole Web interface is working!

*** [ DIAGNOSING ]: Pi-hole FTL Query Database
-rw-rw-r-- 1 pihole pihole 4.0M Sep 11 15:37 /etc/pihole/pihole-FTL.db
[i] Checking integrity of /etc/pihole/pihole-FTL.db ... (this can take several minutes)
[✓] Integrity of /etc/pihole/pihole-FTL.db intact
[i] Checking foreign key constraints of /etc/pihole/pihole-FTL.db ... (this can take several minutes)
[✓] No foreign key errors in /etc/pihole/pihole-FTL.db

*** [ DIAGNOSING ]: Gravity Database
-rw-rw-r-- 1 pihole pihole 14M Sep 10 04:46 /etc/pihole/gravity.db
[i] Checking integrity of /etc/pihole/gravity.db ... (this can take several minutes)
[✓] Integrity of /etc/pihole/gravity.db intact
[i] Checking foreign key constraints of /etc/pihole/gravity.db ... (this can take several minutes)
[✓] No foreign key errors in /etc/pihole/gravity.db

*** [ DIAGNOSING ]: Info table
property value


version 15
updated 1694313971
gravity_count 218064
Last gravity run finished at: Sun Sep 10 04:46:11 CEST 2023

----- First 10 Gravity Domains -----
localhost.localdomain
ck.getcookiestxt.com
eu1.clevertap-prod.com
wizhumpgyros.com
coccyxwickimp.com
webmail-who-int.000webhostapp.com
010sec.com
01mspmd5yalky8.com
0byv9mgbn0.com
ns6.0pendns.org

*** [ DIAGNOSING ]: Groups
id enabled name date_added date_modified description


0 1 Default 2023-06-24 20:51:34 2023-06-24 20:51:34 The default group

*** [ DIAGNOSING ]: Domainlist (0/1 = exact white-/blacklist, 2/3 = regex white-/blacklist)

*** [ DIAGNOSING ]: Clients

*** [ DIAGNOSING ]: Adlists
id enabled group_ids address date_added date_modified comment


1 1 0 https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts 2023-06-24 20:51:35 2023-06-24 20:51:35 Migrated from /etc/pihole/adlists.list

*** [ DIAGNOSING ]: contents of /etc/pihole

-rw-r--r-- 1 root root 0 Jun 24 20:50 /etc/pihole/custom.list

-rw-r--r-- 1 root root 65 Sep 10 04:46 /etc/pihole/local.list

-rw-r--r-- 1 root root 241 Jun 24 20:50 /etc/pihole/logrotate
/var/log/pihole/pihole.log {
su root root
daily
copytruncate
rotate 5
compress
delaycompress
notifempty
nomail
}
/var/log/pihole/FTL.log {
su root root
weekly
copytruncate
rotate 3
compress
delaycompress
notifempty
nomail
}

-rw-rw-r-- 1 pihole root 127 Jun 24 20:51 /etc/pihole/pihole-FTL.conf
PRIVACYLEVEL=0

-rw-r--r-- 1 root root 325 Sep 11 15:30 /etc/pihole/versions
CORE_VERSION=v5.17.1
CORE_BRANCH=master
CORE_HASH=6a45c6a8
GITHUB_CORE_VERSION=v5.17.1
GITHUB_CORE_HASH=fef2861e
WEB_VERSION=v5.20.1
WEB_BRANCH=master
WEB_HASH=3a11976e
GITHUB_WEB_VERSION=v5.20.1
GITHUB_WEB_HASH=41682f17
FTL_VERSION=v5.23
FTL_BRANCH=master
FTL_HASH=d201776e
GITHUB_FTL_VERSION=v5.23
GITHUB_FTL_HASH=1a114133

*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d

-rw-r--r-- 1 root root 1.4K Jun 24 20:51 /etc/dnsmasq.d/01-pihole.conf
addn-hosts=/etc/pihole/local.list
addn-hosts=/etc/pihole/custom.list
localise-queries
no-resolv
log-queries
log-facility=/var/log/pihole/pihole.log
log-async
cache-size=10000
server=208.67.222.222
server=208.67.220.220
domain-needed
expand-hosts
bogus-priv
local-service

-rw-r--r-- 1 root root 2.2K Jun 24 20:50 /etc/dnsmasq.d/06-rfc6761.conf
server=/test/
server=/localhost/
server=/invalid/
server=/bind/
server=/onion/

*** [ DIAGNOSING ]: contents of /etc/lighttpd

-rw-r--r-- 1 root root 2.2K Jan 19 2022 /etc/lighttpd/lighttpd.conf
server.modules = (
"mod_indexfile",
"mod_access",
"mod_alias",
"mod_redirect",
)
server.document-root = "/var/www/html"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 80
server.feature-flags += ("server.h2proto" => "enable")
server.feature-flags += ("server.h2c" => "enable")
server.feature-flags += ("server.graceful-shutdown-timeout" => 5)
server.http-parseopts = (
"header-strict" => "enable",# default
"host-strict" => "enable",# default
"host-normalize" => "enable",# default
"url-normalize-unreserved"=> "enable",# recommended highly
"url-normalize-required" => "enable",# recommended
"url-ctrls-reject" => "enable",# recommended
"url-path-2f-decode" => "enable",# recommended highly (unless breaks app)
"url-path-dotseg-remove" => "enable",# recommended highly (unless breaks app)
)
index-file.names = ( "index.php", "index.html" )
url.access-deny = ( "~", ".inc" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.conf.pl"
include "/etc/lighttpd/conf-enabled/*.conf"
server.modules += (
"mod_dirlisting",
"mod_staticfile",
)

*** [ DIAGNOSING ]: contents of /etc/lighttpd/conf.d
/etc/lighttpd/conf.d does not exist.

*** [ DIAGNOSING ]: contents of /etc/lighttpd/conf-enabled
total 0
lrwxrwxrwx 1 root root 32 Jun 24 20:50 05-setenv.conf -> ../conf-available/05-setenv.conf
lrwxrwxrwx 1 root root 35 Jun 24 20:50 10-accesslog.conf -> ../conf-available/10-accesslog.conf
lrwxrwxrwx 1 root root 33 Jun 24 20:50 10-fastcgi.conf -> ../conf-available/10-fastcgi.conf
lrwxrwxrwx 1 root root 38 Jun 24 20:50 15-pihole-admin.conf -> ../conf-available/15-pihole-admin.conf
lrwxrwxrwx 1 root root 38 Jun 24 20:45 99-unconfigured.conf -> ../conf-available/99-unconfigured.conf

lrwxrwxrwx 1 root root 38 Jun 24 20:50 /etc/lighttpd/conf-enabled/15-pihole-admin.conf -> ../conf-available/15-pihole-admin.conf
server.errorlog := "/var/log/lighttpd/error-pihole.log"
$HTTP["url"] =~ "^/admin/" {
server.document-root = "/var/www/html"
server.stream-response-body = 1
accesslog.filename = "/var/log/lighttpd/access-pihole.log"
accesslog.format = "%{%s}t|%h|%V|%r|%s|%b"
fastcgi.server = (
".php" => (
"localhost" => (
"socket" => "/run/lighttpd/pihole-php-fastcgi.socket",
"bin-path" => "/usr/bin/php-cgi",
"min-procs" => 1,
"max-procs" => 1,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "4",
"PHP_FCGI_MAX_REQUESTS" => "10000",
),
"bin-copy-environment" => (
"PATH", "SHELL", "USER"
),
"broken-scriptfilename" => "enable",
)
)
)
setenv.add-response-header = (
"X-Pi-hole" => "The Pi-hole Web interface is working!",
"X-Frame-Options" => "DENY",
"X-XSS-Protection" => "0",
"X-Content-Type-Options" => "nosniff",
"Content-Security-Policy" => "default-src 'self' 'unsafe-inline';",
"X-Permitted-Cross-Domain-Policies" => "none",
"Referrer-Policy" => "same-origin"
)
$HTTP["url"] =~ "^/admin/." {
url.access-deny = ("")
}
$HTTP["url"] =~ "/(teleporter|api_token).php$" {
$HTTP["referer"] =~ "/admin/settings.php" {
setenv.set-response-header = ( "X-Frame-Options" => "SAMEORIGIN" )
}
}
}
else $HTTP["url"] == "/admin" {
url.redirect = ("" => "/admin/")
}
$HTTP["host"] == "pi.hole" {
$HTTP["url"] == "/" {
url.redirect = ("" => "/admin/")
}
}
server.modules += ( "mod_access", "mod_accesslog", "mod_redirect", "mod_fastcgi", "mod_setenv" )

*** [ DIAGNOSING ]: contents of /etc/cron.d

-rw-r--r-- 1 root root 1.7K Jun 24 20:50 /etc/cron.d/pihole
46 4 * * 7 root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updateGravity >/var/log/pihole/pihole_updateGravity.log || cat /var/log/pihole/pihole_updateGravity.log
00 00 * * * root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole flush once quiet
reboot root /usr/sbin/logrotate --state /var/lib/logrotate/pihole /etc/pihole/logrotate
21 14 * * * root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker
reboot root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker reboot

*** [ DIAGNOSING ]: contents of /var/log/lighttpd

-rw-r--r-- 1 www-data www-data 351 Sep 11 15:17 /var/log/lighttpd/error-pihole.log
-----head of error-pihole.log------
2023-09-10 00:00:22: server.c.1787) logfiles cycled UID = 0 PID = 23457
2023-09-10 09:41:41: server.c.1513) server started (lighttpd/1.4.59)
2023-09-10 09:56:09: server.c.1513) server started (lighttpd/1.4.59)
2023-09-11 00:00:14: server.c.1787) logfiles cycled UID = 0 PID = 25917
2023-09-11 15:17:17: server.c.1513) server started (lighttpd/1.4.59)

-----tail of error-pihole.log------
2023-09-10 00:00:22: server.c.1787) logfiles cycled UID = 0 PID = 23457
2023-09-10 09:41:41: server.c.1513) server started (lighttpd/1.4.59)
2023-09-10 09:56:09: server.c.1513) server started (lighttpd/1.4.59)
2023-09-11 00:00:14: server.c.1787) logfiles cycled UID = 0 PID = 25917
2023-09-11 15:17:17: server.c.1513) server started (lighttpd/1.4.59)

*** [ DIAGNOSING ]: contents of /var/log/pihole

-rw-r--r-- 1 pihole pihole 5.9K Sep 11 15:17 /var/log/pihole/FTL.log
-----head of FTL.log------
[2023-09-11 15:17:15.999 660M] Using log file /var/log/pihole/FTL.log
[2023-09-11 15:17:15.999 660M] ########## FTL started on raspberrypi! ##########
[2023-09-11 15:17:15.999 660M] FTL branch: master
[2023-09-11 15:17:15.999 660M] FTL version: v5.23
[2023-09-11 15:17:15.999 660M] FTL commit: d201776e
[2023-09-11 15:17:15.000 660M] FTL date: 2023-05-28 11:55:26 +0100
[2023-09-11 15:17:15.000 660M] FTL user: pihole
[2023-09-11 15:17:15.000 660M] Compiled for armv6hf (compiled on CI) using arm-linux-gnueabihf-gcc (GCC) 10.3.0
[2023-09-11 15:17:15.000 660M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2023-09-11 15:17:15.000 660M] SOCKET_LISTENING: only local
[2023-09-11 15:17:15.000 660M] AAAA_QUERY_ANALYSIS: Show AAAA queries
[2023-09-11 15:17:15.000 660M] MAXDBDAYS: max age for stored queries is 365 days
[2023-09-11 15:17:15.000 660M] RESOLVE_IPV6: Resolve IPv6 addresses
[2023-09-11 15:17:15.000 660M] RESOLVE_IPV4: Resolve IPv4 addresses
[2023-09-11 15:17:15.000 660M] DBINTERVAL: saving to DB file every minute
[2023-09-11 15:17:15.000 660M] DBFILE: Using /etc/pihole/pihole-FTL.db
[2023-09-11 15:17:15.000 660M] MAXLOGAGE: Importing up to 24.0 hours of log data
[2023-09-11 15:17:15.000 660M] PRIVACYLEVEL: Set to 0
[2023-09-11 15:17:15.000 660M] IGNORE_LOCALHOST: Show queries from localhost
[2023-09-11 15:17:15.000 660M] BLOCKINGMODE: Null IPs for blocked domains
[2023-09-11 15:17:15.000 660M] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2023-09-11 15:17:15.001 660M] DBIMPORT: Importing history from database
[2023-09-11 15:17:15.001 660M] PIDFILE: Using /run/pihole-FTL.pid
[2023-09-11 15:17:15.001 660M] SOCKETFILE: Using /run/pihole/FTL.sock
[2023-09-11 15:17:15.001 660M] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2023-09-11 15:17:15.001 660M] MACVENDORDB: Using /etc/pihole/macvendor.db
[2023-09-11 15:17:15.001 660M] GRAVITYDB: Using /etc/pihole/gravity.db
[2023-09-11 15:17:15.001 660M] PARSE_ARP_CACHE: Active
[2023-09-11 15:17:15.001 660M] CNAME_DEEP_INSPECT: Active
[2023-09-11 15:17:15.001 660M] DELAY_STARTUP: No delay requested.
[2023-09-11 15:17:15.001 660M] BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
[2023-09-11 15:17:15.001 660M] NICE: Set process niceness to -10 (default)
[2023-09-11 15:17:15.001 660M] MAXNETAGE: Removing IP addresses and host names from network table after 365 days
[2023-09-11 15:17:15.001 660M] NAMES_FROM_NETDB: Enabled, trying to get names from network database
[2023-09-11 15:17:15.001 660M] EDNS0_ECS: Overwrite client from ECS information

-----tail of FTL.log------
[2023-09-11 15:17:15.003 660M] BLOCK_TTL: 2 seconds
[2023-09-11 15:17:15.003 660M] BLOCK_ICLOUD_PR: Enabled
[2023-09-11 15:17:15.003 660M] CHECK_LOAD: Enabled
[2023-09-11 15:17:15.003 660M] CHECK_SHMEM: Warning if shared-memory usage exceeds 90%
[2023-09-11 15:17:15.003 660M] CHECK_DISK: Warning if certain disk usage exceeds 90%
[2023-09-11 15:17:15.003 660M] Finished config file parsing
[2023-09-11 15:17:15.004 660M] Creating mutex
[2023-09-11 15:17:15.004 660M] Creating mutex
[2023-09-11 15:17:15.007 660M] PID of FTL process: 660
[2023-09-11 15:17:16.025 660M] Database version is 12
[2023-09-11 15:17:16.025 660M] Resizing "FTL-strings" from 40960 to (81920 * 1) == 81920 (/dev/shm: 1.2MB used, 483.4MB total, FTL uses 1.2MB)
[2023-09-11 15:17:16.028 660M] Imported 0 alias-clients
[2023-09-11 15:17:16.028 660M] Database successfully initialized
[2023-09-11 15:17:16.097 660M] New upstream server: 208.67.222.222:53 (0/1024)
[2023-09-11 15:17:16.099 660M] New upstream server: 208.67.220.220:53 (1/1024)
[2023-09-11 15:17:16.131 660M] Imported 382 queries from the long-term database
[2023-09-11 15:17:16.131 660M] -> Total DNS queries: 382
[2023-09-11 15:17:16.132 660M] -> Cached DNS queries: 56
[2023-09-11 15:17:16.132 660M] -> Forwarded DNS queries: 223
[2023-09-11 15:17:16.132 660M] -> Blocked DNS queries: 75
[2023-09-11 15:17:16.132 660M] -> Unknown DNS queries: 15
[2023-09-11 15:17:16.132 660M] -> Unique domains: 112
[2023-09-11 15:17:16.132 660M] -> Unique clients: 3
[2023-09-11 15:17:16.132 660M] -> Known forward destinations: 2
[2023-09-11 15:17:16.132 660M] Successfully accessed setupVars.conf
[2023-09-11 15:17:16.139 660M] listening on 0.0.0.0 port 53
[2023-09-11 15:17:16.139 660M] listening on :: port 53
[2023-09-11 15:17:16.140 660M] PID of FTL process: 660
[2023-09-11 15:17:16.141 660M] Listening on port 4711 for incoming IPv4 telnet connections
[2023-09-11 15:17:16.141 660M] Listening on port 4711 for incoming IPv6 telnet connections
[2023-09-11 15:17:16.142 660M] Listening on port 4711 for incoming socket telnet connections
[2023-09-11 15:17:16.143 660M] INFO: FTL is running as user pihole (UID 999)
[2023-09-11 15:17:16.145 660M] Reloading DNS cache
[2023-09-11 15:17:16.257 660/T677] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 4.2 msec
[2023-09-11 15:17:16.258 660/T677] Blocking status is enabled

*** [ DIAGNOSING ]: contents of /dev/shm
total 1.3M
-rw------- 1 pihole pihole 324K Sep 11 15:36 FTL-clients
-rw------- 1 pihole pihole 248 Sep 11 15:17 FTL-counters
-rw------- 1 pihole pihole 4.0K Sep 11 15:17 FTL-dns-cache
-rw------- 1 pihole pihole 20K Sep 11 15:17 FTL-domains
-rw------- 1 pihole pihole 56 Sep 11 15:17 FTL-lock
-rw------- 1 pihole pihole 12K Sep 11 15:17 FTL-overTime
-rw------- 1 pihole pihole 4.0K Sep 11 15:17 FTL-per-client-regex
-rw------- 1 pihole pihole 176K Sep 11 15:17 FTL-queries
-rw------- 1 pihole pihole 16 Sep 11 15:17 FTL-settings
-rw------- 1 pihole pihole 80K Sep 11 15:17 FTL-strings
-rw------- 1 pihole pihole 604K Sep 11 15:17 FTL-upstreams

*** [ DIAGNOSING ]: contents of /etc

-rw-r--r-- 1 root root 24 Jun 24 20:50 /etc/dnsmasq.conf
conf-dir=/etc/dnsmasq.d

-rw-r--r-- 1 root root 102 Sep 11 15:17 /etc/resolv.conf
domain home
nameserver 192.168.1.1
nameserver fdaa:fbbc:bfdd:eef0:ff:f1d0::

*** [ DIAGNOSING ]: Pi-hole diagnosis messages

*** [ DIAGNOSING ]: Locale
LANG=

*** [ DIAGNOSING ]: Pi-hole log
-rw-r----- 1 pihole pihole 29K Sep 11 15:36 /var/log/pihole/pihole.log
-----head of pihole.log------
Sep 11 08:45:27 dnsmasq[458]: query[AAAA] android-context-data.googleapis.com from 192.168.1.7
Sep 11 08:45:27 dnsmasq[458]: forwarded android-context-data.googleapis.com to 208.67.222.222
Sep 11 08:45:27 dnsmasq[458]: forwarded android-context-data.googleapis.com to 208.67.220.220
Sep 11 08:45:27 dnsmasq[458]: query[A] android-context-data.googleapis.com from 192.168.1.7
Sep 11 08:45:27 dnsmasq[458]: forwarded android-context-data.googleapis.com to 208.67.222.222
Sep 11 08:45:27 dnsmasq[458]: query[A] mtalk.google.com from 192.168.1.7
Sep 11 08:45:27 dnsmasq[458]: forwarded mtalk.google.com to 208.67.222.222
Sep 11 08:45:27 dnsmasq[458]: reply android-context-data.googleapis.com is 2a00:1450:400e:805::200a
Sep 11 08:45:27 dnsmasq[458]: reply android-context-data.googleapis.com is 2a00:1450:400e:80d::200a
Sep 11 08:45:27 dnsmasq[458]: reply android-context-data.googleapis.com is 2a00:1450:400e:810::200a
Sep 11 08:45:27 dnsmasq[458]: reply android-context-data.googleapis.com is 2a00:1450:400e:801::200a
Sep 11 08:45:27 dnsmasq[458]: reply android-context-data.googleapis.com is 142.251.39.106
Sep 11 08:45:27 dnsmasq[458]: reply android-context-data.googleapis.com is 172.217.23.202
Sep 11 08:45:27 dnsmasq[458]: reply android-context-data.googleapis.com is 172.217.168.202
Sep 11 08:45:27 dnsmasq[458]: reply android-context-data.googleapis.com is 216.58.208.106
Sep 11 08:45:27 dnsmasq[458]: reply android-context-data.googleapis.com is 142.250.179.138
Sep 11 08:45:27 dnsmasq[458]: reply android-context-data.googleapis.com is 142.250.179.170
Sep 11 08:45:27 dnsmasq[458]: reply android-context-data.googleapis.com is 142.250.179.202
Sep 11 08:45:27 dnsmasq[458]: reply android-context-data.googleapis.com is 142.251.36.10
Sep 11 08:45:27 dnsmasq[458]: reply android-context-data.googleapis.com is 142.251.36.42

-----tail of pihole.log------
Sep 11 15:36:51 dnsmasq[660]: query[PTR] 32.1.168.192.in-addr.arpa from 127.0.0.1
Sep 11 15:36:51 dnsmasq[660]: config 32.1.168.192.in-addr.arpa is
Sep 11 15:36:51 dnsmasq[660]: query[AAAA] www.sub.gooradolfolderu.click from ::1
Sep 11 15:36:51 dnsmasq[660]: gravity blocked www.sub.gooradolfolderu.click is ::
Sep 11 15:36:51 dnsmasq[660]: query[AAAA] www.sub.gooradolfolderu.click from 2a02:a03f:c81a:7100:971c:c83e:4c6c:6537
Sep 11 15:36:51 dnsmasq[660]: gravity blocked www.sub.gooradolfolderu.click is ::
Sep 11 15:36:51 dnsmasq[660]: query[AAAA] www.sub.gooradolfolderu.click from fe80::937f:e6cf:e1b1:d9a3
Sep 11 15:36:51 dnsmasq[660]: gravity blocked www.sub.gooradolfolderu.click is ::
Sep 11 15:36:51 dnsmasq[660]: query[AAAA] www.sub.gooradolfolderu.click from 2a02:a03f:c81a:7100:4acc:a81d:f36a:2d23
Sep 11 15:36:51 dnsmasq[660]: gravity blocked www.sub.gooradolfolderu.click is ::
Sep 11 15:36:51 dnsmasq[660]: query[AAAA] www.sub.gooradolfolderu.click from fe80::a133:8d6:18d5:84b1
Sep 11 15:36:51 dnsmasq[660]: gravity blocked www.sub.gooradolfolderu.click is ::
Sep 11 15:36:52 dnsmasq[660]: query[PTR] 7.3.5.6.c.6.c.4.e.3.8.c.c.1.7.9.0.0.1.7.a.1.8.c.f.3.0.a.2.0.a.2.ip6.arpa from 127.0.0.1
Sep 11 15:36:52 dnsmasq[660]: config 7.3.5.6.c.6.c.4.e.3.8.c.c.1.7.9.0.0.1.7.a.1.8.c.f.3.0.a.2.0.a.2.ip6.arpa is
Sep 11 15:36:52 dnsmasq[660]: query[PTR] 3.a.9.d.1.b.1.e.f.c.6.e.f.7.3.9.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa from 127.0.0.1
Sep 11 15:36:52 dnsmasq[660]: config 3.a.9.d.1.b.1.e.f.c.6.e.f.7.3.9.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa is
Sep 11 15:36:52 dnsmasq[660]: query[PTR] 3.2.d.2.a.6.3.f.d.1.8.a.c.c.a.4.0.0.1.7.a.1.8.c.f.3.0.a.2.0.a.2.ip6.arpa from 127.0.0.1
Sep 11 15:36:52 dnsmasq[660]: config 3.2.d.2.a.6.3.f.d.1.8.a.c.c.a.4.0.0.1.7.a.1.8.c.f.3.0.a.2.0.a.2.ip6.arpa is
Sep 11 15:36:52 dnsmasq[660]: query[PTR] 1.b.4.8.5.d.8.1.6.d.8.0.3.3.1.a.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa from 127.0.0.1
Sep 11 15:36:52 dnsmasq[660]: config 1.b.4.8.5.d.8.1.6.d.8.0.3.3.1.a.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa is



[✓] ** FINISHED DEBUGGING! **

  • The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
    [i] Debug script running in automated mode
    * Using curl for transmission.


Folks, as it turned out my pihole was constantly switching from one ip address to another back and forth.
Since I swapped my raspberry pi3 with a pi zero, it wasn't the same mac address and thus my router wasn't allocating the static ip address the pihole was requesting.

Bye and thanks if you ever read this !

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.