Skip to content

Instantly share code, notes, and snippets.

@angus-lherrou
Created December 21, 2020 04:52
Show Gist options
  • Save angus-lherrou/d230c666fd68de60140bc3ccc5fabab8 to your computer and use it in GitHub Desktop.
Save angus-lherrou/d230c666fd68de60140bc3ccc5fabab8 to your computer and use it in GitHub Desktop.
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-12-20:23:51:27 debug log has been initialized.
*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...
*** [ DIAGNOSING ]: Core version
[i] Core: v5.2.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.2.1-0-g0d8ece1
*** [ DIAGNOSING ]: Web version
[i] Web: v5.2.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.2.1-0-g8ac95be
*** [ DIAGNOSING ]: FTL version
[✓] FTL: v5.3.2
*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.55
*** [ DIAGNOSING ]: php version
[i] 7.2.24
*** [ DIAGNOSING ]: Operating system
[i] dig return code: 0
[i] dig response: "Raspbian=9,10 Ubuntu=16,18,20 Debian=9,10 Fedora=31,32 CentOS=7,8"
[✓] Distro: Centos
[✓] Version: 8
*** [ DIAGNOSING ]: SELinux
[✓] Default SELinux: permissive
[✓] Current SELinux: Permissive
*** [ DIAGNOSING ]: FirewallD
[i] Firewalld service active
[✗]  Allow Service: http (https://docs.pi-hole.net/main/prerequisites/#firewalld)
[✗]  Allow Service: dns (https://docs.pi-hole.net/main/prerequisites/#firewalld)
[✓]  Allow Service: dhcp
[✓]  Allow Service: dhcpv6
[✗] FTL Custom Zone Not Detected (https://docs.pi-hole.net/main/prerequisites/#firewalld)
*** [ DIAGNOSING ]: Processor
[✓] x86_64
*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the wlp1s0 interface:
192.168.0.66/24 matches the IP found in /etc/pihole/setupVars.conf
[✓] IPv6 address(es) bound to the wlp1s0 interface:
fe80::3721:bb68:5c27:f757 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.0.1
* Pinging 192.168.0.1...
[✓] Gateway responded.
*** [ DIAGNOSING ]: Ports in use
*:111 systemd (IPv4)
*:111 systemd (IPv6)
*:111 rpcbind (IPv4)
*:111 rpcbind (IPv6)
*:22 sshd (IPv4)
*:22 sshd (IPv6)
[::1]:631 cupsd (IPv6)
127.0.0.1:631 cupsd (IPv4)
[80] is in use by lighttpd
[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
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] www.noclegnadmorzemgdansk.pl is 0.0.0.0 via localhost (127.0.0.1)
[✓] www.noclegnadmorzemgdansk.pl is 0.0.0.0 via Pi-hole (192.168.0.66)
[✓] doubleclick.com is 172.217.12.206 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
DHCP packets received on interface lo: 0
DHCP packets received on interface virbr0: 0
DHCP packets received on interface virbr0-nic: 0
DHCP packets received on interface wlp1s0: 0
*** [ 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/rc.d/init.d/pihole-FTL; generated)
Active: active (exited) since Sun 2020-12-20 23:50:47 EST; 51s ago
Docs: man:systemd-sysv-generator(8)
Process: 1479 ExecStart=/etc/rc.d/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 73947)
Memory: 0B
CGroup: /system.slice/pihole-FTL.service
Dec 20 23:50:47 saraneth systemd[1]: Starting LSB: pihole-FTL daemon...
Dec 20 23:50:47 saraneth pihole-FTL[1479]: Not running
Dec 20 23:50:47 saraneth su[1537]: (to pihole) root on none
Dec 20 23:50:47 saraneth su[1537]: pam_unix(su:session): session opened for user pihole by (uid=0)
Dec 20 23:50:47 saraneth pihole-FTL[1479]: FTL started!
Dec 20 23:50:47 saraneth su[1537]: pam_unix(su:session): session closed for user pihole
Dec 20 23:50:47 saraneth systemd[1]: Started LSB: pihole-FTL daemon.
*** [ DIAGNOSING ]: Setup variables
PIHOLE_INTERFACE=wlp1s0
IPV4_ADDRESS=192.168.0.66/24
IPV6_ADDRESS=
PIHOLE_DNS_1=1.1.1.1
PIHOLE_DNS_2=1.0.0.1
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
X-Powered-By: PHP/7.2.24
Content-type: text/html; charset=UTF-8
Expires: Mon, 21 Dec 2020 04:51:40 GMT
Cache-Control: max-age=0
Date: Mon, 21 Dec 2020 04:51:40 GMT
Server: lighttpd/1.4.55

[✓] 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 3448832 Dec 20 23:28 /etc/pihole/gravity.db
*** [ DIAGNOSING ]: Info table
property value
-------------------- ----------------------------------------
version 13
updated 1608517144
gravity_count 58787
Last gravity run finished at: Sun Dec 20 21:19:04 EST 2020
----- 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-12-20 21:19:01 2020-12-20 21:19:01 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-12-20 21:19:01 2020-12-20 21:19:01 Migrated from /etc/pihole/adlists.list
2 1 0 https://mirror1.malwaredomains.com/files/justdomains 2020-12-20 21:19:01 2020-12-20 21:19:01 Migrated from /etc/pihole/adlists.list
3 1 0 https://gitlab.com/The_Quantum_Alpha/the-quantum-ad-list/-/raw/master/For%20hosts%20file/The_Quantum 2020-12-20 23:28:30 2020-12-20 23:28:30
*** [ DIAGNOSING ]: contents of /etc/pihole
-rw-r--r--. 1 root root 56 Dec 20 21:19 /etc/pihole/local.list
192.168.0.66 localhost.localdomain
192.168.0.66 pi.hole
-rw-r--r--. 1 root root 234 Dec 20 21:19 /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 Dec 20 21:19 /etc/pihole/pihole-FTL.conf
PRIVACYLEVEL=0
*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
-rw-r--r--. 1 root root 1387 Dec 20 21:19 /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=1.1.1.1
server=1.0.0.1
interface=wlp1s0
server=/use-application-dns.net/
*** [ DIAGNOSING ]: contents of /etc/lighttpd
-rw-r--r--. 1 root root 0 Dec 20 21:19 /etc/lighttpd/external.conf
-rw-r--r--. 1 root root 4111 Dec 20 21:19 /etc/lighttpd/lighttpd.conf
server.modules = (
"mod_access",
"mod_auth",
"mod_expire",
"mod_fastcgi",
"mod_accesslog",
"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 = "lighttpd"
server.groupname = "lighttpd"
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"
)
fastcgi.server = (
".php" => (
"localhost" => (
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/bin/php-cgi"
)
)
)
$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 1755 Dec 20 21:19 /etc/cron.d/pihole
19 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
14 17 * * * 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 lighttpd lighttpd 1803 Dec 20 23:51 /var/log/lighttpd/error.log
-----head of error.log------
2020-12-20 21:19:00: (server.c.1488) server started (lighttpd/1.4.55)
2020-12-20 21:21:36: (server.c.1970) server stopped by UID = 0 PID = 1
2020-12-20 21:23:58: (server.c.1488) server started (lighttpd/1.4.55)
2020-12-20 21:52:48: (server.c.1970) server stopped by UID = 0 PID = 1
2020-12-20 21:53:29: (server.c.1488) server started (lighttpd/1.4.55)
2020-12-20 23:12:58: (server.c.1970) server stopped by UID = 0 PID = 1
2020-12-20 23:13:24: (server.c.1488) server started (lighttpd/1.4.55)
2020-12-20 23:18:13: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: viewPort in /var/www/html/pihole/index.php on line 73
2020-12-20 23:18:13: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: serverName in /var/www/html/pihole/index.php on line 74
2020-12-20 23:18:13: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: viewPort in /var/www/html/pihole/index.php on line 73
2020-12-20 23:18:13: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: serverName in /var/www/html/pihole/index.php on line 74
2020-12-20 23:49:54: (server.c.1970) server stopped by UID = 0 PID = 1
2020-12-20 23:50:17: (server.c.1488) server started (lighttpd/1.4.55)
2020-12-20 23:51:39: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: viewPort in /var/www/html/pihole/index.php on line 73
2020-12-20 23:51:39: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: serverName in /var/www/html/pihole/index.php on line 74
2020-12-20 23:51:40: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: viewPort in /var/www/html/pihole/index.php on line 73
2020-12-20 23:51:40: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: serverName in /var/www/html/pihole/index.php on line 74
-----tail of error.log------
2020-12-20 21:19:00: (server.c.1488) server started (lighttpd/1.4.55)
2020-12-20 21:21:36: (server.c.1970) server stopped by UID = 0 PID = 1
2020-12-20 21:23:58: (server.c.1488) server started (lighttpd/1.4.55)
2020-12-20 21:52:48: (server.c.1970) server stopped by UID = 0 PID = 1
2020-12-20 21:53:29: (server.c.1488) server started (lighttpd/1.4.55)
2020-12-20 23:12:58: (server.c.1970) server stopped by UID = 0 PID = 1
2020-12-20 23:13:24: (server.c.1488) server started (lighttpd/1.4.55)
2020-12-20 23:18:13: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: viewPort in /var/www/html/pihole/index.php on line 73
2020-12-20 23:18:13: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: serverName in /var/www/html/pihole/index.php on line 74
2020-12-20 23:18:13: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: viewPort in /var/www/html/pihole/index.php on line 73
2020-12-20 23:18:13: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: serverName in /var/www/html/pihole/index.php on line 74
2020-12-20 23:49:54: (server.c.1970) server stopped by UID = 0 PID = 1
2020-12-20 23:50:17: (server.c.1488) server started (lighttpd/1.4.55)
2020-12-20 23:51:39: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: viewPort in /var/www/html/pihole/index.php on line 73
2020-12-20 23:51:39: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: serverName in /var/www/html/pihole/index.php on line 74
2020-12-20 23:51:40: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: viewPort in /var/www/html/pihole/index.php on line 73
2020-12-20 23:51:40: (mod_fastcgi.c.421) FastCGI-stderr: PHP Notice: Undefined variable: serverName in /var/www/html/pihole/index.php on line 74
*** [ DIAGNOSING ]: contents of /var/log
-rw-r--r--. 1 pihole pihole 28370 Dec 20 23:50 /var/log/pihole-FTL.log
-----head of pihole-FTL.log------
[2020-12-20 21:19:01.288 38045M] Using log file /var/log/pihole-FTL.log
[2020-12-20 21:19:01.288 38045M] ########## FTL started! ##########
[2020-12-20 21:19:01.288 38045M] FTL branch: master
[2020-12-20 21:19:01.288 38045M] FTL version: v5.3.2
[2020-12-20 21:19:01.288 38045M] FTL commit: 0790cf7
[2020-12-20 21:19:01.288 38045M] FTL date: 2020-12-02 21:28:39 +0000
[2020-12-20 21:19:01.288 38045M] FTL user: pihole
[2020-12-20 21:19:01.288 38045M] Compiled for x86_64 (compiled on CI) using gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
[2020-12-20 21:19:01.288 38045M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2020-12-20 21:19:01.288 38045M] SOCKET_LISTENING: only local
[2020-12-20 21:19:01.288 38045M] AAAA_QUERY_ANALYSIS: Show AAAA queries
[2020-12-20 21:19:01.288 38045M] MAXDBDAYS: max age for stored queries is 365 days
[2020-12-20 21:19:01.288 38045M] RESOLVE_IPV6: Resolve IPv6 addresses
[2020-12-20 21:19:01.288 38045M] RESOLVE_IPV4: Resolve IPv4 addresses
[2020-12-20 21:19:01.288 38045M] DBINTERVAL: saving to DB file every minute
[2020-12-20 21:19:01.288 38045M] DBFILE: Using /etc/pihole/pihole-FTL.db
[2020-12-20 21:19:01.288 38045M] MAXLOGAGE: Importing up to 24.0 hours of log data
[2020-12-20 21:19:01.288 38045M] PRIVACYLEVEL: Set to 0
[2020-12-20 21:19:01.288 38045M] IGNORE_LOCALHOST: Show queries from localhost
[2020-12-20 21:19:01.288 38045M] BLOCKINGMODE: Null IPs for blocked domains
[2020-12-20 21:19:01.288 38045M] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2020-12-20 21:19:01.288 38045M] DBIMPORT: Importing history from database
[2020-12-20 21:19:01.288 38045M] PIDFILE: Using /run/pihole-FTL.pid
[2020-12-20 21:19:01.288 38045M] PORTFILE: Using /run/pihole-FTL.port
[2020-12-20 21:19:01.288 38045M] SOCKETFILE: Using /run/pihole/FTL.sock
[2020-12-20 21:19:01.288 38045M] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2020-12-20 21:19:01.288 38045M] MACVENDORDB: Using /etc/pihole/macvendor.db
[2020-12-20 21:19:01.288 38045M] GRAVITYDB: Using /etc/pihole/gravity.db
[2020-12-20 21:19:01.288 38045M] PARSE_ARP_CACHE: Active
[2020-12-20 21:19:01.288 38045M] CNAME_DEEP_INSPECT: Active
[2020-12-20 21:19:01.288 38045M] DELAY_STARTUP: No delay requested.
[2020-12-20 21:19:01.288 38045M] BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
[2020-12-20 21:19:01.289 38045M] NICE: Set process niceness to -10 (default)
[2020-12-20 21:19:01.289 38045M] MAXNETAGE: Removing IP addresses and host names from network table after 365 days
[2020-12-20 21:19:01.289 38045M] NAMES_FROM_NETDB: Enabled, trying to get names from network database
-----tail of pihole-FTL.log------
[2020-12-20 23:50:47.606 1695M] CNAME_DEEP_INSPECT: Active
[2020-12-20 23:50:47.606 1695M] DELAY_STARTUP: No delay requested.
[2020-12-20 23:50:47.606 1695M] BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
[2020-12-20 23:50:47.606 1695M] NICE: Set process niceness to -10 (default)
[2020-12-20 23:50:47.606 1695M] MAXNETAGE: Removing IP addresses and host names from network table after 365 days
[2020-12-20 23:50:47.606 1695M] NAMES_FROM_NETDB: Enabled, trying to get names from network database
[2020-12-20 23:50:47.606 1695M] EDNS0_ECS: Overwrite client from ECS information
[2020-12-20 23:50:47.606 1695M] REFRESH_HOSTNAMES: Periodically refreshing IPv4 names
[2020-12-20 23:50:47.606 1695M] Finished config file parsing
[2020-12-20 23:50:47.606 1695M] Creating mutex
[2020-12-20 23:50:47.614 1695M] Database version is 9
[2020-12-20 23:50:47.614 1695M] Imported 0 alias-clients
[2020-12-20 23:50:47.614 1695M] Database successfully initialized
[2020-12-20 23:50:47.614 1695M] New upstream server: 1.0.0.1:53 (0/512)
[2020-12-20 23:50:47.615 1695M] New upstream server: 1.1.1.1:53 (1/512)
[2020-12-20 23:50:47.619 1695M] Resizing "FTL-strings" from 4096 to (8192 * 1) == 8192 (/dev/shm: 626.7KB used, 6.1GB total)
[2020-12-20 23:50:47.623 1695M] Resizing "FTL-queries" from 262144 to (8192 * 64) == 524288 (/dev/shm: 630.8KB used, 6.1GB total)
[2020-12-20 23:50:47.626 1695M] Imported 5634 queries from the long-term database
[2020-12-20 23:50:47.626 1695M] -> Total DNS queries: 5634
[2020-12-20 23:50:47.626 1695M] -> Cached DNS queries: 2595
[2020-12-20 23:50:47.626 1695M] -> Forwarded DNS queries: 1878
[2020-12-20 23:50:47.626 1695M] -> Blocked DNS queries: 900
[2020-12-20 23:50:47.626 1695M] -> Unknown DNS queries: 260
[2020-12-20 23:50:47.626 1695M] -> Unique domains: 274
[2020-12-20 23:50:47.626 1695M] -> Unique clients: 2
[2020-12-20 23:50:47.626 1695M] -> Known forward destinations: 2
[2020-12-20 23:50:47.626 1695M] Successfully accessed setupVars.conf
[2020-12-20 23:50:47.633 1703M] PID of FTL process: 1703
[2020-12-20 23:50:47.633 1703M] INFO: FTL is running as user pihole (UID 973)
[2020-12-20 23:50:47.634 1703/T1704] Listening on port 4711 for incoming IPv4 telnet connections
[2020-12-20 23:50:47.634 1703M] Reloading DNS cache
[2020-12-20 23:50:47.634 1703M] Blocking status is enabled
[2020-12-20 23:50:47.636 1703/T1705] Listening on port 4711 for incoming IPv6 telnet connections
[2020-12-20 23:50:47.637 1703/T1706] Listening on Unix socket
[2020-12-20 23:50:47.651 1703/T1707] Compiled 0 whitelist and 0 blacklist regex filters for 2 clients in 0.5 msec
*** [ DIAGNOSING ]: contents of /dev/shm
-rw-------. 1 pihole pihole 176128 Dec 20 23:50 /dev/shm/FTL-clients
-rw-------. 1 pihole pihole 152 Dec 20 23:50 /dev/shm/FTL-counters
-rw-------. 1 pihole pihole 4096 Dec 20 23:50 /dev/shm/FTL-dns-cache
-rw-------. 1 pihole pihole 98304 Dec 20 23:50 /dev/shm/FTL-domains
-rw-------. 1 pihole pihole 48 Dec 20 23:50 /dev/shm/FTL-lock
-rw-------. 1 pihole pihole 45056 Dec 20 23:50 /dev/shm/FTL-overTime
-rw-------. 1 pihole pihole 4096 Dec 20 23:50 /dev/shm/FTL-per-client-regex
-rw-------. 1 pihole pihole 524288 Dec 20 23:50 /dev/shm/FTL-queries
-rw-------. 1 pihole pihole 12 Dec 20 23:50 /dev/shm/FTL-settings
-rw-------. 1 pihole pihole 8192 Dec 20 23:50 /dev/shm/FTL-strings
-rw-------. 1 pihole pihole 20480 Dec 20 23:50 /dev/shm/FTL-upstreams
*** [ DIAGNOSING ]: Pi-hole diagnosis messages
*** [ DIAGNOSING ]: Locale
LANG=en_US.UTF-8
*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r--. 1 pihole pihole 1754926 Dec 20 23:51 /var/log/pihole.log
-----head of pihole.log------
Dec 20 21:24:03 dnsmasq[1765]: started, version pi-hole-2.81 cachesize 10000
Dec 20 21:24:03 dnsmasq[1765]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n IDN DHCP DHCPv6 Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify dumpfile
Dec 20 21:24:03 dnsmasq[1765]: warning: interface wlp1s0 does not currently exist
Dec 20 21:24:03 dnsmasq[1765]: using only locally-known addresses for domain use-application-dns.net
Dec 20 21:24:03 dnsmasq[1765]: using nameserver 1.0.0.1#53
Dec 20 21:24:03 dnsmasq[1765]: using nameserver 1.1.1.1#53
Dec 20 21:24:03 dnsmasq[1765]: read /etc/hosts - 2 addresses
Dec 20 21:24:03 dnsmasq[1765]: read /etc/pihole/custom.list - 0 addresses
Dec 20 21:24:03 dnsmasq[1765]: read /etc/pihole/local.list - 2 addresses
Dec 20 21:24:51 dnsmasq[1765]: read /etc/hosts - 2 addresses
Dec 20 21:24:51 dnsmasq[1765]: read /etc/pihole/custom.list - 0 addresses
Dec 20 21:24:51 dnsmasq[1765]: read /etc/pihole/local.list - 2 addresses
Dec 20 21:25:00 dnsmasq[1765]: query[PTR] 1.0.168.192.in-addr.arpa from 127.0.0.1
Dec 20 21:25:00 dnsmasq[1765]: forwarded 1.0.168.192.in-addr.arpa to 1.0.0.1
Dec 20 21:25:00 dnsmasq[1765]: forwarded 1.0.168.192.in-addr.arpa to 1.1.1.1
Dec 20 21:25:00 dnsmasq[1765]: query[PTR] 1.0.0.1.in-addr.arpa from 127.0.0.1
Dec 20 21:25:00 dnsmasq[1765]: forwarded 1.0.0.1.in-addr.arpa to 1.0.0.1
Dec 20 21:25:00 dnsmasq[1765]: reply 1.0.0.1 is one.one.one.one
Dec 20 21:35:00 dnsmasq[1765]: query[PTR] 116.0.168.192.in-addr.arpa from 127.0.0.1
Dec 20 21:35:00 dnsmasq[1765]: forwarded 116.0.168.192.in-addr.arpa to 1.0.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment