FTL service is offline

The issue I am facing:

 [✗] DNS service is NOT running
The FTL service is offline!

  [✓] Storing downloaded domains in new gravity database
  [✓] Building tree
  [✓] Swapping databases
  [i] Number of gravity domains: 86548 (86511 unique domains)
  [i] Number of exact blacklisted domains: 0
  [i] Number of regex blacklist filters: 0
  [i] Number of exact whitelisted domains: 0
  [i] Number of regex whitelist filters: 0
  [✗] 
  [✓] Cleaning up stray matter
  [✓] Restarting DNS server

  [✗] DNS service is NOT running

Details about my system:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"

NAME="Ubuntu"

VERSION="20.04.1 LTS (Focal Fossa)"

ID=ubuntu

ID_LIKE=debian
VERSION_CODENAME=focal

UBUNTU_CODENAME=focal

Using encypted dns from cloundflare. it is working.

dig -p 5053 www.nixcraft.com @127.0.0.1

; <<>> DiG 9.16.1-Ubuntu <<>> -p 9953 www.nixcraft.com @127.0.0.1

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54910

;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 1232

;; QUESTION SECTION:

;www.nixcraft.com. IN A

;; ANSWER SECTION:

www.nixcraft.com. 3600 IN A 72.14.186.145

;; Query time: 64 msec

;; SERVER: 127.0.0.1#5053(127.0.0.1)

;; WHEN: Wed Nov 11 16:56:08 EST 2020

;; MSG SIZE rcvd: 77

What I have changed since installing Pi-hole:
I was a dumbass and decided to try netplan on Ubuntu 20.4.1 LTS. Big mistake. I have reverted back to ifupdown since. netplan is not worth the trouble.

Debug token: https://tricorder.pi-hole.net/fq69j0i3px

Things i have tried:
changing the resolve.conf I can ping google.com. seems like i am getting ping back from local servers and also from google

pihole -r repair
didn't work.

**sudo systemctl status systemd-resolved.service**
● systemd-resolved.service - Network Name Resolution
     Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled)
     Active: active (running) since Wed 2020-11-11 16:30:00 EST; 19min ago
       Docs: man:systemd-resolved.service(8)
             https://www.freedesktop.org/wiki/Software/systemd/resolved
             https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
             https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
   Main PID: 92570 (systemd-resolve)
     Status: "Processing requests..."
      Tasks: 1 (limit: 77215)
     Memory: 4.6M
     CGroup: /system.slice/systemd-resolved.service
             └─92570 /lib/systemd/systemd-resolved

Nov 11 16:30:00 db systemd[1]: Starting Network Name Resolution...
Nov 11 16:30:00 db systemd-resolved[92570]: Positive Trust Anchors:
Nov 11 16:30:00 db systemd-resolved[92570]: . IN DS 20326 8 2 *** 
Nov 11 16:30:00 db systemd-resolved[92570]: Negative trust (***
Nov 11 16:30:00 db systemd-resolved[92570]: Using system hostname 'xxx'.
Nov 11 16:30:00 db systemd[1]: Started Network Name Resolution. 
**sudo systemctl status --full --no-pager pihole-FTL.service**
● pihole-FTL.service - LSB: pihole-FTL daemon
     Loaded: loaded (/etc/init.d/pihole-FTL; generated)
     Active: active (exited) since Wed 2020-11-11 16:47:39 EST; 3min 56s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 101005 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)

Nov 11 16:47:39 db systemd[1]: Starting LSB: pihole-FTL daemon...
Nov 11 16:47:39 db pihole-FTL[101005]: Not running
Nov 11 16:47:39 db su[101028]: (to pihole) root on none
Nov 11 16:47:39 db su[101028]: pam_unix(su:session): session opened for user pihole by (uid=0)
Nov 11 16:47:39 db su[101028]: pam_unix(su:session): session closed for user pihole
Nov 11 16:47:39 db systemd[1]: Started LSB: pihole-FTL daemon.

LOG

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.

*** [ INITIALIZING ]
[i] 2020-11-11:16:41:20 debug log has been initialized.

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

*** [ DIAGNOSING ]: Core version
[i] Core: v5.1.2 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Remotes: origin	https://github.com/pi-hole/pi-hole.git (fetch)
             origin	https://github.com/pi-hole/pi-hole.git (push)
[i] Branch: master
[i] Commit: v5.1.2-0-g6b536b7

*** [ DIAGNOSING ]: Web version
[i] Web: v5.1.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Remotes: origin	https://github.com/pi-hole/AdminLTE.git (fetch)
             origin	https://github.com/pi-hole/AdminLTE.git (push)
[i] Branch: master
[i] Commit: v5.1.1-0-ga03d1bd

*** [ DIAGNOSING ]: FTL version
[✓] FTL: v5.2

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

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

*** [ DIAGNOSING ]: Operating system
[✓] Distro:  Ubuntu
[✓] Version: 20.04

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

*** [ DIAGNOSING ]: Processor
[i] x86_64

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eno1 interface:
   192.168.1.110/24 matches the IP found in /etc/pihole/setupVars.conf

[✓] IPv6 address(es) bound to the eno1 interface:
   fe80::60ce:b4e1:ca3:95f0 matches the IP found in /etc/pihole/setupVars.conf

   ^ Please note that you may have more than one IP address listed.
   As long as one of them is green, and it matches what is in /etc/pihole/setupVars.conf, there is no need for concern.

   The link to the FAQ is for an issue that sometimes occurs when the IPv6 address changes, which is why we check for it.

[i] Default IPv4 gateway: 192.168.1.1
   * Pinging 192.168.1.1...
[✓] Gateway responded.

*** [ DIAGNOSING ]: Ports in use
*:111 systemd (IPv4)
*:111 systemd (IPv6)
*:111 rpcbind (IPv4)
*:111 rpcbind (IPv6)
*:41425 rpc.mountd (IPv4)
*:58223 rpc.mountd (IPv6)
*:47391 rpc.mountd (IPv4)
*:60965 rpc.mountd (IPv6)
*:51835 rpc.mountd (IPv4)
*:34917 rpc.mountd (IPv6)
127.0.0.1:32771 cloudflare (IPv4)
127.0.0.1:5053 cloudflare (IPv4)
*:22 sshd (IPv4)
*:22 sshd (IPv6)
*:6379 redis-serv (IPv4)
*:5432 postgres (IPv4)
*:5432 postgres (IPv6)
[80] is in use by lighttpd
[80] is in use by lighttpd

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✗] Failed to resolve safecrypt.net via localhost (127.0.0.1)
[✗] Failed to resolve safecrypt.net via Pi-hole (192.168.1.110)
[✓] doubleclick.com is 172.217.12.174 via a remote, public DNS server (8.8.8.8)

*** [ DIAGNOSING ]: Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
[✗] Failed to resolve zimeks.com.mk via localhost (::1)
[✗] Failed to resolve zimeks.com.mk via Pi-hole (fe80::60ce:b4e1:ca3:95f0)
[✗] Failed to resolve doubleclick.com via a remote, public DNS server (2001:4860:4860::8888)

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

*** [ DIAGNOSING ]: Setup variables
    PIHOLE_INTERFACE=eno1
    IPV4_ADDRESS=192.168.1.110/24
    IPV6_ADDRESS=fe80::60ce:b4e1:ca3:95f0
    PIHOLE_DNS_1=127.0.0.1#5053
    PIHOLE_DNS_2=127.0.0.1#5053
    QUERY_LOGGING=true
    INSTALL_WEB_SERVER=true
    INSTALL_WEB_INTERFACE=true
    LIGHTTPD_ENABLED=true

*** [ DIAGNOSING ]: Dashboard and block page
[✓] Block page X-Header: X-Pi-hole: A black hole for Internet advertisements.
[✓] Web interface X-Header: X-Pi-hole: The Pi-hole Web interface is working!

*** [ DIAGNOSING ]: Gravity List and Database
-rw-rw-r-- 1 pihole pihole 5210112 Nov 11 16:29 /etc/pihole/gravity.db

*** [ DIAGNOSING ]: Info table
   property              value                                   
   --------------------  ----------------------------------------
   version               12                                      
   updated               1605130144                              
   gravity_count         86511                                   
   Last gravity run finished at: Wed 11 Nov 2020 04:29:04 PM EST

   ----- First 10 Gravity Domains -----
   localhost.localdomain
   n2019cov.000webhostapp.com
   webmail-who-int.000webhostapp.com
   010sec.com
   01mspmd5yalky8.com
   0byv9mgbn0.com
   ns6.0pendns.org
   dns.0pengl.com
   ios.0pengl.com
   0x4fc271.tk


