Set up Pi as DNS server but unable to resolve any urls

  • I'm running on internet in the UK (Now TV), which requires me to use a HG612 modem that goes into an Asus RT-AC86U router running Merlin firmware 386.5_2

  • I have installed Pihole on a Raspeberry Pi 4. I have set up the pi to have a static IP address of 192.168.1.40

  • In LAN settings, I have set up my router as DHCP server, and the the pi as the DNS

  • When I do this, traffic seems to be routed correctly through the Pi. I can see the queues up up on the web interfact. However, I cannot access any outside URL.

Debug Token:

I was unable to upload the debug tocken as the Pi has no internet. However you can find the debug logs here.

The Default Gateway field is blank in your screenshot. It should have the IP address of the router, so the DHCP server can tell clients to use the router to access external addresses. Edit it to be the address of the router, and disconnect and reconnect your clients (including Pi-hole) from the network to pick up the new details (a quick way to do that is reboot the router after making sure the gateway setting has been saved).

I'm confused why the default gateway would be a problem---doesn't this just dictate how external sources are routed when they connect to your LAN?

I did give it a shot but I still have the same issue.

Just to confirmthat 192.168.1.1 is indeed the router address, as I can ssh into it.

Here is the new debug log: pihole2 - Pastebin.com

Your debug log shows 192.168.1.71 is also being rate limited and it is querying connectivitycheck.gstatic.com:

Dec 22 22:49:59 dnsmasq[52227]: query[A] connectivitycheck.gstatic.com from 192.168.1.71
Dec 22 22:49:59 dnsmasq[52227]: forwarded connectivitycheck.gstatic.com to 8.8.8.8
Dec 22 22:49:59 dnsmasq[52227]: forwarded connectivitycheck.gstatic.com to 8.8.4.4
Dec 22 22:49:59 dnsmasq[52227]: query[A] connectivitycheck.gstatic.com from 192.168.1.1
Dec 22 22:49:59 dnsmasq[52227]: config error is REFUSED (EDE: blocked)
Dec 22 22:49:59 dnsmasq[52227]: Rate-limiting connectivitycheck.gstatic.com is REFUSED (EDE: blocked)

Apparently this client is the source of the queries causing the issue.

As part of the DHCP settings it tells clients on the LAN how to reach external addresses – ie, send them via the default gateway which is the router.

Your networking is via your wifi (wlan0) but your Pi-hole is configured to use eth0 which doesn't have an address.

eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
 inet 192.168.1.40/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
*** [ DIAGNOSING ]: Setup variables
PIHOLE_INTERFACE=eth0

If you run pihole -r and select Reconfigure you can select wlan0 as the interface to use.

Hi! Thanks for your help. You're right it was set up on eth0 but moving it to wlan0 didn't seem to fix it either!

Here is the new diagnostic:

This process collects information from your Pi-hole, and optionally uploads it to a unique and random directory on tricorder.pi-hole.net.

The intent of this script is to allow users to self-diagnose their installations.  This is accomplished by running tests against our software and providing the user with links to FAQ articles when a problem is detected.  Since we are a small team and Pi-hole has been growing steadily, it is our hope that this will help us spend more time on development.

NOTE: All log files auto-delete after 48 hours and ONLY the Pi-hole developers can access your data via the given token. We have taken these extra steps to secure your data and will work to further reduce any personal information gathered.

e[95m*** [ INITIALIZING ]e[0m
[i] 2023-12-28:20:21:01 debug log has been initialized.
[i] System has been running for 0 days, 1 hours, 16 minutes

e[95m*** [ INITIALIZING ]e[0m Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

e[95m*** [ DIAGNOSING ]:e[0m Core version
[e[32m✓e[0m] Version: v5.17.2
[i] Remotes: origin	https://github.com/pi-hole/pi-hole.git (fetch)
             origin	https://github.com/pi-hole/pi-hole.git (push)
[i] Branch: e[32mmastere[0m
[i] Commit: v5.17.2-0-g60b6a10

e[95m*** [ DIAGNOSING ]:e[0m Web version
[e[32m✓e[0m] Version: v5.21
[i] Remotes: origin	https://github.com/pi-hole/web.git (fetch)
             origin	https://github.com/pi-hole/web.git (push)
[i] Branch: e[32mmastere[0m
[i] Commit: v5.21-0-gbe05b0f

e[95m*** [ DIAGNOSING ]:e[0m FTL version
[e[32m✓e[0m] Version: v5.23
[i] Branch: e[32mmastere[0m
[i] Commit: d201776e

e[95m*** [ DIAGNOSING ]:e[0m lighttpd version
[i] 1.4.69

e[95m*** [ DIAGNOSING ]:e[0m php version
[i] 8.2.7

e[95m*** [ DIAGNOSING ]:e[0m Operating system
[i] Distro: Debian
[i] Version: 12
[e[91m✗e[0m] dig return code: e[91m10e[0m
[e[91m✗e[0m] dig response: dig: couldn't get address for 'ns1.pi-hole.net': failure
[e[91m✗e[0m] Error: e[91mdig command failed - Unable to check OSe[0m

e[95m*** [ DIAGNOSING ]:e[0m SELinux
[i] e[32mSELinux not detectede[0m

e[95m*** [ DIAGNOSING ]:e[0m FirewallD
[i] e[32mFirewalld service inactivee[0m

e[95m*** [ DIAGNOSING ]:e[0m Processor
[e[32m✓e[0m] e[32maarch64e[0m

e[95m*** [ DIAGNOSING ]:e[0m Disk usage
   Filesystem      Size  Used Avail Use% Mounted on
   udev            1.6G     0  1.6G   0% /dev
   tmpfs           380M  1.4M  378M   1% /run
   /dev/mmcblk0p2   59G  5.4G   50G  10% /
   tmpfs           1.9G   28M  1.9G   2% /dev/shm
   tmpfs           5.0M   12K  5.0M   1% /run/lock
   /dev/mmcblk0p1  510M   74M  437M  15% /boot/firmware
   tmpfs           380M   44K  380M   1% /run/user/1000

e[95m*** [ DIAGNOSING ]:e[0m 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 noprefixroute 
          valid_lft forever preferred_lft forever
   2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
       link/ether e4:5f:01:2c:fb:eb brd ff:ff:ff:ff:ff:ff
   3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
       link/ether e4:5f:01:2c:fb:ec brd ff:ff:ff:ff:ff:ff
       inet 192.168.1.40/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
          valid_lft 86155sec preferred_lft 86155sec
       inet6 fe80::82ca:8ac3:60f6:8af7/64 scope link noprefixroute 
          valid_lft forever preferred_lft forever

e[95m*** [ DIAGNOSING ]:e[0m Network routing table
   default via 192.168.1.1 dev wlan0 proto dhcp src 192.168.1.40 metric 600 
   192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.40 metric 600 

e[95m*** [ DIAGNOSING ]:e[0m Networking
[e[32m✓e[0m] IPv4 address(es) bound to the wlan0 interface:
    192.168.1.40/24

[e[32m✓e[0m] IPv6 address(es) bound to the wlan0 interface:
    fe80::82ca:8ac3:60f6:8af7/64

[i] Default IPv4 gateway(s):
     192.168.1.1
   * Pinging first gateway 192.168.1.1...
[e[32m✓e[0m] e[32mGateway responded.e[0m
[i] Default IPv6 gateway(s):

e[95m*** [ DIAGNOSING ]:e[0m Ports in use
    udp:0.0.0.0:59919 is in use by avahi-daemon
    udp:0.0.0.0:631 is in use by cups-browsed
    udp:192.168.1.40:50079 is in use by chromium-browse
    udp:224.0.0.251:5353 is in use by chromium-browse
    udp:0.0.0.0:5353 is in use by avahi-daemon
[e[32m✓e[0m] e[32mudp:0.0.0.0:53e[0m is in use by e[32mpihole-FTLe[0m
    udp:*:37641 is in use by avahi-daemon
    udp:*:5353 is in use by avahi-daemon
[e[32m✓e[0m] e[32mudp:*:53e[0m is in use by e[32mpihole-FTLe[0m
[e[32m✓e[0m] e[32mtcp:0.0.0.0:80e[0m is in use by e[32mlighttpde[0m
[e[32m✓e[0m] e[32mtcp:0.0.0.0:53e[0m is in use by e[32mpihole-FTLe[0m
    tcp:0.0.0.0:22 is in use by sshd
    tcp:127.0.0.1:631 is in use by cupsd
[e[32m✓e[0m] e[32mtcp:127.0.0.1:4711e[0m is in use by e[32mpihole-FTLe[0m
    tcp:0.0.0.0:5900 is in use by wayvnc
[e[32m✓e[0m] e[32mtcp:[::]:80e[0m is in use by e[32mlighttpde[0m
[e[32m✓e[0m] e[32mtcp:[::]:53e[0m is in use by e[32mpihole-FTLe[0m
    tcp:[::]:22 is in use by sshd
    tcp:[::1]:631 is in use by cupsd
[e[32m✓e[0m] e[32mtcp:[::1]:4711e[0m is in use by e[32mpihole-FTLe[0m

e[95m*** [ DIAGNOSING ]:e[0m Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[e[91m✗e[0m] e[91mFailed to resolvee[0m flurry.com on e[91mloe[0m (e[91m127.0.0.1e[0m)
[e[32m✓e[0m] No IPv4 address available on e[96meth0e[0m
[e[91m✗e[0m] e[91mFailed to resolvee[0m flurry.com on e[91mwlan0e[0m (e[91m192.168.1.40e[0m)
[e[91m✗e[0m] e[91mFailed to resolvee[0m doubleclick.com via e[91ma remote, public DNS servere[0m (8.8.8.8)

e[95m*** [ DIAGNOSING ]:e[0m Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
[e[91m✗e[0m] e[91mFailed to resolvee[0m flurry.com on e[91mloe[0m (e[91m::1e[0m)
[e[32m✓e[0m] No IPv6 address available on e[96meth0e[0m
[e[91m✗e[0m] e[91mFailed to resolvee[0m flurry.com on e[91mwlan0e[0m (e[91mfe80::82ca:8ac3:60f6:8af7e[0m)
[e[91m✗e[0m] e[91mFailed to resolvee[0m doubleclick.com via e[91ma remote, public DNS servere[0m (2001:4860:4860::8888)

e[95m*** [ DIAGNOSING ]:e[0m Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   Timeout: 10 seconds
   
   * Received 300 bytes from wlan0:192.168.1.1
     Offered IP address: 192.168.1.40
     Server IP address: 192.168.1.1
     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: 86400 ( 1d )
      renewal-time: 43200 ( 12h )
      rebinding-time: 75600 ( 21h )
      netmask: 255.255.255.0
      broadcast: 192.168.1.255
      wpad-server: "
"
      dns-server: 182.168.1.40
      router: 192.168.1.1
      --- end of options ---
   
   DHCP packets received on interface wlan0: 1

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole processes
[e[32m✓e[0m] e[32mlighttpde[0m daemon is e[32mactivee[0m
[e[32m✓e[0m] e[32mpihole-FTLe[0m daemon is e[32mactivee[0m

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole-FTL full status
   ● pihole-FTL.service - Pi-hole FTL
     Loaded: loaded (/etc/systemd/system/pihole-FTL.service; enabled; preset: enabled)
     Active: active (running) since Thu 2023-12-28 19:43:26 GMT; 38min ago
    Process: 3365 ExecStartPre=/opt/pihole/pihole-FTL-prestart.sh (code=exited, status=0/SUCCESS)
   Main PID: 3378 (pihole-FTL)
      Tasks: 19 (limit: 3912)
        CPU: 9.966s
     CGroup: /system.slice/pihole-FTL.service
             └─3378 /usr/bin/pihole-FTL -f

Dec 28 19:43:26 rpi400 pihole-FTL[3378]: [2023-12-28 19:43:26.517 3378M]    PIHOLE_PTR: internal PTR generation enabled (pi.hole)
Dec 28 19:43:26 rpi400 pihole-FTL[3378]: [2023-12-28 19:43:26.517 3378M]    ADDR2LINE: Enabled
Dec 28 19:43:26 rpi400 pihole-FTL[3378]: [2023-12-28 19:43:26.517 3378M]    REPLY_WHEN_BUSY: Drop queries when the database is busy
Dec 28 19:43:26 rpi400 pihole-FTL[3378]: [2023-12-28 19:43:26.517 3378M]    BLOCK_TTL: 2 seconds
Dec 28 19:43:26 rpi400 pihole-FTL[3378]: [2023-12-28 19:43:26.517 3378M]    BLOCK_ICLOUD_PR: Enabled
Dec 28 19:43:26 rpi400 pihole-FTL[3378]: [2023-12-28 19:43:26.517 3378M]    CHECK_LOAD: Enabled
Dec 28 19:43:26 rpi400 pihole-FTL[3378]: [2023-12-28 19:43:26.517 3378M]    CHECK_SHMEM: Warning if shared-memory usage exceeds 90%
Dec 28 19:43:26 rpi400 pihole-FTL[3378]: [2023-12-28 19:43:26.517 3378M]    CHECK_DISK: Warning if certain disk usage exceeds 90%
Dec 28 19:43:26 rpi400 pihole-FTL[3378]: [2023-12-28 19:43:26.517 3378M] Finished config file parsing
Dec 28 19:43:26 rpi400 pihole-FTL[3378]: [2023-12-28 19:43:26.517 33

e[95m*** [ DIAGNOSING ]:e[0m Lighttpd configuration test
[e[32m✓e[0m] e[32mNo error in lighttpd configuratione[0m

e[95m*** [ DIAGNOSING ]:e[0m Setup variables
    PIHOLE_INTERFACE=wlan0
    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
    DNSSEC=false
    REV_SERVER=false
    PIHOLE_DNS_1=8.8.8.8
    PIHOLE_DNS_2=8.8.4.4

e[95m*** [ DIAGNOSING ]:e[0m Dashboard headers
[e[32m✓e[0m] Web interface X-Header: e[32mX-Pi-hole: The Pi-hole Web interface is working!e[0m

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole FTL Query Database
e[32m-rw-rw-r-- 1 pihole pihole 29M Dec 28 20:21 /etc/pihole/pihole-FTL.dbe[0m

e[95m*** [ DIAGNOSING ]:e[0m Gravity Database
e[32m-rw-rw-r-- 1 pihole pihole 96K Dec 28 19:43 /etc/pihole/gravity.dbe[0m

e[95m*** [ DIAGNOSING ]:e[0m Info table
   property              value                                   
   --------------------  ----------------------------------------
   version               15                                      
   updated               1703792606                              
   gravity_count         0                                       
   Last gravity run finished at: e[96mThu Dec 28 19:43:26 GMT 2023e[0m

   e[96m----- First 10 Gravity Domains -----e[0m


e[95m*** [ DIAGNOSING ]:e[0m Groups
   id    enabled  name                                                date_added           date_modified        description                                       
   ----  -------  --------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   0           1  Default                                             2023-12-22 19:40:32  2023-12-22 19:40:32  The default group                                 

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

e[95m*** [ DIAGNOSING ]:e[0m Clients

e[95m*** [ DIAGNOSING ]:e[0m Adlists
   id     enabled  group_ids     address                                                                                               date_added           date_modified        comment                                           
   -----  -------  ------------  ----------------------------------------------------------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   1         0     0             https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts                                      2023-12-22 19:40:32  2023-12-22 22:10:01  Migrated from /etc/pihole/adlists.list            

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/piholee[0m

e[32m-rw-r--r-- 1 root root 0 Dec 22 19:40 /etc/pihole/custom.liste[0m

e[32m-rw-r--r-- 1 root root 65 Dec 28 19:43 /etc/pihole/local.liste[0m

e[32m-rw-r--r-- 1 root root 241 Dec 22 19:40 /etc/pihole/logrotatee[0m
   /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
   }

e[32m-rw-rw-r-- 1 pihole root 146 Dec 28 19:43 /etc/pihole/pihole-FTL.confe[0m
   PRIVACYLEVEL=0
   RATE_LIMIT=1000/60

e[32m-rw-r--r-- 1 root root 321 Dec 28 19:43 /etc/pihole/versionse[0m
   CORE_VERSION=v5.17.2
   CORE_BRANCH=master
   CORE_HASH=60b6a101
   GITHUB_CORE_VERSION=v5.17.2
   GITHUB_CORE_HASH=60b6a101
   WEB_VERSION=v5.21
   WEB_BRANCH=master
   WEB_HASH=be05b0f6
   GITHUB_WEB_VERSION=v5.21
   GITHUB_WEB_HASH=be05b0f6
   FTL_VERSION=v5.23
   FTL_BRANCH=master
   FTL_HASH=d201776e
   GITHUB_FTL_VERSION=v5.23
   GITHUB_FTL_HASH=1a114133

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/dnsmasq.de[0m

e[32m-rw-r--r-- 1 root root 1.4K Dec 28 19:43 /etc/dnsmasq.d/01-pihole.confe[0m
   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=8.8.8.8
   server=8.8.4.4
   domain-needed
   expand-hosts
   bogus-priv
   local-service

e[32m-rw-r--r-- 1 root root 2.2K Dec 28 19:43 /etc/dnsmasq.d/06-rfc6761.confe[0m
   server=/test/
   server=/localhost/
   server=/invalid/
   server=/bind/
   server=/onion/

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/lighttpde[0m

e[32m-rw-r--r-- 1 root root 2.2K Feb 11  2023 /etc/lighttpd/lighttpd.confe[0m
   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",
   )

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/lighttpd/conf.de[0m
e[91m/etc/lighttpd/conf.d does not exist.e[0m

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/lighttpd/conf-enablede[0m
total 0
lrwxrwxrwx 1 root root 32 Dec 22 19:40 05-setenv.conf -> ../conf-available/05-setenv.conf
lrwxrwxrwx 1 root root 35 Dec 22 19:40 10-accesslog.conf -> ../conf-available/10-accesslog.conf
lrwxrwxrwx 1 root root 33 Dec 22 19:40 10-fastcgi.conf -> ../conf-available/10-fastcgi.conf
lrwxrwxrwx 1 root root 38 Dec 22 19:40 15-pihole-admin.conf -> ../conf-available/15-pihole-admin.conf
lrwxrwxrwx 1 root root 42 Oct 10 04:47 90-javascript-alias.conf -> ../conf-available/90-javascript-alias.conf

e[32mlrwxrwxrwx 1 root root 38 Dec 22 19:40 /etc/lighttpd/conf-enabled/15-pihole-admin.conf -> ../conf-available/15-pihole-admin.confe[0m
   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" )

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/cron.de[0m

e[32m-rw-r--r-- 1 root root 1.7K Dec 28 19:43 /etc/cron.d/piholee[0m
   8 3   * * 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
   27 12  * * *   root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker
   @reboot root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker reboot

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/var/log/lighttpde[0m

e[32m-rw-r--r-- 1 www-data www-data 5.6K Dec 28 19:43 /var/log/lighttpd/error-pihole.loge[0m
   e[96m-----head of error-pihole.log------e[0m
   2023-12-22 19:40:26: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-22 22:30:56: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 44662784 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:30:58: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 47038464 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:01: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 48238592 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:03: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 48238592 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:08: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 48238592 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:10: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 23072768 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:14: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 18878464 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:18: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 14684160 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:25: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 10489856 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:29: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 10489856 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:33: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 10485760 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:37: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4198400 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:40: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4198400 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:43: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 1359872 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:47: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 21
   2023-12-22 22:32:34: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 21
   2023-12-22 23:02:19: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-22 23:02:37: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-22 23:35:18: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-22 23:35:35: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-22 23:35:52: (server.c.320) warning: clock jumped 10968 secs
   2023-12-22 23:35:52: (server.c.328) attempting graceful restart in < ~5 seconds, else hard restart
   2023-12-23 02:38:40: (server.c.1057) [note] graceful shutdown started
   2023-12-23 02:38:40: (server.c.2078) server stopped by UID = 33 PID = 1313

   e[96m-----tail of error-pihole.log------e[0m
   2023-12-22 23:35:18: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-22 23:35:35: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-22 23:35:52: (server.c.320) warning: clock jumped 10968 secs
   2023-12-22 23:35:52: (server.c.328) attempting graceful restart in < ~5 seconds, else hard restart
   2023-12-23 02:38:40: (server.c.1057) [note] graceful shutdown started
   2023-12-23 02:38:40: (server.c.2078) server stopped by UID = 33 PID = 1313
   2023-12-23 02:38:40: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-23 03:48:42: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-23 03:48:57: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-23 03:49:16: (server.c.320) warning: clock jumped 12959 secs
   2023-12-23 03:49:16: (server.c.328) attempting graceful restart in < ~5 seconds, else hard restart
   2023-12-23 07:25:15: (server.c.1057) [note] graceful shutdown started
   2023-12-23 07:25:15: (server.c.2078) server stopped by UID = 33 PID = 1141
   2023-12-23 07:25:15: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-23 07:26:31: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-23 07:26:32: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-23 07:34:58: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-23 07:35:15: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-23 07:35:32: (server.c.320) warning: clock jumped 473408 secs
   2023-12-23 07:35:32: (server.c.328) attempting graceful restart in < ~5 seconds, else hard restart
   2023-12-28 19:05:40: (server.c.1057) [note] graceful shutdown started
   2023-12-28 19:05:40: (server.c.2078) server stopped by UID = 33 PID = 1312
   2023-12-28 19:05:40: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-28 19:43:18: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-28 19:43:19: (server.c.1704) server started (lighttpd/1.4.69)

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/var/log/piholee[0m

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

   e[96m-----tail of FTL.log------e[0m
   [2023-12-28 19:43:26.546 3378M] Listening on port 4711 for incoming IPv6 telnet connections
   [2023-12-28 19:43:26.547 3378M] Listening on port 4711 for incoming socket telnet connections
   [2023-12-28 19:43:26.548 3378M] INFO: FTL is running as user pihole (UID 999)
   [2023-12-28 19:43:26.548 3378M] Reloading DNS cache
   [2023-12-28 19:43:26.648 3378/T3403] SQLite3 message: database is locked in "SELECT domain, CASE WHEN substr(domain, 1, 1) = '*' THEN '*' || substr(:input, - length(domain) + 1) ELSE :input END matcher FROM domain_audit WHERE matcher = domain;" (5)
   [2023-12-28 19:43:26.656 3378/T3403] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
   [2023-12-28 19:43:26.657 3378/T3403] SQLite3 message: database is locked in "SELECT domain, CASE WHEN substr(domain, 1, 1) = '*' THEN '*' || substr(:input, - length(domain) + 1) ELSE :input END matcher FROM domain_audit WHERE matcher = domain;" (5)
   [2023-12-28 19:43:26.657 3378/T3403] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
   [2023-12-28 19:43:26.657 3378/T3403] gravityDB_count(0): Gravity database not available
   [2023-12-28 19:43:26.657 3378/T3403] SQLite3 message: database is locked in "SELECT domain, CASE WHEN substr(domain, 1, 1) = '*' THEN '*' || substr(:input, - length(domain) + 1) ELSE :input END matcher FROM domain_audit WHERE matcher = domain;" (5)
   [2023-12-28 19:43:26.658 3378/T3403] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
   [2023-12-28 19:43:26.658 3378/T3403] gravityDB_count(3): Gravity database not available
   [2023-12-28 19:43:26.658 3378/T3403] WARN: Database query failed, assuming there are no blacklist regex entries
   [2023-12-28 19:43:26.658 3378/T3403] SQLite3 message: database is locked in "SELECT domain, CASE WHEN substr(domain, 1, 1) = '*' THEN '*' || substr(:input, - length(domain) + 1) ELSE :input END matcher FROM domain_audit WHERE matcher = domain;" (5)
   [2023-12-28 19:43:26.658 3378/T3403] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
   [2023-12-28 19:43:26.658 3378/T3403] gravityDB_count(4): Gravity database not available
   [2023-12-28 19:43:26.658 3378/T3403] WARN: Database query failed, assuming there are no whitelist regex entries
   [2023-12-28 19:43:26.658 3378/T3403] Compiled 0 whitelist and 0 blacklist regex filters for 0 clients in 1.5 msec
   [2023-12-28 19:43:26.658 3378/T3403] SQLite3 message: database is locked in "SELECT domain, CASE WHEN substr(domain, 1, 1) = '*' THEN '*' || substr(:input, - length(domain) + 1) ELSE :input END matcher FROM domain_audit WHERE matcher = domain;" (5)
   [2023-12-28 19:43:26.659 3378/T3403] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
   [2023-12-28 19:43:26.659 3378/T3403] check_inaccessible_adlists(): Gravity database not available
   [2023-12-28 19:43:26.659 3378/T3403] Blocking status is enabled
   [2023-12-28 19:43:26.918 3378M] Reloading DNS cache
   [2023-12-28 19:43:26.962 3378/T3403] Compiled 0 whitelist and 0 blacklist regex filters for 0 clients in 0.4 msec
   [2023-12-28 19:43:26.962 3378/T3403] Blocking status is enabled
   [2023-12-28 19:48:03.266 3378M] New upstream server: 8.8.8.8:53 (0/512)
   [2023-12-28 19:48:03.267 3378M] New upstream server: 8.8.4.4:53 (1/512)
   [2023-12-28 20:08:24.936 3378M] Rate-limiting 127.0.0.1 for at least 2 seconds
   [2023-12-28 20:08:26.095 3378/T3404] Ending rate-limitation of 127.0.0.1
   [2023-12-28 20:08:27.379 3378M] Rate-limiting 127.0.0.1 for at least 59 seconds
   [2023-12-28 20:09:26.224 3378/T3404] Still rate-limiting 127.0.0.1 as it made additional 2581 queries
   [2023-12-28 20:10:26.286 3378/T3404] Ending rate-limitation of 127.0.0.1
   [2023-12-28 20:16:48.462 3378M] Rate-limiting 127.0.0.1 for at least 38 seconds
   [2023-12-28 20:17:26.720 3378/T3404] Still rate-limiting 127.0.0.1 as it made additional 14876 queries
   [2023-12-28 20:18:26.784 3378/T3404] Ending rate-limitation of 127.0.0.1

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/dev/shme[0m
total 744K
-rw------- 1 pihole pihole  84K Dec 28 19:43 FTL-clients
-rw------- 1 pihole pihole  248 Dec 28 19:43 FTL-counters
-rw------- 1 pihole pihole 4.0K Dec 28 19:43 FTL-dns-cache
-rw------- 1 pihole pihole  12K Dec 28 19:43 FTL-domains
-rw------- 1 pihole pihole  104 Dec 28 19:43 FTL-lock
-rw------- 1 pihole pihole 8.0K Dec 28 19:43 FTL-overTime
-rw------- 1 pihole pihole 4.0K Dec 28 19:43 FTL-per-client-regex
-rw------- 1 pihole pihole 224K Dec 28 20:16 FTL-queries
-rw------- 1 pihole pihole   16 Dec 28 19:43 FTL-settings
-rw------- 1 pihole pihole  80K Dec 28 19:43 FTL-strings
-rw------- 1 pihole pihole 308K Dec 28 19:43 FTL-upstreams
-rw-rw-rw- 1 trinh  trinh  4.0K Dec 23 07:35 lttng-ust-wait-8
-rw-r----- 1 trinh  trinh  4.0K Dec 23 07:35 lttng-ust-wait-8-1000

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etce[0m

e[32m-rw-r--r-- 1 root root 24 Dec 28 19:43 /etc/dnsmasq.confe[0m
   conf-dir=/etc/dnsmasq.d

e[32m-rw-r--r-- 1 root root 54 Dec 28 20:17 /etc/resolv.confe[0m
   nameserver 182.168.1.40

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole diagnosis messages
   count   last timestamp       type                  message                                                       blob1                 blob2                 blob3                 blob4                 blob5               
   ------  -------------------  --------------------  ------------------------------------------------------------  --------------------  --------------------  --------------------  --------------------  --------------------
   1       2023-12-28 20:16:48  RATE_LIMIT            127.0.0.1                                                     1000                  60                                                                                    

e[95m*** [ DIAGNOSING ]:e[0m Locale
    LANG=

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole log
e[32m-rw-r----- 1 pihole pihole 9.6M Dec 28 20:21 /var/log/pihole/pihole.loge[0m
   e[96m-----head of pihole.log------e[0m
   Dec 23 03:49:11 dnsmasq[1130]: started, version pi-hole-v2.89-9461807 cachesize 10000
   Dec 23 03:49:11 dnsmasq[1130]: DNS service limited to local subnets
   Dec 23 03:49:11 dnsmasq[1130]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n IDN DHCP DHCPv6 Lua TFTP no-conntrack ipset no-nftset auth cryptohash DNSSEC loop-detect inotify dumpfile
   Dec 23 03:49:11 dnsmasq[1130]: using nameserver 8.8.8.8#53
   Dec 23 03:49:11 dnsmasq[1130]: using nameserver 8.8.4.4#53
   Dec 23 03:49:11 dnsmasq[1130]: using only locally-known addresses for onion
   Dec 23 03:49:11 dnsmasq[1130]: using only locally-known addresses for bind
   Dec 23 03:49:11 dnsmasq[1130]: using only locally-known addresses for invalid
   Dec 23 03:49:11 dnsmasq[1130]: using only locally-known addresses for localhost
   Dec 23 03:49:11 dnsmasq[1130]: using only locally-known addresses for test
   Dec 23 03:49:11 dnsmasq[1130]: read /etc/hosts - 7 names
   Dec 23 03:49:11 dnsmasq[1130]: read /etc/pihole/custom.list - 0 names
   Dec 23 03:49:11 dnsmasq[1130]: read /etc/pihole/local.list - 0 names
   Dec 23 03:49:13 dnsmasq[1130]: query[PTR] 1.1.168.192.in-addr.arpa from 127.0.0.1
   Dec 23 03:49:13 dnsmasq[1130]: config 192.168.1.1 is NXDOMAIN
   Dec 23 03:49:13 dnsmasq[1130]: query[PTR] 40.1.168.192.in-addr.arpa from 127.0.0.1
   Dec 23 03:49:13 dnsmasq[1130]: config 40.1.168.192.in-addr.arpa is <PTR>
   Dec 23 03:49:13 dnsmasq[1130]: query[PTR] 196.1.168.192.in-addr.arpa from 127.0.0.1
   Dec 23 03:49:13 dnsmasq[1130]: config 192.168.1.196 is NXDOMAIN
   Dec 23 03:49:13 dnsmasq[1130]: query[PTR] 9.1.168.192.in-addr.arpa from 127.0.0.1

   e[96m-----tail of pihole.log------e[0m
   Dec 28 20:17:06 dnsmasq[3378]: config error is REFUSED (EDE: blocked)
   Dec 28 20:17:06 dnsmasq[3378]: Rate-limiting router.asus.com is REFUSED (EDE: blocked)
   Dec 28 20:17:06 dnsmasq[3378]: query[A] router.asus.com from 127.0.0.1
   Dec 28 20:17:06 dnsmasq[3378]: config error is REFUSED (EDE: blocked)
   Dec 28 20:17:06 dnsmasq[3378]: Rate-limiting router.asus.com is REFUSED (EDE: blocked)
   Dec 28 20:17:06 dnsmasq[3378]: query[HTTPS] router.asus.com from 127.0.0.1
   Dec 28 20:17:06 dnsmasq[3378]: config error is REFUSED (EDE: blocked)
   Dec 28 20:17:06 dnsmasq[3378]: Rate-limiting router.asus.com is REFUSED (EDE: blocked)
   Dec 28 20:17:06 dnsmasq[3378]: query[A] router.asus.com from 127.0.0.1
   Dec 28 20:17:06 dnsmasq[3378]: config error is REFUSED (EDE: blocked)
   Dec 28 20:17:06 dnsmasq[3378]: Rate-limiting router.asus.com is REFUSED (EDE: blocked)
   Dec 28 20:17:06 dnsmasq[3378]: query[HTTPS] router.asus.com from 127.0.0.1
   Dec 28 20:17:06 dnsmasq[3378]: config error is REFUSED (EDE: blocked)
   Dec 28 20:17:06 dnsmasq[3378]: Rate-limiting router.asus.com is REFUSED (EDE: blocked)
   Dec 28 20:21:13 dnsmasq[3378]: query[A] flurry.com from 127.0.0.1
   Dec 28 20:21:13 dnsmasq[3378]: forwarded flurry.com to 8.8.8.8
   Dec 28 20:21:15 dnsmasq[3378]: query[A] flurry.com from 192.168.1.40
   Dec 28 20:21:15 dnsmasq[3378]: forwarded flurry.com to 8.8.8.8
   Dec 28 20:21:19 dnsmasq[3378]: query[AAAA] flurry.com from ::1
   Dec 28 20:21:19 dnsmasq[3378]: forwarded flurry.com to 8.8.8.8

I don't know if it's notable, but when I switched the new DNS IP, my router's IP I can no longer access via router.asus.com and I have to instead go to 192.168.1.1 as the default.

The pihole is still accessible via 192.168.1.40 (its fixed IP assigned via the router). But no urls are accessible.

You have a typo somewhere, probably router DHCP settings?

1 Like

Sloppy sloppy. I made the correction but still no go. Here is the new log. Hopefully no more stupid mistakes.

This process collects information from your Pi-hole, and optionally uploads it to a unique and random directory on tricorder.pi-hole.net.

The intent of this script is to allow users to self-diagnose their installations.  This is accomplished by running tests against our software and providing the user with links to FAQ articles when a problem is detected.  Since we are a small team and Pi-hole has been growing steadily, it is our hope that this will help us spend more time on development.

NOTE: All log files auto-delete after 48 hours and ONLY the Pi-hole developers can access your data via the given token. We have taken these extra steps to secure your data and will work to further reduce any personal information gathered.

e[95m*** [ INITIALIZING ]e[0m
[i] 2023-12-29:10:12:28 debug log has been initialized.
[i] System has been running for 0 days, 0 hours, 15 minutes

e[95m*** [ INITIALIZING ]e[0m Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

e[95m*** [ DIAGNOSING ]:e[0m Core version
[e[32m✓e[0m] Version: v5.17.2
[i] Remotes: origin	https://github.com/pi-hole/pi-hole.git (fetch)
             origin	https://github.com/pi-hole/pi-hole.git (push)
[i] Branch: e[32mmastere[0m
[i] Commit: v5.17.2-0-g60b6a10

e[95m*** [ DIAGNOSING ]:e[0m Web version
[e[32m✓e[0m] Version: v5.21
[i] Remotes: origin	https://github.com/pi-hole/web.git (fetch)
             origin	https://github.com/pi-hole/web.git (push)
[i] Branch: e[32mmastere[0m
[i] Commit: v5.21-0-gbe05b0f

e[95m*** [ DIAGNOSING ]:e[0m FTL version
[e[32m✓e[0m] Version: v5.23
[i] Branch: e[32mmastere[0m
[i] Commit: d201776e

e[95m*** [ DIAGNOSING ]:e[0m lighttpd version
[i] 1.4.69

e[95m*** [ DIAGNOSING ]:e[0m php version
[i] 8.2.7

e[95m*** [ DIAGNOSING ]:e[0m Operating system
[i] Distro: Debian
[i] Version: 12
[e[91m✗e[0m] dig return code: e[91m10e[0m
[e[91m✗e[0m] dig response: dig: couldn't get address for 'ns1.pi-hole.net': failure
[e[91m✗e[0m] Error: e[91mdig command failed - Unable to check OSe[0m

e[95m*** [ DIAGNOSING ]:e[0m SELinux
[i] e[32mSELinux not detectede[0m

e[95m*** [ DIAGNOSING ]:e[0m FirewallD
[i] e[32mFirewalld service inactivee[0m

e[95m*** [ DIAGNOSING ]:e[0m Processor
[e[32m✓e[0m] e[32maarch64e[0m

e[95m*** [ DIAGNOSING ]:e[0m Disk usage
   Filesystem      Size  Used Avail Use% Mounted on
   udev            1.6G     0  1.6G   0% /dev
   tmpfs           380M  1.4M  378M   1% /run
   /dev/mmcblk0p2   59G  5.1G   51G  10% /
   tmpfs           1.9G   33M  1.9G   2% /dev/shm
   tmpfs           5.0M   12K  5.0M   1% /run/lock
   /dev/mmcblk0p1  510M   74M  437M  15% /boot/firmware
   tmpfs           380M   48K  380M   1% /run/user/1000

e[95m*** [ DIAGNOSING ]:e[0m 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 noprefixroute 
          valid_lft forever preferred_lft forever
   2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
       link/ether e4:5f:01:2c:fb:eb brd ff:ff:ff:ff:ff:ff
   3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
       link/ether e4:5f:01:2c:fb:ec brd ff:ff:ff:ff:ff:ff
       inet 192.168.1.40/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
          valid_lft 86038sec preferred_lft 86038sec
       inet6 fe80::d665:8694:e568:be/64 scope link noprefixroute 
          valid_lft forever preferred_lft forever

e[95m*** [ DIAGNOSING ]:e[0m Network routing table
   default via 192.168.1.1 dev wlan0 proto dhcp src 192.168.1.40 metric 600 
   192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.40 metric 600 

e[95m*** [ DIAGNOSING ]:e[0m Networking
[e[32m✓e[0m] IPv4 address(es) bound to the wlan0 interface:
    192.168.1.40/24

[e[32m✓e[0m] IPv6 address(es) bound to the wlan0 interface:
    fe80::d665:8694:e568:be/64

[i] Default IPv4 gateway(s):
     192.168.1.1
   * Pinging first gateway 192.168.1.1...
[e[32m✓e[0m] e[32mGateway responded.e[0m
[i] Default IPv6 gateway(s):

e[95m*** [ DIAGNOSING ]:e[0m Ports in use
[e[32m✓e[0m] e[32mudp:0.0.0.0:53e[0m is in use by e[32mpihole-FTLe[0m
    udp:0.0.0.0:631 is in use by cups-browsed
    udp:0.0.0.0:48253 is in use by avahi-daemon
    udp:224.0.0.251:5353 is in use by chromium-browse
    udp:0.0.0.0:5353 is in use by avahi-daemon
    udp:*:38490 is in use by avahi-daemon
[e[32m✓e[0m] e[32mudp:*:53e[0m is in use by e[32mpihole-FTLe[0m
    udp:*:5353 is in use by avahi-daemon
    tcp:0.0.0.0:5900 is in use by wayvnc
[e[32m✓e[0m] e[32mtcp:0.0.0.0:53e[0m is in use by e[32mpihole-FTLe[0m
    tcp:0.0.0.0:22 is in use by sshd
[e[32m✓e[0m] e[32mtcp:0.0.0.0:80e[0m is in use by e[32mlighttpde[0m
    tcp:127.0.0.1:631 is in use by cupsd
[e[32m✓e[0m] e[32mtcp:127.0.0.1:4711e[0m is in use by e[32mpihole-FTLe[0m
[e[32m✓e[0m] e[32mtcp:[::1]:4711e[0m is in use by e[32mpihole-FTLe[0m
    tcp:[::1]:631 is in use by cupsd
[e[32m✓e[0m] e[32mtcp:[::]:53e[0m is in use by e[32mpihole-FTLe[0m
    tcp:[::]:22 is in use by sshd
[e[32m✓e[0m] e[32mtcp:[::]:80e[0m is in use by e[32mlighttpde[0m

e[95m*** [ DIAGNOSING ]:e[0m Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[e[32m✓e[0m] flurry.com e[32mis e[0m on e[96mloe[0m (e[96m127.0.0.1e[0m)
[e[32m✓e[0m] No IPv4 address available on e[96meth0e[0m
[e[32m✓e[0m] flurry.com e[32mis e[0m on e[96mwlan0e[0m (e[96m192.168.1.40e[0m)
[e[32m✓e[0m] doubleclick.com e[32mis e[0m via e[96ma remote, public DNS servere[0m (8.8.8.8)

e[95m*** [ DIAGNOSING ]:e[0m Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
[e[32m✓e[0m] flurry.com e[32mis e[0m on e[96mloe[0m (e[96m::1e[0m)
[e[32m✓e[0m] No IPv6 address available on e[96meth0e[0m
[e[91m✗e[0m] e[91mFailed to resolvee[0m flurry.com on e[91mwlan0e[0m (e[91mfe80::d665:8694:e568:bee[0m)
[e[91m✗e[0m] e[91mFailed to resolvee[0m doubleclick.com via e[91ma remote, public DNS servere[0m (2001:4860:4860::8888)

e[95m*** [ DIAGNOSING ]:e[0m Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   Timeout: 10 seconds
   
   * Received 300 bytes from wlan0:192.168.1.1
     Offered IP address: 192.168.1.40
     Server IP address: 192.168.1.1
     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: 86400 ( 1d )
      renewal-time: 43200 ( 12h )
      rebinding-time: 75600 ( 21h )
      netmask: 255.255.255.0
      broadcast: 192.168.1.255
      wpad-server: "
"
      dns-server: 192.168.1.40
      router: 192.168.1.1
      --- end of options ---
   
   DHCP packets received on interface wlan0: 1

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole processes
[e[32m✓e[0m] e[32mlighttpde[0m daemon is e[32mactivee[0m
[e[32m✓e[0m] e[32mpihole-FTLe[0m daemon is e[32mactivee[0m

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole-FTL full status
   ● pihole-FTL.service - Pi-hole FTL
     Loaded: loaded (/etc/systemd/system/pihole-FTL.service; enabled; preset: enabled)
     Active: active (running) since Thu 2023-12-28 21:00:19 GMT; 13h ago
    Process: 1092 ExecStartPre=/opt/pihole/pihole-FTL-prestart.sh (code=exited, status=0/SUCCESS)
   Main PID: 1134 (pihole-FTL)
      Tasks: 19 (limit: 3912)
        CPU: 58.277s
     CGroup: /system.slice/pihole-FTL.service
             └─1134 /usr/bin/pihole-FTL -f

Dec 28 21:00:19 rpi400 pihole-FTL[1134]: [2023-12-28 21:00:19.572 1134M]    PIHOLE_PTR: internal PTR generation enabled (pi.hole)
Dec 28 21:00:19 rpi400 pihole-FTL[1134]: [2023-12-28 21:00:19.572 1134M]    ADDR2LINE: Enabled
Dec 28 21:00:19 rpi400 pihole-FTL[1134]: [2023-12-28 21:00:19.572 1134M]    REPLY_WHEN_BUSY: Drop queries when the database is busy
Dec 28 21:00:19 rpi400 pihole-FTL[1134]: [2023-12-28 21:00:19.572 1134M]    BLOCK_TTL: 2 seconds
Dec 28 21:00:19 rpi400 pihole-FTL[1134]: [2023-12-28 21:00:19.572 1134M]    BLOCK_ICLOUD_PR: Enabled
Dec 28 21:00:19 rpi400 pihole-FTL[1134]: [2023-12-28 21:00:19.572 1134M]    CHECK_LOAD: Enabled
Dec 28 21:00:19 rpi400 pihole-FTL[1134]: [2023-12-28 21:00:19.572 1134M]    CHECK_SHMEM: Warning if shared-memory usage exceeds 90%
Dec 28 21:00:19 rpi400 pihole-FTL[1134]: [2023-12-28 21:00:19.572 1134M]    CHECK_DISK: Warning if certain disk usage exceeds 90%
Dec 28 21:00:19 rpi400 pihole-FTL[1134]: [2023-12-28 21:00:19.572 1134M] Finished config file parsing
Dec 28 21:00:20 rpi400 pihole-FTL[1134]: [2023-12-28 21:00:19.572 11

e[95m*** [ DIAGNOSING ]:e[0m Lighttpd configuration test
[e[32m✓e[0m] e[32mNo error in lighttpd configuratione[0m

e[95m*** [ DIAGNOSING ]:e[0m Setup variables
    PIHOLE_INTERFACE=wlan0
    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
    DNSSEC=false
    REV_SERVER=false
    PIHOLE_DNS_1=8.8.8.8
    PIHOLE_DNS_2=8.8.4.4

e[95m*** [ DIAGNOSING ]:e[0m Dashboard headers
[e[32m✓e[0m] Web interface X-Header: e[32mX-Pi-hole: The Pi-hole Web interface is working!e[0m

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole FTL Query Database
e[32m-rw-rw-r-- 1 pihole pihole 29M Dec 29 10:12 /etc/pihole/pihole-FTL.dbe[0m

e[95m*** [ DIAGNOSING ]:e[0m Gravity Database
e[32m-rw-rw-r-- 1 pihole pihole 96K Dec 28 19:43 /etc/pihole/gravity.dbe[0m

e[95m*** [ DIAGNOSING ]:e[0m Info table
   property              value                                   
   --------------------  ----------------------------------------
   version               15                                      
   updated               1703792606                              
   gravity_count         0                                       
   Last gravity run finished at: e[96mThu Dec 28 19:43:26 GMT 2023e[0m

   e[96m----- First 10 Gravity Domains -----e[0m


e[95m*** [ DIAGNOSING ]:e[0m Groups
   id    enabled  name                                                date_added           date_modified        description                                       
   ----  -------  --------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   0           1  Default                                             2023-12-22 19:40:32  2023-12-22 19:40:32  The default group                                 

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

e[95m*** [ DIAGNOSING ]:e[0m Clients

e[95m*** [ DIAGNOSING ]:e[0m Adlists
   id     enabled  group_ids     address                                                                                               date_added           date_modified        comment                                           
   -----  -------  ------------  ----------------------------------------------------------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   1         0     0             https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts                                      2023-12-22 19:40:32  2023-12-22 22:10:01  Migrated from /etc/pihole/adlists.list            

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/piholee[0m

e[32m-rw-r--r-- 1 root root 0 Dec 22 19:40 /etc/pihole/custom.liste[0m

e[32m-rw-r--r-- 1 root root 65 Dec 28 19:43 /etc/pihole/local.liste[0m

e[32m-rw-r--r-- 1 root root 241 Dec 22 19:40 /etc/pihole/logrotatee[0m
   /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
   }

e[32m-rw-rw-r-- 1 pihole root 146 Dec 28 20:25 /etc/pihole/pihole-FTL.confe[0m
   PRIVACYLEVEL=0
   RATE_LIMIT=1000/60

e[32m-rw-r--r-- 1 root root 321 Dec 29 09:57 /etc/pihole/versionse[0m
   CORE_VERSION=v5.17.2
   CORE_BRANCH=master
   CORE_HASH=60b6a101
   GITHUB_CORE_VERSION=v5.17.2
   GITHUB_CORE_HASH=60b6a101
   WEB_VERSION=v5.21
   WEB_BRANCH=master
   WEB_HASH=be05b0f6
   GITHUB_WEB_VERSION=v5.21
   GITHUB_WEB_HASH=be05b0f6
   FTL_VERSION=v5.23
   FTL_BRANCH=master
   FTL_HASH=d201776e
   GITHUB_FTL_VERSION=v5.23
   GITHUB_FTL_HASH=1a114133

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/dnsmasq.de[0m

e[32m-rw-r--r-- 1 root root 1.4K Dec 28 20:25 /etc/dnsmasq.d/01-pihole.confe[0m
   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=8.8.8.8
   server=8.8.4.4
   domain-needed
   expand-hosts
   bogus-priv
   local-service

e[32m-rw-r--r-- 1 root root 2.2K Dec 28 19:43 /etc/dnsmasq.d/06-rfc6761.confe[0m
   server=/test/
   server=/localhost/
   server=/invalid/
   server=/bind/
   server=/onion/

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/lighttpde[0m

e[32m-rw-r--r-- 1 root root 2.2K Feb 11  2023 /etc/lighttpd/lighttpd.confe[0m
   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",
   )

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/lighttpd/conf.de[0m
e[91m/etc/lighttpd/conf.d does not exist.e[0m

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/lighttpd/conf-enablede[0m
total 0
lrwxrwxrwx 1 root root 32 Dec 22 19:40 05-setenv.conf -> ../conf-available/05-setenv.conf
lrwxrwxrwx 1 root root 35 Dec 22 19:40 10-accesslog.conf -> ../conf-available/10-accesslog.conf
lrwxrwxrwx 1 root root 33 Dec 22 19:40 10-fastcgi.conf -> ../conf-available/10-fastcgi.conf
lrwxrwxrwx 1 root root 38 Dec 22 19:40 15-pihole-admin.conf -> ../conf-available/15-pihole-admin.conf
lrwxrwxrwx 1 root root 42 Oct 10 04:47 90-javascript-alias.conf -> ../conf-available/90-javascript-alias.conf

e[32mlrwxrwxrwx 1 root root 38 Dec 22 19:40 /etc/lighttpd/conf-enabled/15-pihole-admin.conf -> ../conf-available/15-pihole-admin.confe[0m
   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" )

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/cron.de[0m

e[32m-rw-r--r-- 1 root root 1.7K Dec 28 19:43 /etc/cron.d/piholee[0m
   8 3   * * 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
   27 12  * * *   root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker
   @reboot root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker reboot

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/var/log/lighttpde[0m

e[32m-rw-r--r-- 1 www-data www-data 6.1K Dec 29 09:57 /var/log/lighttpd/error-pihole.loge[0m
   e[96m-----head of error-pihole.log------e[0m
   2023-12-22 19:40:26: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-22 22:30:56: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 44662784 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:30:58: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 47038464 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:01: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 48238592 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:03: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 48238592 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:08: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 48238592 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:10: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 23072768 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:14: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 18878464 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:18: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 14684160 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:25: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 10489856 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:29: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 10489856 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:33: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 10485760 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:37: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4198400 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:40: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4198400 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:43: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 1359872 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:47: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 21
   2023-12-22 22:32:34: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 21
   2023-12-22 23:02:19: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-22 23:02:37: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-22 23:35:18: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-22 23:35:35: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-22 23:35:52: (server.c.320) warning: clock jumped 10968 secs
   2023-12-22 23:35:52: (server.c.328) attempting graceful restart in < ~5 seconds, else hard restart
   2023-12-23 02:38:40: (server.c.1057) [note] graceful shutdown started
   2023-12-23 02:38:40: (server.c.2078) server stopped by UID = 33 PID = 1313

   e[96m-----tail of error-pihole.log------e[0m
   2023-12-23 03:48:42: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-23 03:48:57: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-23 03:49:16: (server.c.320) warning: clock jumped 12959 secs
   2023-12-23 03:49:16: (server.c.328) attempting graceful restart in < ~5 seconds, else hard restart
   2023-12-23 07:25:15: (server.c.1057) [note] graceful shutdown started
   2023-12-23 07:25:15: (server.c.2078) server stopped by UID = 33 PID = 1141
   2023-12-23 07:25:15: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-23 07:26:31: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-23 07:26:32: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-23 07:34:58: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-23 07:35:15: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-23 07:35:32: (server.c.320) warning: clock jumped 473408 secs
   2023-12-23 07:35:32: (server.c.328) attempting graceful restart in < ~5 seconds, else hard restart
   2023-12-28 19:05:40: (server.c.1057) [note] graceful shutdown started
   2023-12-28 19:05:40: (server.c.2078) server stopped by UID = 33 PID = 1312
   2023-12-28 19:05:40: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-28 19:43:18: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-28 19:43:19: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-28 21:00:03: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-28 21:00:20: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-28 21:00:37: (server.c.320) warning: clock jumped 46609 secs
   2023-12-28 21:00:37: (server.c.328) attempting graceful restart in < ~5 seconds, else hard restart
   2023-12-29 09:57:26: (server.c.1057) [note] graceful shutdown started
   2023-12-29 09:57:26: (server.c.2078) server stopped by UID = 33 PID = 1159
   2023-12-29 09:57:26: (server.c.1704) server started (lighttpd/1.4.69)

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/var/log/piholee[0m

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

   e[96m-----tail of FTL.log------e[0m
   [2023-12-28 21:00:20.200 1134/T1156] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 4.8 msec
   [2023-12-28 21:00:20.201 1134/T1156] Blocking status is enabled
   [2023-12-29 10:00:00.686 1134M] Rate-limiting 127.0.0.1 for at least 26 seconds
   [2023-12-29 10:00:26.944 1134/T1157] Still rate-limiting 127.0.0.1 as it made additional 19765 queries
   [2023-12-29 10:01:26.002 1134/T1157] Still rate-limiting 127.0.0.1 as it made additional 44511 queries
   [2023-12-29 10:02:26.061 1134/T1157] Still rate-limiting 127.0.0.1 as it made additional 45459 queries
   [2023-12-29 10:02:49.914 1134M] Resizing "FTL-queries" from 229376 to (8192 * 56) == 458752 (/dev/shm: 37.8MB used, 2.0GB total, FTL uses 741.7KB)
   [2023-12-29 10:02:50.291 1134M] Rate-limiting 192.168.1.1 for at least 36 seconds
   [2023-12-29 10:02:55.692 1134M] Rate-limiting 192.168.1.40 for at least 31 seconds
   [2023-12-29 10:03:01.262 1134M] Rate-limiting 192.168.1.89 for at least 25 seconds
   [2023-12-29 10:03:26.119 1134/T1157] Still rate-limiting 127.0.0.1 as it made additional 16180 queries
   [2023-12-29 10:03:26.119 1134/T1157] Still rate-limiting 192.168.1.40 as it made additional 15308 queries
   [2023-12-29 10:03:26.119 1134/T1157] Still rate-limiting 192.168.1.1 as it made additional 4782 queries
   [2023-12-29 10:03:26.119 1134/T1157] Still rate-limiting 192.168.1.89 as it made additional 3862 queries
   [2023-12-29 10:04:19.021 1134M] Resizing "FTL-queries" from 458752 to (12288 * 56) == 688128 (/dev/shm: 153.1MB used, 2.0GB total, FTL uses 971.1KB)
   [2023-12-29 10:04:26.178 1134/T1157] Ending rate-limitation of 127.0.0.1
   [2023-12-29 10:04:26.178 1134/T1157] Still rate-limiting 192.168.1.40 as it made additional 7578 queries
   [2023-12-29 10:04:26.179 1134/T1157] Still rate-limiting 192.168.1.1 as it made additional 2739 queries
   [2023-12-29 10:04:26.179 1134/T1157] Still rate-limiting 192.168.1.89 as it made additional 6561 queries
   [2023-12-29 10:05:26.233 1134/T1157] Ending rate-limitation of 192.168.1.40
   [2023-12-29 10:05:26.234 1134/T1157] Ending rate-limitation of 192.168.1.1
   [2023-12-29 10:05:26.234 1134/T1157] Still rate-limiting 192.168.1.89 as it made additional 1591 queries
   [2023-12-29 10:06:26.292 1134/T1157] Ending rate-limitation of 192.168.1.89
   [2023-12-29 10:06:28.415 1134M] Rate-limiting 192.168.1.1 for at least 58 seconds
   [2023-12-29 10:06:59.688 1134M] Resizing "FTL-dns-cache" from 4096 to (512 * 16) == 8192 (/dev/shm: 25.2MB used, 2.0GB total, FTL uses 1.2MB)
   [2023-12-29 10:07:26.354 1134/T1157] Still rate-limiting 192.168.1.1 as it made additional 1696 queries
   [2023-12-29 10:08:26.416 1134/T1157] Still rate-limiting 192.168.1.1 as it made additional 1254 queries
   [2023-12-29 10:09:26.476 1134/T1157] Still rate-limiting 192.168.1.1 as it made additional 2291 queries
   [2023-12-29 10:09:51.597 1134M] Resizing "FTL-queries" from 688128 to (16384 * 56) == 917504 (/dev/shm: 30.3MB used, 2.0GB total, FTL uses 1.2MB)
   [2023-12-29 10:10:20.909 1134M] Rate-limiting 192.168.1.71 for at least 6 seconds
   [2023-12-29 10:10:26.538 1134/T1157] Still rate-limiting 192.168.1.1 as it made additional 3310 queries
   [2023-12-29 10:10:26.539 1134/T1157] Ending rate-limitation of 192.168.1.71
   [2023-12-29 10:11:26.600 1134/T1157] Ending rate-limitation of 192.168.1.1
   [2023-12-29 10:11:41.430 1134M] Rate-limiting 192.168.1.1 for at least 45 seconds
   [2023-12-29 10:12:26.661 1134/T1157] Still rate-limiting 192.168.1.1 as it made additional 2834 queries

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/dev/shme[0m
total 1.4M
-rw------- 1 pihole pihole  84K Dec 29 10:02 FTL-clients
-rw------- 1 pihole pihole  248 Dec 28 21:00 FTL-counters
-rw------- 1 pihole pihole 8.0K Dec 29 10:06 FTL-dns-cache
-rw------- 1 pihole pihole  12K Dec 28 21:00 FTL-domains
-rw------- 1 pihole pihole  104 Dec 28 21:00 FTL-lock
-rw------- 1 pihole pihole 8.0K Dec 28 21:00 FTL-overTime
-rw------- 1 pihole pihole 4.0K Dec 28 21:00 FTL-per-client-regex
-rw------- 1 pihole pihole 896K Dec 29 10:12 FTL-queries
-rw------- 1 pihole pihole   16 Dec 28 21:00 FTL-settings
-rw------- 1 pihole pihole  80K Dec 28 21:00 FTL-strings
-rw------- 1 pihole pihole 308K Dec 28 21:00 FTL-upstreams
-rw-rw-rw- 1 trinh  trinh  4.0K Dec 28 21:00 lttng-ust-wait-8
-rw-r----- 1 trinh  trinh  4.0K Dec 28 21:00 lttng-ust-wait-8-1000

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etce[0m

e[32m-rw-r--r-- 1 root root 24 Dec 28 19:43 /etc/dnsmasq.confe[0m
   conf-dir=/etc/dnsmasq.d

e[32m-rw-r--r-- 1 root root 54 Dec 29 10:06 /etc/resolv.confe[0m
   nameserver 192.168.1.40

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole diagnosis messages
   count   last timestamp       type                  message                                                       blob1                 blob2                 blob3                 blob4                 blob5               
   ------  -------------------  --------------------  ------------------------------------------------------------  --------------------  --------------------  --------------------  --------------------  --------------------
   1       2023-12-29 10:00:00  RATE_LIMIT            127.0.0.1                                                     1000                  60                                                                                    
   1       2023-12-29 10:11:41  RATE_LIMIT            192.168.1.1                                                   1000                  60                                                                                    
   1       2023-12-29 10:02:55  RATE_LIMIT            192.168.1.40                                                  1000                  60                                                                                    
   1       2023-12-29 10:10:20  RATE_LIMIT            192.168.1.71                                                  1000                  60                                                                                    
   1       2023-12-29 10:03:01  RATE_LIMIT            192.168.1.89                                                  1000                  60                                                                                    

e[95m*** [ DIAGNOSING ]:e[0m Locale
    LANG=

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole log
e[32m-rw-r----- 1 pihole pihole 44M Dec 29 10:12 /var/log/pihole/pihole.loge[0m
   e[96m-----head of pihole.log------e[0m
   Dec 28 21:00:22 dnsmasq[1134]: query[PTR] 40.1.168.192.in-addr.arpa from 127.0.0.1
   Dec 28 21:00:22 dnsmasq[1134]: config 40.1.168.192.in-addr.arpa is <PTR>
   Dec 28 21:00:22 dnsmasq[1134]: query[PTR] 8.8.8.8.in-addr.arpa from 127.0.0.1
   Dec 28 21:00:22 dnsmasq[1134]: forwarded 8.8.8.8.in-addr.arpa to 8.8.8.8
   Dec 28 21:00:22 dnsmasq[1134]: forwarded 8.8.8.8.in-addr.arpa to 8.8.4.4
   Dec 28 21:00:22 dnsmasq[1134]: reply 8.8.8.8 is dns.google
   Dec 28 21:00:22 dnsmasq[1134]: query[PTR] 4.4.8.8.in-addr.arpa from 127.0.0.1
   Dec 28 21:00:22 dnsmasq[1134]: forwarded 4.4.8.8.in-addr.arpa to 8.8.8.8
   Dec 28 21:00:22 dnsmasq[1134]: reply 8.8.4.4 is dns.google
   Dec 29 09:59:56 dnsmasq[1134]: query[A] update.googleapis.com from 127.0.0.1
   Dec 29 09:59:56 dnsmasq[1134]: config error is REFUSED (EDE: network error)
   Dec 29 09:59:56 dnsmasq[1134]: query[A] update.googleapis.com from 127.0.0.1
   Dec 29 09:59:56 dnsmasq[1134]: config error is REFUSED (EDE: network error)
   Dec 29 09:59:56 dnsmasq[1134]: query[A] update.googleapis.com from 127.0.0.1
   Dec 29 09:59:56 dnsmasq[1134]: config error is REFUSED (EDE: network error)
   Dec 29 09:59:56 dnsmasq[1134]: query[A] update.googleapis.com from 127.0.0.1
   Dec 29 09:59:56 dnsmasq[1134]: config error is REFUSED (EDE: network error)
   Dec 29 09:59:59 dnsmasq[1134]: query[A] router.asus.com from 127.0.0.1
   Dec 29 09:59:59 dnsmasq[1134]: config error is REFUSED (EDE: network error)
   Dec 29 09:59:59 dnsmasq[1134]: query[HTTPS] router.asus.com from 127.0.0.1

   e[96m-----tail of pihole.log------e[0m
   Dec 29 10:12:50 dnsmasq[1134]: query[A] time.google.com from 192.168.1.71
   Dec 29 10:12:50 dnsmasq[1134]: forwarded time.google.com to 8.8.8.8
   Dec 29 10:12:50 dnsmasq[1134]: forwarded time.google.com to 8.8.4.4
   Dec 29 10:12:50 dnsmasq[1134]: query[AAAA] time.google.com from 192.168.1.71
   Dec 29 10:12:50 dnsmasq[1134]: forwarded time.google.com to 8.8.8.8
   Dec 29 10:12:50 dnsmasq[1134]: forwarded time.google.com to 8.8.4.4
   Dec 29 10:12:50 dnsmasq[1134]: query[A] time.google.com from 192.168.1.1
   Dec 29 10:12:50 dnsmasq[1134]: config error is REFUSED (EDE: blocked)
   Dec 29 10:12:50 dnsmasq[1134]: Rate-limiting time.google.com is REFUSED (EDE: blocked)
   Dec 29 10:12:50 dnsmasq[1134]: query[A] time.google.com from 192.168.1.1
   Dec 29 10:12:50 dnsmasq[1134]: config error is REFUSED (EDE: blocked)
   Dec 29 10:12:50 dnsmasq[1134]: Rate-limiting time.google.com is REFUSED (EDE: blocked)
   Dec 29 10:12:50 dnsmasq[1134]: query[AAAA] time.google.com from 192.168.1.1
   Dec 29 10:12:50 dnsmasq[1134]: config error is REFUSED (EDE: blocked)
   Dec 29 10:12:50 dnsmasq[1134]: Rate-limiting time.google.com is REFUSED (EDE: blocked)
   Dec 29 10:12:50 dnsmasq[1134]: query[AAAA] time.google.com from 192.168.1.1
   Dec 29 10:12:50 dnsmasq[1134]: config error is REFUSED (EDE: blocked)
   Dec 29 10:12:50 dnsmasq[1134]: Rate-limiting time.google.com is REFUSED (EDE: blocked)
   Dec 29 10:12:50 dnsmasq[1134]: reply error is REFUSED
   Dec 29 10:12:50 dnsmasq[1134]: reply error is REFUSED

I can also verify that the Pi admin interface shows the queue numbers going up but still no connection.

Is the result the same if you use a DNS server other than google?

Hi, yes, it is. I tested under different DNS servers with the same result.

This process collects information from your Pi-hole, and optionally uploads it to a unique and random directory on tricorder.pi-hole.net.

The intent of this script is to allow users to self-diagnose their installations.  This is accomplished by running tests against our software and providing the user with links to FAQ articles when a problem is detected.  Since we are a small team and Pi-hole has been growing steadily, it is our hope that this will help us spend more time on development.

NOTE: All log files auto-delete after 48 hours and ONLY the Pi-hole developers can access your data via the given token. We have taken these extra steps to secure your data and will work to further reduce any personal information gathered.

e[95m*** [ INITIALIZING ]e[0m
[i] 2023-12-29:16:10:59 debug log has been initialized.
[i] System has been running for 0 days, 6 hours, 14 minutes

e[95m*** [ INITIALIZING ]e[0m Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

e[95m*** [ DIAGNOSING ]:e[0m Core version
[e[32m✓e[0m] Version: v5.17.2
[i] Remotes: origin	https://github.com/pi-hole/pi-hole.git (fetch)
             origin	https://github.com/pi-hole/pi-hole.git (push)
[i] Branch: e[32mmastere[0m
[i] Commit: v5.17.2-0-g60b6a10

e[95m*** [ DIAGNOSING ]:e[0m Web version
[e[32m✓e[0m] Version: v5.21
[i] Remotes: origin	https://github.com/pi-hole/web.git (fetch)
             origin	https://github.com/pi-hole/web.git (push)
[i] Branch: e[32mmastere[0m
[i] Commit: v5.21-0-gbe05b0f

e[95m*** [ DIAGNOSING ]:e[0m FTL version
[e[32m✓e[0m] Version: v5.23
[i] Branch: e[32mmastere[0m
[i] Commit: d201776e

e[95m*** [ DIAGNOSING ]:e[0m lighttpd version
[i] 1.4.69

e[95m*** [ DIAGNOSING ]:e[0m php version
[i] 8.2.7

e[95m*** [ DIAGNOSING ]:e[0m Operating system
[i] Distro: Debian
[i] Version: 12
[e[91m✗e[0m] dig return code: e[91m10e[0m
[e[91m✗e[0m] dig response: dig: couldn't get address for 'ns1.pi-hole.net': failure
[e[91m✗e[0m] Error: e[91mdig command failed - Unable to check OSe[0m

e[95m*** [ DIAGNOSING ]:e[0m SELinux
[i] e[32mSELinux not detectede[0m

e[95m*** [ DIAGNOSING ]:e[0m FirewallD
[i] e[32mFirewalld service inactivee[0m

e[95m*** [ DIAGNOSING ]:e[0m Processor
[e[32m✓e[0m] e[32maarch64e[0m

e[95m*** [ DIAGNOSING ]:e[0m Disk usage
   Filesystem      Size  Used Avail Use% Mounted on
   udev            1.6G     0  1.6G   0% /dev
   tmpfs           380M  1.4M  378M   1% /run
   /dev/mmcblk0p2   59G  5.3G   50G  10% /
   tmpfs           1.9G  134M  1.8G   8% /dev/shm
   tmpfs           5.0M   12K  5.0M   1% /run/lock
   /dev/mmcblk0p1  510M   74M  437M  15% /boot/firmware
   tmpfs           380M   48K  380M   1% /run/user/1000

e[95m*** [ DIAGNOSING ]:e[0m 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 noprefixroute 
          valid_lft forever preferred_lft forever
   2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
       link/ether e4:5f:01:2c:fb:eb brd ff:ff:ff:ff:ff:ff
   3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
       link/ether e4:5f:01:2c:fb:ec brd ff:ff:ff:ff:ff:ff
       inet 192.168.1.40/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
          valid_lft 86359sec preferred_lft 86359sec
       inet6 fe80::d665:8694:e568:be/64 scope link noprefixroute 
          valid_lft forever preferred_lft forever

e[95m*** [ DIAGNOSING ]:e[0m Network routing table
   default via 192.168.1.1 dev wlan0 proto dhcp src 192.168.1.40 metric 600 
   192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.40 metric 600 

e[95m*** [ DIAGNOSING ]:e[0m Networking
[e[32m✓e[0m] IPv4 address(es) bound to the wlan0 interface:
    192.168.1.40/24

[e[32m✓e[0m] IPv6 address(es) bound to the wlan0 interface:
    fe80::d665:8694:e568:be/64

[i] Default IPv4 gateway(s):
     192.168.1.1
   * Pinging first gateway 192.168.1.1...
[e[32m✓e[0m] e[32mGateway responded.e[0m
[i] Default IPv6 gateway(s):

e[95m*** [ DIAGNOSING ]:e[0m Ports in use
    udp:0.0.0.0:46657 is in use by pihole-FTL
    udp:0.0.0.0:47156 is in use by pihole-FTL
[e[32m✓e[0m] e[32mudp:0.0.0.0:53e[0m is in use by e[32mpihole-FTLe[0m
    udp:0.0.0.0:631 is in use by cups-browsed
    udp:0.0.0.0:48253 is in use by avahi-daemon
    udp:224.0.0.251:5353 is in use by chromium-browse
    udp:0.0.0.0:5353 is in use by avahi-daemon
    udp:0.0.0.0:36228 is in use by pihole-FTL
    udp:*:38490 is in use by avahi-daemon
[e[32m✓e[0m] e[32mudp:*:53e[0m is in use by e[32mpihole-FTLe[0m
    udp:*:5353 is in use by avahi-daemon
    tcp:0.0.0.0:5900 is in use by wayvnc
[e[32m✓e[0m] e[32mtcp:0.0.0.0:53e[0m is in use by e[32mpihole-FTLe[0m
    tcp:0.0.0.0:22 is in use by sshd
[e[32m✓e[0m] e[32mtcp:0.0.0.0:80e[0m is in use by e[32mlighttpde[0m
    tcp:127.0.0.1:631 is in use by cupsd
[e[32m✓e[0m] e[32mtcp:127.0.0.1:4711e[0m is in use by e[32mpihole-FTLe[0m
[e[32m✓e[0m] e[32mtcp:[::1]:4711e[0m is in use by e[32mpihole-FTLe[0m
    tcp:[::1]:631 is in use by cupsd
[e[32m✓e[0m] e[32mtcp:[::]:53e[0m is in use by e[32mpihole-FTLe[0m
    tcp:[::]:22 is in use by sshd
[e[32m✓e[0m] e[32mtcp:[::]:80e[0m is in use by e[32mlighttpde[0m

e[95m*** [ DIAGNOSING ]:e[0m Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[e[32m✓e[0m] flurry.com e[32mis e[0m on e[96mloe[0m (e[96m127.0.0.1e[0m)
[e[32m✓e[0m] No IPv4 address available on e[96meth0e[0m
[e[32m✓e[0m] flurry.com e[32mis e[0m on e[96mwlan0e[0m (e[96m192.168.1.40e[0m)
[e[32m✓e[0m] doubleclick.com e[32mis e[0m via e[96ma remote, public DNS servere[0m (8.8.8.8)

e[95m*** [ DIAGNOSING ]:e[0m Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
[e[32m✓e[0m] flurry.com e[32mis e[0m on e[96mloe[0m (e[96m::1e[0m)
[e[32m✓e[0m] No IPv6 address available on e[96meth0e[0m
[e[91m✗e[0m] e[91mFailed to resolvee[0m flurry.com on e[91mwlan0e[0m (e[91mfe80::d665:8694:e568:bee[0m)
[e[91m✗e[0m] e[91mFailed to resolvee[0m doubleclick.com via e[91ma remote, public DNS servere[0m (2001:4860:4860::8888)

e[95m*** [ DIAGNOSING ]:e[0m Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   Timeout: 10 seconds
   
   * Received 300 bytes from wlan0:192.168.1.1
     Offered IP address: 192.168.1.40
     Server IP address: 192.168.1.1
     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: 86400 ( 1d )
      renewal-time: 43200 ( 12h )
      rebinding-time: 75600 ( 21h )
      netmask: 255.255.255.0
      broadcast: 192.168.1.255
      wpad-server: "
"
      dns-server: 192.168.1.40
      router: 192.168.1.1
      --- end of options ---
   
   DHCP packets received on interface wlan0: 1

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole processes
[e[32m✓e[0m] e[32mlighttpde[0m daemon is e[32mactivee[0m
[e[32m✓e[0m] e[32mpihole-FTLe[0m daemon is e[32mactivee[0m

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole-FTL full status
   ● pihole-FTL.service - Pi-hole FTL
     Loaded: loaded (/etc/systemd/system/pihole-FTL.service; enabled; preset: enabled)
     Active: active (running) since Fri 2023-12-29 16:10:31 GMT; 39s ago
    Process: 9896 ExecStartPre=/opt/pihole/pihole-FTL-prestart.sh (code=exited, status=0/SUCCESS)
   Main PID: 9909 (pihole-FTL)
      Tasks: 19 (limit: 3912)
        CPU: 3.971s
     CGroup: /system.slice/pihole-FTL.service
             └─9909 /usr/bin/pihole-FTL -f

Dec 29 16:10:31 rpi400 pihole-FTL[9909]: [2023-12-29 16:10:31.922 9909M]    PIHOLE_PTR: internal PTR generation enabled (pi.hole)
Dec 29 16:10:31 rpi400 pihole-FTL[9909]: [2023-12-29 16:10:31.922 9909M]    ADDR2LINE: Enabled
Dec 29 16:10:31 rpi400 pihole-FTL[9909]: [2023-12-29 16:10:31.922 9909M]    REPLY_WHEN_BUSY: Drop queries when the database is busy
Dec 29 16:10:31 rpi400 pihole-FTL[9909]: [2023-12-29 16:10:31.922 9909M]    BLOCK_TTL: 2 seconds
Dec 29 16:10:31 rpi400 pihole-FTL[9909]: [2023-12-29 16:10:31.922 9909M]    BLOCK_ICLOUD_PR: Enabled
Dec 29 16:10:31 rpi400 pihole-FTL[9909]: [2023-12-29 16:10:31.922 9909M]    CHECK_LOAD: Enabled
Dec 29 16:10:31 rpi400 pihole-FTL[9909]: [2023-12-29 16:10:31.922 9909M]    CHECK_SHMEM: Warning if shared-memory usage exceeds 90%
Dec 29 16:10:31 rpi400 pihole-FTL[9909]: [2023-12-29 16:10:31.922 9909M]    CHECK_DISK: Warning if certain disk usage exceeds 90%
Dec 29 16:10:31 rpi400 pihole-FTL[9909]: [2023-12-29 16:10:31.922 9909M] Finished config file parsing
Dec 29 16:10:32 rpi400 pihole-FTL[9909]: [2023-12-29 16:10:31.923 99

e[95m*** [ DIAGNOSING ]:e[0m Lighttpd configuration test
[e[32m✓e[0m] e[32mNo error in lighttpd configuratione[0m

e[95m*** [ DIAGNOSING ]:e[0m Setup variables
    PIHOLE_INTERFACE=wlan0
    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
    DNSSEC=false
    REV_SERVER=false
    PIHOLE_DNS_1=8.8.8.8
    PIHOLE_DNS_2=8.8.4.4

e[95m*** [ DIAGNOSING ]:e[0m Dashboard headers
[e[32m✓e[0m] Web interface X-Header: e[32mX-Pi-hole: The Pi-hole Web interface is working!e[0m

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole FTL Query Database
e[32m-rw-rw-r-- 1 pihole pihole 30M Dec 29 16:11 /etc/pihole/pihole-FTL.dbe[0m

e[95m*** [ DIAGNOSING ]:e[0m Gravity Database
e[32m-rw-rw-r-- 1 pihole pihole 96K Dec 28 19:43 /etc/pihole/gravity.dbe[0m

e[95m*** [ DIAGNOSING ]:e[0m Info table
   property              value                                   
   --------------------  ----------------------------------------
   version               15                                      
   updated               1703792606                              
   gravity_count         0                                       
   Last gravity run finished at: e[96mThu Dec 28 19:43:26 GMT 2023e[0m

   e[96m----- First 10 Gravity Domains -----e[0m


e[95m*** [ DIAGNOSING ]:e[0m Groups
   id    enabled  name                                                date_added           date_modified        description                                       
   ----  -------  --------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   0           1  Default                                             2023-12-22 19:40:32  2023-12-22 19:40:32  The default group                                 

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

e[95m*** [ DIAGNOSING ]:e[0m Clients

e[95m*** [ DIAGNOSING ]:e[0m Adlists
   id     enabled  group_ids     address                                                                                               date_added           date_modified        comment                                           
   -----  -------  ------------  ----------------------------------------------------------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   1         0     0             https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts                                      2023-12-22 19:40:32  2023-12-22 22:10:01  Migrated from /etc/pihole/adlists.list            

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/piholee[0m

e[32m-rw-r--r-- 1 root root 0 Dec 22 19:40 /etc/pihole/custom.liste[0m

e[32m-rw-r--r-- 1 root root 65 Dec 28 19:43 /etc/pihole/local.liste[0m

e[32m-rw-r--r-- 1 root root 241 Dec 22 19:40 /etc/pihole/logrotatee[0m
   /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
   }

e[32m-rw-rw-r-- 1 pihole root 146 Dec 29 16:10 /etc/pihole/pihole-FTL.confe[0m
   PRIVACYLEVEL=0
   RATE_LIMIT=1000/60

e[32m-rw-r--r-- 1 root root 321 Dec 29 12:27 /etc/pihole/versionse[0m
   CORE_VERSION=v5.17.2
   CORE_BRANCH=master
   CORE_HASH=60b6a101
   GITHUB_CORE_VERSION=v5.17.2
   GITHUB_CORE_HASH=60b6a101
   WEB_VERSION=v5.21
   WEB_BRANCH=master
   WEB_HASH=be05b0f6
   GITHUB_WEB_VERSION=v5.21
   GITHUB_WEB_HASH=be05b0f6
   FTL_VERSION=v5.23
   FTL_BRANCH=master
   FTL_HASH=d201776e
   GITHUB_FTL_VERSION=v5.23
   GITHUB_FTL_HASH=1a114133

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/dnsmasq.de[0m

e[32m-rw-r--r-- 1 root root 1.4K Dec 29 16:10 /etc/dnsmasq.d/01-pihole.confe[0m
   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=8.8.8.8
   server=8.8.4.4
   domain-needed
   expand-hosts
   bogus-priv
   local-service

e[32m-rw-r--r-- 1 root root 2.2K Dec 28 19:43 /etc/dnsmasq.d/06-rfc6761.confe[0m
   server=/test/
   server=/localhost/
   server=/invalid/
   server=/bind/
   server=/onion/

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/lighttpde[0m

e[32m-rw-r--r-- 1 root root 2.2K Feb 11  2023 /etc/lighttpd/lighttpd.confe[0m
   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",
   )

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/lighttpd/conf.de[0m
e[91m/etc/lighttpd/conf.d does not exist.e[0m

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/lighttpd/conf-enablede[0m
total 0
lrwxrwxrwx 1 root root 32 Dec 22 19:40 05-setenv.conf -> ../conf-available/05-setenv.conf
lrwxrwxrwx 1 root root 35 Dec 22 19:40 10-accesslog.conf -> ../conf-available/10-accesslog.conf
lrwxrwxrwx 1 root root 33 Dec 22 19:40 10-fastcgi.conf -> ../conf-available/10-fastcgi.conf
lrwxrwxrwx 1 root root 38 Dec 22 19:40 15-pihole-admin.conf -> ../conf-available/15-pihole-admin.conf
lrwxrwxrwx 1 root root 42 Oct 10 04:47 90-javascript-alias.conf -> ../conf-available/90-javascript-alias.conf

e[32mlrwxrwxrwx 1 root root 38 Dec 22 19:40 /etc/lighttpd/conf-enabled/15-pihole-admin.conf -> ../conf-available/15-pihole-admin.confe[0m
   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" )

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/cron.de[0m

e[32m-rw-r--r-- 1 root root 1.7K Dec 28 19:43 /etc/cron.d/piholee[0m
   8 3   * * 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
   27 12  * * *   root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker
   @reboot root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker reboot

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/var/log/lighttpde[0m

e[32m-rw-r--r-- 1 www-data www-data 6.1K Dec 29 09:57 /var/log/lighttpd/error-pihole.loge[0m
   e[96m-----head of error-pihole.log------e[0m
   2023-12-22 19:40:26: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-22 22:30:56: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 44662784 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:30:58: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 47038464 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:01: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 48238592 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:03: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 48238592 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:08: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 48238592 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:10: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 23072768 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:14: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 18878464 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:18: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 14684160 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:25: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 10489856 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:29: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 10489856 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:33: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 10485760 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:37: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4198400 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:40: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4198400 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:43: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 1359872 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 60
   2023-12-22 22:31:47: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 21
   2023-12-22 22:32:34: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/admin/scripts/pi-hole/php/tailLog.php on line 21
   2023-12-22 23:02:19: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-22 23:02:37: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-22 23:35:18: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-22 23:35:35: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-22 23:35:52: (server.c.320) warning: clock jumped 10968 secs
   2023-12-22 23:35:52: (server.c.328) attempting graceful restart in < ~5 seconds, else hard restart
   2023-12-23 02:38:40: (server.c.1057) [note] graceful shutdown started
   2023-12-23 02:38:40: (server.c.2078) server stopped by UID = 33 PID = 1313

   e[96m-----tail of error-pihole.log------e[0m
   2023-12-23 03:48:42: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-23 03:48:57: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-23 03:49:16: (server.c.320) warning: clock jumped 12959 secs
   2023-12-23 03:49:16: (server.c.328) attempting graceful restart in < ~5 seconds, else hard restart
   2023-12-23 07:25:15: (server.c.1057) [note] graceful shutdown started
   2023-12-23 07:25:15: (server.c.2078) server stopped by UID = 33 PID = 1141
   2023-12-23 07:25:15: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-23 07:26:31: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-23 07:26:32: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-23 07:34:58: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-23 07:35:15: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-23 07:35:32: (server.c.320) warning: clock jumped 473408 secs
   2023-12-23 07:35:32: (server.c.328) attempting graceful restart in < ~5 seconds, else hard restart
   2023-12-28 19:05:40: (server.c.1057) [note] graceful shutdown started
   2023-12-28 19:05:40: (server.c.2078) server stopped by UID = 33 PID = 1312
   2023-12-28 19:05:40: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-28 19:43:18: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-28 19:43:19: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-28 21:00:03: (server.c.2078) server stopped by UID = 0 PID = 1
   2023-12-28 21:00:20: (server.c.1704) server started (lighttpd/1.4.69)
   2023-12-28 21:00:37: (server.c.320) warning: clock jumped 46609 secs
   2023-12-28 21:00:37: (server.c.328) attempting graceful restart in < ~5 seconds, else hard restart
   2023-12-29 09:57:26: (server.c.1057) [note] graceful shutdown started
   2023-12-29 09:57:26: (server.c.2078) server stopped by UID = 33 PID = 1159
   2023-12-29 09:57:26: (server.c.1704) server started (lighttpd/1.4.69)

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/var/log/piholee[0m

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

   e[96m-----tail of FTL.log------e[0m
   [2023-12-29 16:10:31.926 9909M] Database successfully initialized
   [2023-12-29 16:10:31.953 9909M] New upstream server: 8.8.8.8:53 (0/512)
   [2023-12-29 16:10:31.966 9909M] New upstream server: 8.8.4.4:53 (1/512)
   [2023-12-29 16:10:31.975 9909M] Resizing "FTL-queries" from 229376 to (8192 * 56) == 458752 (/dev/shm: 50.7MB used, 2.0GB total, FTL uses 741.7KB)
   [2023-12-29 16:10:31.003 9909M] Resizing "FTL-queries" from 458752 to (12288 * 56) == 688128 (/dev/shm: 50.9MB used, 2.0GB total, FTL uses 971.1KB)
   [2023-12-29 16:10:32.029 9909M] Resizing "FTL-queries" from 688128 to (16384 * 56) == 917504 (/dev/shm: 51.2MB used, 2.0GB total, FTL uses 1.2MB)
   [2023-12-29 16:10:32.058 9909M] Resizing "FTL-queries" from 917504 to (20480 * 56) == 1146880 (/dev/shm: 51.4MB used, 2.0GB total, FTL uses 1.4MB)
   [2023-12-29 16:10:32.087 9909M] New upstream server: 208.67.220.220:53 (2/512)
   [2023-12-29 16:10:32.092 9909M] Resizing "FTL-queries" from 1146880 to (24576 * 56) == 1376256 (/dev/shm: 51.4MB used, 2.0GB total, FTL uses 1.7MB)
   [2023-12-29 16:10:32.104 9909M] New upstream server: 208.67.222.222:53 (3/512)
   [2023-12-29 16:10:32.119 9909M] Resizing "FTL-queries" from 1376256 to (28672 * 56) == 1605632 (/dev/shm: 51.6MB used, 2.0GB total, FTL uses 1.9MB)
   [2023-12-29 16:10:32.150 9909M] Resizing "FTL-queries" from 1605632 to (32768 * 56) == 1835008 (/dev/shm: 51.0MB used, 2.0GB total, FTL uses 2.1MB)
   [2023-12-29 16:10:32.170 9909M] Imported 31292 queries from the long-term database
   [2023-12-29 16:10:32.171 9909M]  -> Total DNS queries: 31292
   [2023-12-29 16:10:32.171 9909M]  -> Cached DNS queries: 279
   [2023-12-29 16:10:32.171 9909M]  -> Forwarded DNS queries: 26249
   [2023-12-29 16:10:32.171 9909M]  -> Blocked DNS queries: 10
   [2023-12-29 16:10:32.171 9909M]  -> Unknown DNS queries: 4396
   [2023-12-29 16:10:32.171 9909M]  -> Unique domains: 383
   [2023-12-29 16:10:32.171 9909M]  -> Unique clients: 15
   [2023-12-29 16:10:32.171 9909M]  -> Known forward destinations: 4
   [2023-12-29 16:10:32.172 9909M] Successfully accessed setupVars.conf
   [2023-12-29 16:10:32.173 9909M] listening on 0.0.0.0 port 53
   [2023-12-29 16:10:32.173 9909M] listening on :: port 53
   [2023-12-29 16:10:32.175 9909M] PID of FTL process: 9909
   [2023-12-29 16:10:32.175 9909M] Listening on port 4711 for incoming IPv4 telnet connections
   [2023-12-29 16:10:32.176 9909M] Listening on port 4711 for incoming IPv6 telnet connections
   [2023-12-29 16:10:32.177 9909M] Listening on port 4711 for incoming socket telnet connections
   [2023-12-29 16:10:32.178 9909M] INFO: FTL is running as user pihole (UID 999)
   [2023-12-29 16:10:32.179 9909M] Reloading DNS cache
   [2023-12-29 16:10:32.281 9909/T9943] Compiled 0 whitelist and 0 blacklist regex filters for 15 clients in 0.6 msec
   [2023-12-29 16:10:32.281 9909/T9943] Blocking status is enabled
   [2023-12-29 16:10:33.131 9909M] Rate-limiting 192.168.1.1 for at least 59 seconds
   [2023-12-29 16:10:38.072 9909M] Resizing "FTL-queries" from 1835008 to (36864 * 56) == 2064384 (/dev/shm: 51.6MB used, 2.0GB total, FTL uses 2.3MB)
   [2023-12-29 16:10:46.145 9909M] Rate-limiting 192.168.1.89 for at least 46 seconds

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/dev/shme[0m
total 2.5M
-rw------- 1 pihole pihole  84K Dec 29 16:10 FTL-clients
-rw------- 1 pihole pihole  248 Dec 29 16:10 FTL-counters
-rw------- 1 pihole pihole 4.0K Dec 29 16:10 FTL-dns-cache
-rw------- 1 pihole pihole  12K Dec 29 16:10 FTL-domains
-rw------- 1 pihole pihole  104 Dec 29 16:10 FTL-lock
-rw------- 1 pihole pihole 8.0K Dec 29 16:10 FTL-overTime
-rw------- 1 pihole pihole 4.0K Dec 29 16:10 FTL-per-client-regex
-rw------- 1 pihole pihole 2.0M Dec 29 16:11 FTL-queries
-rw------- 1 pihole pihole   16 Dec 29 16:10 FTL-settings
-rw------- 1 pihole pihole  80K Dec 29 16:10 FTL-strings
-rw------- 1 pihole pihole 308K Dec 29 16:10 FTL-upstreams
-rw-rw-rw- 1 trinh  trinh  4.0K Dec 28 21:00 lttng-ust-wait-8
-rw-r----- 1 trinh  trinh  4.0K Dec 28 21:00 lttng-ust-wait-8-1000

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etce[0m

e[32m-rw-r--r-- 1 root root 24 Dec 28 19:43 /etc/dnsmasq.confe[0m
   conf-dir=/etc/dnsmasq.d

e[32m-rw-r--r-- 1 root root 54 Dec 29 16:10 /etc/resolv.confe[0m
   nameserver 192.168.1.40

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole diagnosis messages
   count   last timestamp       type                  message                                                       blob1                 blob2                 blob3                 blob4                 blob5               
   ------  -------------------  --------------------  ------------------------------------------------------------  --------------------  --------------------  --------------------  --------------------  --------------------
   1       2023-12-29 16:10:33  RATE_LIMIT            192.168.1.1                                                   1000                  60                                                                                    
   1       2023-12-29 16:10:46  RATE_LIMIT            192.168.1.89                                                  1000                  60                                                                                    

e[95m*** [ DIAGNOSING ]:e[0m Locale
    LANG=

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole log
e[32m-rw-r----- 1 pihole pihole 59M Dec 29 16:11 /var/log/pihole/pihole.loge[0m
   e[96m-----head of pihole.log------e[0m
   Dec 28 21:00:22 dnsmasq[1134]: query[PTR] 40.1.168.192.in-addr.arpa from 127.0.0.1
   Dec 28 21:00:22 dnsmasq[1134]: config 40.1.168.192.in-addr.arpa is <PTR>
   Dec 28 21:00:22 dnsmasq[1134]: query[PTR] 8.8.8.8.in-addr.arpa from 127.0.0.1
   Dec 28 21:00:22 dnsmasq[1134]: forwarded 8.8.8.8.in-addr.arpa to 8.8.8.8
   Dec 28 21:00:22 dnsmasq[1134]: forwarded 8.8.8.8.in-addr.arpa to 8.8.4.4
   Dec 28 21:00:22 dnsmasq[1134]: reply 8.8.8.8 is dns.google
   Dec 28 21:00:22 dnsmasq[1134]: query[PTR] 4.4.8.8.in-addr.arpa from 127.0.0.1
   Dec 28 21:00:22 dnsmasq[1134]: forwarded 4.4.8.8.in-addr.arpa to 8.8.8.8
   Dec 28 21:00:22 dnsmasq[1134]: reply 8.8.4.4 is dns.google
   Dec 29 09:59:56 dnsmasq[1134]: query[A] update.googleapis.com from 127.0.0.1
   Dec 29 09:59:56 dnsmasq[1134]: config error is REFUSED (EDE: network error)
   Dec 29 09:59:56 dnsmasq[1134]: query[A] update.googleapis.com from 127.0.0.1
   Dec 29 09:59:56 dnsmasq[1134]: config error is REFUSED (EDE: network error)
   Dec 29 09:59:56 dnsmasq[1134]: query[A] update.googleapis.com from 127.0.0.1
   Dec 29 09:59:56 dnsmasq[1134]: config error is REFUSED (EDE: network error)
   Dec 29 09:59:56 dnsmasq[1134]: query[A] update.googleapis.com from 127.0.0.1
   Dec 29 09:59:56 dnsmasq[1134]: config error is REFUSED (EDE: network error)
   Dec 29 09:59:59 dnsmasq[1134]: query[A] router.asus.com from 127.0.0.1
   Dec 29 09:59:59 dnsmasq[1134]: config error is REFUSED (EDE: network error)
   Dec 29 09:59:59 dnsmasq[1134]: query[HTTPS] router.asus.com from 127.0.0.1

   e[96m-----tail of pihole.log------e[0m
   Dec 29 16:11:16 dnsmasq[9909]: config error is REFUSED (EDE: blocked)
   Dec 29 16:11:16 dnsmasq[9909]: Rate-limiting pool.ntp.org is REFUSED (EDE: blocked)
   Dec 29 16:11:16 dnsmasq[9909]: query[A] time.google.com from 192.168.1.89
   Dec 29 16:11:16 dnsmasq[9909]: config error is REFUSED (EDE: blocked)
   Dec 29 16:11:16 dnsmasq[9909]: Rate-limiting time.google.com is REFUSED (EDE: blocked)
   Dec 29 16:11:16 dnsmasq[9909]: query[A] pool.ntp.org from 192.168.1.89
   Dec 29 16:11:16 dnsmasq[9909]: config error is REFUSED (EDE: blocked)
   Dec 29 16:11:16 dnsmasq[9909]: Rate-limiting pool.ntp.org is REFUSED (EDE: blocked)
   Dec 29 16:11:16 dnsmasq[9909]: query[A] time.google.com from 192.168.1.89
   Dec 29 16:11:16 dnsmasq[9909]: config error is REFUSED (EDE: blocked)
   Dec 29 16:11:16 dnsmasq[9909]: Rate-limiting time.google.com is REFUSED (EDE: blocked)
   Dec 29 16:11:16 dnsmasq[9909]: query[A] pool.ntp.org from 192.168.1.89
   Dec 29 16:11:16 dnsmasq[9909]: config error is REFUSED (EDE: blocked)
   Dec 29 16:11:16 dnsmasq[9909]: Rate-limiting pool.ntp.org is REFUSED (EDE: blocked)
   Dec 29 16:11:16 dnsmasq[9909]: query[A] time.google.com from 192.168.1.89
   Dec 29 16:11:16 dnsmasq[9909]: config error is REFUSED (EDE: blocked)
   Dec 29 16:11:16 dnsmasq[9909]: Rate-limiting time.google.com is REFUSED (EDE: blocked)
   Dec 29 16:11:16 dnsmasq[9909]: query[A] pool.ntp.org from 192.168.1.89
   Dec 29 16:11:16 dnsmasq[9909]: config error is REFUSED (EDE: blocked)
   Dec 29 16:11:16 dnsmasq[9909]: Rate-limiting pool.ntp.org is REFUSED (EDE: blocked)

Is there anything else I can try to try and narrow down the issue?

Hi!

I found the culprit! It was this option in my router firmware:

Disabling this did the trick. It works now beautifully.

Before closing this thread, it would be useful if someone was able to spot how I could have known that something was amiss via the debug log?

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