Update Gravity and pihole -g presents a DNS Resolution unavailable error

Expected Behaviour:

Update Gravity / pihole -g runs successfully

Actual Behaviour:

I'm seeing this error instead on both commands:

[✗] DNS resolution is currently unavailable
[✗] DNS resolution is not available

I've already checked and did the suggestions here and here but to no avail.

I also did this suggestion from Reddit which is closer to the issue but found no luck

Debug Token:

Side note: pihole -d wasn't able to send debug so pasting it here.

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] 2021-09-03:06:17:12 debug log has been initialized.

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

*** [ DIAGNOSING ]: Core version
[i] Core: v5.3.1 (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.3.1-0-g4736e03

*** [ DIAGNOSING ]: Web version
[i] Web: v5.5.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.5.1-0-gfb9bd56

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

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

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

*** [ DIAGNOSING ]: Operating system
[i] dig return code:  10
[i] dig response:  dig: couldn't get address for 'ns1.pi-hole.net': failure
[✗] Distro:  Raspbian
[✗] Error: Raspbian is not a supported distro (https://docs.pi-hole.net/main/prerequisites/)

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

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

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

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

[✓] IPv6 address(es) bound to the eth0 interface:
   fe80::84c0:eb75:13a9:528e does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)

   ^ 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.100.1
   * Pinging 192.168.100.1...
[✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)


*** [ DIAGNOSING ]: Ports in use
*:22 sshd (IPv4)
*:22 sshd (IPv6)
[53] is in use by pihole-FTL
[53] is in use by pihole-FTL
[4711] is in use by pihole-FTL
[4711] is in use by pihole-FTL
[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
[✓] sciskanie938.rest is 0.0.0.0 via localhost (127.0.0.1)
[✓] sciskanie938.rest is 0.0.0.0 via Pi-hole (192.168.100.5)
[✗] Failed to resolve doubleclick.com via a remote, public DNS server (8.8.8.8)

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

   WARN: Could not sendto() in send_dhcp_discover() (/root/project/src/dhcp-discover.c:223): Network is unreachable
   * Received 548 bytes from eth0:192.168.100.1
     Offered IP address: 192.168.100.172
     Server IP address: N/A
     Relay-agent IP address: N/A
     BOOTP server: (empty)
     BOOTP file: (empty)
     DHCP options:
      Message type: DHCPOFFER (2)
      server-identifier: 192.168.100.1
      lease-time: 604800 ( 7d )
      netmask: 255.255.255.0
      router: 192.168.100.1
      dns-server: 192.168.100.1
      domain-name: "cg.shawcable.net"
      --- end of options ---

   DHCP packets received on interface wlan0: 0
   DHCP packets received on interface lo: 0
   DHCP packets received on interface eth0: 1

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

*** [ DIAGNOSING ]: Pi-hole-FTL full status
   ● pihole-FTL.service - LSB: pihole-FTL daemon
   Loaded: loaded (/etc/init.d/pihole-FTL; generated)
   Active: active (exited) since Fri 2021-09-03 04:41:56 BST; 1h 35min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 15735 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)

Sep 03 04:41:55 raspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...
Sep 03 04:41:55 raspberrypi pihole-FTL[15735]: Not running
Sep 03 04:41:55 raspberrypi su[15753]: (to pihole) root on none
Sep 03 04:41:55 raspberrypi su[15753]: pam_unix(su:session): session opened for user pihole by (uid=0)
Sep 03 04:41:56 raspberrypi pihole-FTL[15735]: FTL started!
Sep 03 04:41:56 raspberrypi systemd[1]: Started LSB: pihole-FTL daemon.

*** [ DIAGNOSING ]: Setup variables
    PIHOLE_INTERFACE=eth0
    IPV4_ADDRESS=192.168.100.5/24
    IPV6_ADDRESS=
    PIHOLE_DNS_1=8.8.8.8
    PIHOLE_DNS_2=8.8.4.4
    QUERY_LOGGING=true
    INSTALL_WEB_SERVER=true
    INSTALL_WEB_INTERFACE=true
    LIGHTTPD_ENABLED=true
    CACHE_SIZE=10000
    BLOCKING_ENABLED=true

*** [ DIAGNOSING ]: Dashboard and block page
[✗] Block page X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Content-type: text/html; charset=UTF-8
Expires: Fri, 03 Sep 2021 05:17:51 GMT
Cache-Control: max-age=0
Date: Fri, 03 Sep 2021 05:17:51 GMT
Server: lighttpd/1.4.53

[✓] 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 5406720 Sep  3 05:33 /etc/pihole/gravity.db

*** [ DIAGNOSING ]: Info table
   property              value
   --------------------  ----------------------------------------
   version               14
   updated               1630640523
   gravity_count         90237
   Last gravity run finished at: Fri  3 Sep 04:42:03 BST 2021

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


*** [ DIAGNOSING ]: Groups
   id    enabled  name                                                date_added           date_modified        description                        
   ----  -------  --------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   0           1  Default                                             2021-09-03 04:41:56  2021-09-03 04:41:56  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                                      2021-09-03 04:41:56  2021-09-03 04:41:56  Migrated from /etc/pihole/adlists.list
   38          1  0             https://hosts.oisd.nl/                                                                                2021-09-03 05:32:50  2021-09-03 05:32:50

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

-rw-r--r-- 1 root root 48 Sep  3 04:42 /etc/pihole/local.list
   192.168.100.5 raspberrypi
   192.168.100.5 pi.hole

-rw-r--r-- 1 root root 234 Sep  3 04:41 /etc/pihole/logrotate
   /var/log/pihole.log {
        su root root
        daily
        copytruncate
        rotate 5
        compress
        delaycompress
        notifempty
        nomail
   }
   /var/log/pihole-FTL.log {
        su root root
        weekly
        copytruncate
        rotate 3
        compress
        delaycompress
        notifempty
        nomail
   }

-rw-rw-r-- 1 pihole root 15 Sep  3 04:41 /etc/pihole/pihole-FTL.conf
   PRIVACYLEVEL=0

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

-rw-r--r-- 1 root root 1385 Sep  3 04:41 /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=8.8.8.8
   server=8.8.4.4
   interface=eth0
   server=/use-application-dns.net/

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

-rw-r--r-- 1 root root 0 Sep  3 04:41 /etc/lighttpd/external.conf

-rw-r--r-- 1 root root 4066 Sep  3 04:41 /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 "cat external.conf 2>/dev/null"
   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" )

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

-rw-r--r-- 1 root root 1755 Sep  3 04:41 /etc/cron.d/pihole
   49 4   * * 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
   34 16  * * *   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 500 Sep  3 05:27 /var/log/lighttpd/error.log
   -----head of error.log------
   2021-09-03 04:40:43: (server.c.1464) server started (lighttpd/1.4.53)
   2021-09-03 04:41:45: (server.c.2059) server stopped by UID = 0 PID = 1
   2021-09-03 04:41:46: (server.c.1464) server started (lighttpd/1.4.53)
   2021-09-03 05:26:55: (server.c.2059) server stopped by UID = 0 PID = 1
   2021-09-03 05:26:56: (server.c.1464) server started (lighttpd/1.4.53)
   2021-09-03 05:27:15: (server.c.2059) server stopped by UID = 0 PID = 1
   2021-09-03 05:27:16: (server.c.1464) server started (lighttpd/1.4.53)

   -----tail of error.log------
   2021-09-03 04:40:43: (server.c.1464) server started (lighttpd/1.4.53)
   2021-09-03 04:41:45: (server.c.2059) server stopped by UID = 0 PID = 1
   2021-09-03 04:41:46: (server.c.1464) server started (lighttpd/1.4.53)
   2021-09-03 05:26:55: (server.c.2059) server stopped by UID = 0 PID = 1
   2021-09-03 05:26:56: (server.c.1464) server started (lighttpd/1.4.53)
   2021-09-03 05:27:15: (server.c.2059) server stopped by UID = 0 PID = 1
   2021-09-03 05:27:16: (server.c.1464) server started (lighttpd/1.4.53)

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

-rw-r--r-- 1 pihole pihole 14305 Sep  3 05:33 /var/log/pihole-FTL.log
   -----head of pihole-FTL.log------
   [2021-09-03 04:41:56.103 15766M] Using log file /var/log/pihole-FTL.log
   [2021-09-03 04:41:56.104 15766M] ########## FTL started! ##########
   [2021-09-03 04:41:56.104 15766M] FTL branch: master
   [2021-09-03 04:41:56.104 15766M] FTL version: v5.8.1
   [2021-09-03 04:41:56.104 15766M] FTL commit: b90ab8b1
   [2021-09-03 04:41:56.104 15766M] FTL date: 2021-04-21 20:03:47 +0100
   [2021-09-03 04:41:56.104 15766M] FTL user: pihole
   [2021-09-03 04:41:56.104 15766M] Compiled for armv7hf (compiled on CI) using arm-linux-gnueabihf-gcc (Debian 6.3.0-18) 6.3.0 20170516
   [2021-09-03 04:41:56.105 15766M] Creating mutex
   [2021-09-03 04:41:56.108 15766M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
   [2021-09-03 04:41:56.108 15766M]    SOCKET_LISTENING: only local
   [2021-09-03 04:41:56.108 15766M]    AAAA_QUERY_ANALYSIS: Show AAAA queries
   [2021-09-03 04:41:56.109 15766M]    MAXDBDAYS: max age for stored queries is 365 days
   [2021-09-03 04:41:56.109 15766M]    RESOLVE_IPV6: Resolve IPv6 addresses
   [2021-09-03 04:41:56.109 15766M]    RESOLVE_IPV4: Resolve IPv4 addresses
   [2021-09-03 04:41:56.109 15766M]    DBINTERVAL: saving to DB file every minute
   [2021-09-03 04:41:56.109 15766M]    DBFILE: Using /etc/pihole/pihole-FTL.db
   [2021-09-03 04:41:56.109 15766M]    MAXLOGAGE: Importing up to 24.0 hours of log data
   [2021-09-03 04:41:56.109 15766M]    PRIVACYLEVEL: Set to 0
   [2021-09-03 04:41:56.109 15766M]    IGNORE_LOCALHOST: Show queries from localhost
   [2021-09-03 04:41:56.109 15766M]    BLOCKINGMODE: Null IPs for blocked domains
   [2021-09-03 04:41:56.110 15766M]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
   [2021-09-03 04:41:56.110 15766M]    DBIMPORT: Importing history from database
   [2021-09-03 04:41:56.110 15766M]    PIDFILE: Using /run/pihole-FTL.pid
   [2021-09-03 04:41:56.110 15766M]    PORTFILE: Using /run/pihole-FTL.port
   [2021-09-03 04:41:56.110 15766M]    SOCKETFILE: Using /run/pihole/FTL.sock
   [2021-09-03 04:41:56.110 15766M]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
   [2021-09-03 04:41:56.110 15766M]    MACVENDORDB: Using /etc/pihole/macvendor.db
   [2021-09-03 04:41:56.110 15766M]    GRAVITYDB: Using /etc/pihole/gravity.db
   [2021-09-03 04:41:56.111 15766M]    PARSE_ARP_CACHE: Active
   [2021-09-03 04:41:56.111 15766M]    CNAME_DEEP_INSPECT: Active
   [2021-09-03 04:41:56.111 15766M]    DELAY_STARTUP: No delay requested.
   [2021-09-03 04:41:56.111 15766M]    BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
   [2021-09-03 04:41:56.111 15766M]    NICE: Set process niceness to -10 (default)
   [2021-09-03 04:41:56.111 15766M]    MAXNETAGE: Removing IP addresses and host names from network table after 365 days

   -----tail of pihole-FTL.log------
   [2021-09-03 05:32:16.614 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 0.9 msec
   [2021-09-03 05:32:18.049 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:18.641 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 0.9 msec
   [2021-09-03 05:32:19.735 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:20.673 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 0.9 msec
   [2021-09-03 05:32:21.313 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:21.701 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 0.9 msec
   [2021-09-03 05:32:22.662 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:22.731 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 0.9 msec
   [2021-09-03 05:32:24.042 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:24.760 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 1.0 msec
   [2021-09-03 05:32:25.310 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:25.787 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 0.9 msec
   [2021-09-03 05:32:26.407 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:26.812 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 0.9 msec
   [2021-09-03 05:32:29.205 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:29.843 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 0.9 msec
   [2021-09-03 05:32:30.613 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:30.870 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 1.0 msec
   [2021-09-03 05:32:31.800 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:31.903 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 1.0 msec
   [2021-09-03 05:32:33.866 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:33.934 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 1.0 msec
   [2021-09-03 05:32:50.520 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:50.985 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 0.9 msec
   [2021-09-03 05:32:53.067 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:54.014 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 1.0 msec
   [2021-09-03 05:32:54.134 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:55.043 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 0.9 msec
   [2021-09-03 05:32:55.490 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:56.071 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 0.9 msec
   [2021-09-03 05:32:56.724 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:32:57.097 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 0.9 msec
   [2021-09-03 05:33:00.938 15768M] Received: Real-time signal 0 (34 -> 0)
   [2021-09-03 05:33:01.365 15768/T15772] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 0.9 msec

*** [ DIAGNOSING ]: contents of /dev/shm
-rw------- 1 pihole pihole 684032 Sep  3 04:41 /dev/shm/FTL-clients
-rw------- 1 pihole pihole 224 Sep  3 04:41 /dev/shm/FTL-counters
-rw------- 1 pihole pihole 4096 Sep  3 04:41 /dev/shm/FTL-dns-cache
-rw------- 1 pihole pihole 4096 Sep  3 04:41 /dev/shm/FTL-domains
-rw------- 1 pihole pihole 28 Sep  3 04:41 /dev/shm/FTL-lock
-rw------- 1 pihole pihole 12288 Sep  3 04:41 /dev/shm/FTL-overTime
-rw------- 1 pihole pihole 4096 Sep  3 04:41 /dev/shm/FTL-per-client-regex
-rw------- 1 pihole pihole 229376 Sep  3 05:30 /dev/shm/FTL-queries
-rw------- 1 pihole pihole 12 Sep  3 04:41 /dev/shm/FTL-settings
-rw------- 1 pihole pihole 81920 Sep  3 04:45 /dev/shm/FTL-strings
-rw------- 1 pihole pihole 28672 Sep  3 04:41 /dev/shm/FTL-upstreams

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

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

*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 44338 Sep  3 06:17 /var/log/pihole.log
   -----head of pihole.log------
   Sep  3 04:41:56 dnsmasq[15768]: started, version pi-hole-2.85 cachesize 10000
   Sep  3 04:41:56 dnsmasq[15768]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n IDN DHCP DHCPv6 Lua TFTP no-conntrack ipset auth cryptohash DNSSEC loop-detect inotify dumpfile
   Sep  3 04:41:56 dnsmasq[15768]: using only locally-known addresses for domain use-application-dns.net
   Sep  3 04:41:56 dnsmasq[15768]: using nameserver 8.8.4.4#53
   Sep  3 04:41:56 dnsmasq[15768]: using nameserver 8.8.8.8#53
   Sep  3 04:41:56 dnsmasq[15768]: read /etc/hosts - 5 addresses
   Sep  3 04:41:56 dnsmasq[15768]: read /etc/pihole/custom.list - 0 addresses
   Sep  3 04:41:56 dnsmasq[15768]: failed to load names from /etc/pihole/local.list: No such file or directory
   Sep  3 04:42:06 dnsmasq[15768]: read /etc/hosts - 5 addresses
   Sep  3 04:42:06 dnsmasq[15768]: read /etc/pihole/custom.list - 0 addresses
   Sep  3 04:42:06 dnsmasq[15768]: read /etc/pihole/local.list - 2 addresses
   Sep  3 04:42:06 dnsmasq[15768]: read /etc/hosts - 5 addresses
   Sep  3 04:42:06 dnsmasq[15768]: read /etc/pihole/custom.list - 0 addresses
   Sep  3 04:42:06 dnsmasq[15768]: read /etc/pihole/local.list - 2 addresses
   Sep  3 04:45:20 dnsmasq[15768]: query[A] v10.events.data.microsoft.com from 192.168.100.1
   Sep  3 04:45:20 dnsmasq[15768]: forwarded v10.events.data.microsoft.com to 8.8.4.4
   Sep  3 04:45:20 dnsmasq[15768]: forwarded v10.events.data.microsoft.com to 8.8.8.8
   Sep  3 04:45:20 dnsmasq[15768]: query[A] v10.events.data.microsoft.com from 192.168.100.1
   Sep  3 04:45:20 dnsmasq[15768]: forwarded v10.events.data.microsoft.com to 8.8.4.4
   Sep  3 04:45:20 dnsmasq[15768]: forwarded v10.events.data.microsoft.com to 8.8.8.8


********************************************
********************************************
[✓] ** FINISHED DEBUGGING! **

    * The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
    * For more information, see: https://pi-hole.net/2016/11/07/crack-our-medical-tricorder-win-a-raspberry-pi-3/
    * If available, we'll use openssl to upload the log, otherwise it will fall back to netcat.

[?] Would you like to upload the log? [y/N] y
    * Using curl for transmission.
    * curl failed, falling back to netcat for transmission.
nc: getaddrinfo for host "tricorder.pi-hole.net" port 9999: Temporary failure in name resolution
[✗]  There was an error uploading your debug log.
   * Please try again or contact the Pi-hole team for assistance.
   * A local copy of the debug log can be found at: /var/log/pihole_debug.log

You should verify your Pi-hole host machine's DNS configuration.

For a quick check, you could temporarily reset the nameserver on that machine:

sudo nano /etc/resolv.conf

Edit the nameserver line to nameserver 9.9.9.9 or your preferred public DNS service, save and exit.

Then try if rerunning your gravity update would succeed.

It looks like that did the trick. I'm not sure why 8.8.8.8 wouldn't work though.

Thanks for your help!

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