*** [ DIAGNOSING ]: Groups
   id    enabled  name                                                date_added           date_modified        description                                       
   ----  -------  --------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   0           1  Default                                             2020-11-11 16:08:54  2020-11-11 16:08:54  The default group                                 

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

*** [ DIAGNOSING ]: Clients

*** [ DIAGNOSING ]: Adlists
   id    enabled  group_ids     address                                                                                               date_added           date_modified        comment                                           
   ----  -------  ------------  ----------------------------------------------------------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   1           1  0             https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts                                      2020-11-11 16:08:54  2020-11-11 16:08:54  Migrated from /etc/pihole/adlists.list            
   2           1  0             https://mirror1.malwaredomains.com/files/justdomains                                                  2020-11-11 16:08:54  2020-11-11 16:08:54  Migrated from /etc/pihole/adlists.list            

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

-rw-r--r-- 1 root root 100 Nov 11 16:29 /etc/pihole/local.list
   192.168.1.110 db
   fe80::60ce:b4e1:ca3:95f0 db
   192.168.1.110 pi.hole
   fe80::60ce:b4e1:ca3:95f0 pi.hole

-rw-r--r-- 1 root root 238 Nov 11 16:08 /etc/pihole/logrotate
   /var/log/pihole.log {
   	su root syslog
   	daily
   	copytruncate
   	rotate 5
   	compress
   	delaycompress
   	notifempty
   	nomail
   }
   /var/log/pihole-FTL.log {
   	su root syslog
   	weekly
   	copytruncate
   	rotate 3
   	compress
   	delaycompress
   	notifempty
   	nomail
   }

-rw-rw-r-- 1 pihole root 15 Nov 11 16:08 /etc/pihole/pihole-FTL.conf
   PRIVACYLEVEL=0

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

-rw-r--r-- 1 root root 1399 Nov 11 16:08 /etc/dnsmasq.d/01-pihole.conf
   addn-hosts=/etc/pihole/local.list
   addn-hosts=/etc/pihole/custom.list
   localise-queries
   no-resolv
   cache-size=10000
   log-queries
   log-facility=/var/log/pihole.log
   local-ttl=2
   log-async
   server=127.0.0.1
   server=127.0.0.1
   interface=eno1
   server=/use-application-dns.net/

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

-rw-r--r-- 1 root root 0 Nov 11 16:08 /etc/lighttpd/external.conf

-rw-r--r-- 1 root root 4066 Nov 11 16:08 /etc/lighttpd/lighttpd.conf
   server.modules = (
       "mod_access",
       "mod_accesslog",
       "mod_auth",
       "mod_expire",
       "mod_compress",
       "mod_redirect",
       "mod_setenv",
       "mod_rewrite"
   )
   server.document-root        = "/var/www/html"
   server.error-handler-404    = "/pihole/index.php"
   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
   accesslog.filename          = "/var/log/lighttpd/access.log"
   accesslog.format            = "%{%s}t|%V|%r|%s|%b"
   index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
   url.access-deny             = ( "~", ".inc", ".md", ".yml", ".ini" )
   static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
   compress.cache-dir = "/var/cache/lighttpd/compress/"
   compress.filetype  = (
       "application/json",
       "application/vnd.ms-fontobject",
       "application/xml",
       "font/eot",
       "font/opentype",
       "font/otf",
       "font/ttf",
       "image/bmp",
       "image/svg+xml",
       "image/vnd.microsoft.icon",
       "image/x-icon",
       "text/css",
       "text/html",
       "text/javascript",
       "text/plain",
       "text/xml"
   )
   mimetype.assign = (
       ".ico"   => "image/x-icon",
       ".jpeg"  => "image/jpeg",
       ".jpg"   => "image/jpeg",
       ".png"   => "image/png",
       ".svg"   => "image/svg+xml",
       ".css"   => "text/css; charset=utf-8",
       ".html"  => "text/html; charset=utf-8",
       ".js"    => "text/javascript; charset=utf-8",
       ".json"  => "application/json; charset=utf-8",
       ".map"   => "application/json; charset=utf-8",
       ".txt"   => "text/plain; charset=utf-8",
       ".eot"   => "application/vnd.ms-fontobject",
       ".otf"   => "font/otf",
       ".ttc"   => "font/collection",
       ".ttf"   => "font/ttf",
       ".woff"  => "font/woff",
       ".woff2" => "font/woff2"
   )
   include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
   include_shell "find /etc/lighttpd/conf-enabled -name '*.conf' -a ! -name 'letsencrypt.conf' -printf 'include \"%p\"
' 2>/dev/null"
   $HTTP["url"] =~ "^/admin/" {
       
       setenv.add-response-header = (
           "X-Pi-hole" => "The Pi-hole Web interface is working!",
           "X-Frame-Options" => "DENY"
       )
       $HTTP["url"] =~ "\.(eot|otf|tt[cf]|woff2?)$" {
           
           setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
       }
   }
   $HTTP["url"] =~ "^/admin/\.(.*)" {
       url.access-deny = ("")
   }
   expire.url = ( "" => "access plus 0 seconds" )
   include_shell "cat external.conf 2>/dev/null"

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

-rw-r--r-- 1 root root 1754 Nov 11 16:08 /etc/cron.d/pihole
   6 3   * * 7   root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updateGravity >/var/log/pihole_updateGravity.log || cat /var/log/pihole_updateGravity.log
   00 00   * * *   root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole flush once quiet
   @reboot root /usr/sbin/logrotate /etc/pihole/logrotate
   */10 *  * * *   root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker local
   45 12  * * *   root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker remote
   @reboot root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker remote reboot

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

-rw-r--r-- 1 www-data www-data 21375 Nov 11 16:41 /var/log/lighttpd/error.log
   2020-11-10 00:00:52: (server.c.1785) logfiles cycled UID = 0 PID = 14926 
   2020-11-10 14:21:20: (server.c.1970) server stopped by UID = 0 PID = 1 
   2020-11-10 14:26:08: (server.c.1488) server started (lighttpd/1.4.55) 
   2020-11-11 00:30:20: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  dns_get_record(): A temporary server error occurred. in /var/www/html/pihole/index.php on line 188
   2020-11-11 00:30:20: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Trying to access array offset on value of type bool in /var/www/html/pihole/index.php on line 188
   2020-11-11 00:30:20: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /var/www/html/pihole/index.php on line 189
   2020-11-11 00:30:41: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  dns_get_record(): A temporary server error occurred. in /var/www/html/pihole/index.php on line 188
   2020-11-11 00:30:41: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Trying to access array offset on value of type bool in /var/www/html/pihole/index.php on line 188
   2020-11-11 00:30:41: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /var/www/html/pihole/index.php on line 189
   2020-11-11 00:30:46: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  dns_get_record(): A temporary server error occurred. in /var/www/html/pihole/index.php on line 188
   2020-11-11 00:30:46: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Trying to access array offset on value of type bool in /var/www/html/pihole/index.php on line 188
   2020-11-11 00:30:46: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /var/www/html/pihole/index.php on line 189
   2020-11-11 00:33:27: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Trying to access array offset on value of type null in /var/www/html/admin/settings.php on line 23
   2020-11-11 00:33:27: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Trying to access array offset on value of type null in /var/www/html/admin/settings.php on line 23
   2020-11-11 00:33:36: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Trying to access array offset on value of type null in /var/www/html/admin/settings.php on line 23
   2020-11-11 00:33:36: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Trying to access array offset on value of type null in /var/www/html/admin/settings.php on line 23
   2020-11-11 00:33:41: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Trying to access array offset on value of type null in /var/www/html/admin/settings.php on line 23
   2020-11-11 00:33:41: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Trying to access array offset on value of type null in /var/www/html/admin/settings.php on line 23
   2020-11-11 00:34:41: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Trying to access array offset on value of type null in /var/www/html/admin/settings.php on line 23
   2020-11-11 00:34:41: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Trying to access array offset on value of type null in /var/www/html/admin/settings.php on line 23
   2020-11-11 00:43:37: (server.c.1970) server stopped by UID = 0 PID = 1 
   2020-11-11 00:43:38: (server.c.1488) server started (lighttpd/1.4.55) 
   2020-11-11 00:45:50: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Trying to access array offset on value of type null in /var/www/html/admin/settings.php on line 17
   2020-11-11 00:45:50: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice:  Trying to access array offset on value of type null in /var/www/html/admin/settings.php on line 17
   2020-11-11 00:47:53: (server.c.1970) server stopped by UID = 0 PID = 1 

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

-rw-r--r-- 1 pihole pihole 17371 Nov 11 16:41 /var/log/pihole-FTL.log
   -----head of pihole-FTL.log------
   [2020-11-11 16:08:54.340 82205M] Using log file /var/log/pihole-FTL.log
   [2020-11-11 16:08:54.340 82205M] ########## FTL started! ##########
   [2020-11-11 16:08:54.340 82205M] FTL branch: master
   [2020-11-11 16:08:54.340 82205M] FTL version: v5.2
   [2020-11-11 16:08:54.340 82205M] FTL commit: dbd4a69
   [2020-11-11 16:08:54.340 82205M] FTL date: 2020-08-09 22:09:43 +0100
   [2020-11-11 16:08:54.340 82205M] FTL user: pihole
   [2020-11-11 16:08:54.340 82205M] Compiled for x86_64 (compiled on CI) using gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
   [2020-11-11 16:08:54.340 82205M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
   [2020-11-11 16:08:54.340 82205M]    SOCKET_LISTENING: only local
   [2020-11-11 16:08:54.340 82205M]    AAAA_QUERY_ANALYSIS: Show AAAA queries
   [2020-11-11 16:08:54.340 82205M]    MAXDBDAYS: max age for stored queries is 365 days
   [2020-11-11 16:08:54.340 82205M]    RESOLVE_IPV6: Resolve IPv6 addresses
   [2020-11-11 16:08:54.340 82205M]    RESOLVE_IPV4: Resolve IPv4 addresses
   [2020-11-11 16:08:54.340 82205M]    DBINTERVAL: saving to DB file every minute
   [2020-11-11 16:08:54.340 82205M]    DBFILE: Using /etc/pihole/pihole-FTL.db
   [2020-11-11 16:08:54.340 82205M]    MAXLOGAGE: Importing up to 24.0 hours of log data
   [2020-11-11 16:08:54.340 82205M]    PRIVACYLEVEL: Set to 0
   [2020-11-11 16:08:54.340 82205M]    IGNORE_LOCALHOST: Show queries from localhost
   [2020-11-11 16:08:54.340 82205M]    BLOCKINGMODE: Null IPs for blocked domains
   [2020-11-11 16:08:54.341 82205M]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
   [2020-11-11 16:08:54.341 82205M]    DBIMPORT: Importing history from database
   [2020-11-11 16:08:54.341 82205M]    PIDFILE: Using /run/pihole-FTL.pid
   [2020-11-11 16:08:54.341 82205M]    PORTFILE: Using /run/pihole-FTL.port
   [2020-11-11 16:08:54.341 82205M]    SOCKETFILE: Using /run/pihole/FTL.sock
   [2020-11-11 16:08:54.341 82205M]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
   [2020-11-11 16:08:54.341 82205M]    MACVENDORDB: Using /etc/pihole/macvendor.db
   [2020-11-11 16:08:54.341 82205M]    GRAVITYDB: Using /etc/pihole/gravity.db
   [2020-11-11 16:08:54.341 82205M]    PARSE_ARP_CACHE: Active
   [2020-11-11 16:08:54.341 82205M]    CNAME_DEEP_INSPECT: Active
   [2020-11-11 16:08:54.341 82205M]    DELAY_STARTUP: No delay requested.
   [2020-11-11 16:08:54.341 82205M]    NICE: Set process niceness to -10 (default)
   [2020-11-11 16:08:54.341 82205M]    BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
   [2020-11-11 16:08:54.341 82205M]    NAMES_FROM_NETDB: Enabled, trying to get names from network database
   [2020-11-11 16:08:54.341 82205M] Finished config file parsing

   -----tail of pihole-FTL.log------
   [2020-11-11 16:41:16.622 97514M]    RESOLVE_IPV6: Resolve IPv6 addresses
   [2020-11-11 16:41:16.622 97514M]    RESOLVE_IPV4: Resolve IPv4 addresses
   [2020-11-11 16:41:16.622 97514M]    DBINTERVAL: saving to DB file every minute
   [2020-11-11 16:41:16.622 97514M]    DBFILE: Using /etc/pihole/pihole-FTL.db
   [2020-11-11 16:41:16.622 97514M]    MAXLOGAGE: Importing up to 24.0 hours of log data
   [2020-11-11 16:41:16.622 97514M]    PRIVACYLEVEL: Set to 0
   [2020-11-11 16:41:16.622 97514M]    IGNORE_LOCALHOST: Show queries from localhost
   [2020-11-11 16:41:16.623 97514M]    BLOCKINGMODE: Null IPs for blocked domains
   [2020-11-11 16:41:16.623 97514M]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
   [2020-11-11 16:41:16.623 97514M]    DBIMPORT: Importing history from database
   [2020-11-11 16:41:16.623 97514M]    PIDFILE: Using /run/pihole-FTL.pid
   [2020-11-11 16:41:16.623 97514M]    PORTFILE: Using /run/pihole-FTL.port
   [2020-11-11 16:41:16.623 97514M]    SOCKETFILE: Using /run/pihole/FTL.sock
   [2020-11-11 16:41:16.623 97514M]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
   [2020-11-11 16:41:16.623 97514M]    MACVENDORDB: Using /etc/pihole/macvendor.db
   [2020-11-11 16:41:16.623 97514M]    GRAVITYDB: Using /etc/pihole/gravity.db
   [2020-11-11 16:41:16.623 97514M]    PARSE_ARP_CACHE: Active
   [2020-11-11 16:41:16.623 97514M]    CNAME_DEEP_INSPECT: Active
   [2020-11-11 16:41:16.623 97514M]    DELAY_STARTUP: No delay requested.
   [2020-11-11 16:41:16.623 97514M]    NICE: Set process niceness to -10 (default)
   [2020-11-11 16:41:16.623 97514M]    BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
   [2020-11-11 16:41:16.623 97514M]    NAMES_FROM_NETDB: Enabled, trying to get names from network database
   [2020-11-11 16:41:16.623 97514M] Finished config file parsing
   [2020-11-11 16:41:16.624 97514M] Database version is 7
   [2020-11-11 16:41:16.624 97514M] Database successfully initialized
   [2020-11-11 16:41:16.625 97514M] Imported 0 queries from the long-term database
   [2020-11-11 16:41:16.625 97514M]  -> Total DNS queries: 0
   [2020-11-11 16:41:16.625 97514M]  -> Cached DNS queries: 0
   [2020-11-11 16:41:16.625 97514M]  -> Forwarded DNS queries: 0
   [2020-11-11 16:41:16.625 97514M]  -> Blocked DNS queries: 0
   [2020-11-11 16:41:16.625 97514M]  -> Unknown DNS queries: 0
   [2020-11-11 16:41:16.625 97514M]  -> Unique domains: 0
   [2020-11-11 16:41:16.625 97514M]  -> Unique clients: 0
   [2020-11-11 16:41:16.625 97514M]  -> Known forward destinations: 0
   [2020-11-11 16:41:16.625 97514M] Successfully accessed setupVars.conf

*** [ DIAGNOSING ]: contents of /dev/shm
-rw------- 1 pihole pihole 331776 Nov 11 16:41 /dev/shm/FTL-clients
-rw------- 1 pihole pihole 144 Nov 11 16:41 /dev/shm/FTL-counters
-rw------- 1 pihole pihole 4096 Nov 11 16:41 /dev/shm/FTL-dns-cache
-rw------- 1 pihole pihole 98304 Nov 11 16:41 /dev/shm/FTL-domains
-rw------- 1 pihole pihole 48 Nov 11 16:41 /dev/shm/FTL-lock
-rw------- 1 pihole pihole 45056 Nov 11 16:41 /dev/shm/FTL-overTime
-rw------- 1 pihole pihole 4096 Nov 11 16:41 /dev/shm/FTL-per-client-regex
-rw------- 1 pihole pihole 262144 Nov 11 16:41 /dev/shm/FTL-queries
-rw------- 1 pihole pihole 12 Nov 11 16:41 /dev/shm/FTL-settings
-rw------- 1 pihole pihole 4096 Nov 11 16:41 /dev/shm/FTL-strings
-rw------- 1 pihole pihole 4096 Nov 11 16:41 /dev/shm/FTL-upstreams

*** [ DIAGNOSING ]: Locale
    LANG=en_US.UTF-8

*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 0 Nov 11 16:41 /var/log/pihole.log
   -----head of pihole.log------

When creating a future debug log, please upload the log when asked so and just post the token, please. For your own privacy and security, do not post the full, unsanitised output here.

You are using 127.0.0.1 as Pi-hole's sole upstream.

Without defining a port, that would result in Pi-hole querying itself on port 53 for DNS, effectively closing a DNS loop.

Try adding the port to your Upstream DNS Servers in Settings | DNS, e.g. 127.0.0.1#5053 or whatever port you've configured for cloudflared.
Also, you've defined that identical entry twice - one would suffice.

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