dalagiorgos

pi-hole

Aug 31st, 2022
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.64 KB | None | 0 0
  1. This process collects information from your Pi-hole, and optionally uploads it to a unique and random directory on tricorder.pi-hole.net.
  2.  
  3. 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.
  4.  
  5. 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.
  6.  
  7. *** [ INITIALIZING ]
  8. [i] 2022-09-01:00:09:02 debug log has been initialized.
  9. [i] System has been running for 0 days, 0 hours, 1 minutes
  10.  
  11. *** [ INITIALIZING ] Sourcing setup variables
  12. [i] Sourcing /etc/pihole/setupVars.conf...
  13.  
  14. *** [ DIAGNOSING ]: Core version
  15. [i] Core: v5.11.4 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
  16. [i] Remotes: origin https://github.com/pi-hole/pi-hole.git (fetch)
  17. origin https://github.com/pi-hole/pi-hole.git (push)
  18. [i] Branch: master
  19. [i] Commit: v5.11.4-0-gaefbe1f
  20.  
  21. *** [ DIAGNOSING ]: Web version
  22. [i] Web: v5.13 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
  23. [i] Remotes: origin https://github.com/pi-hole/AdminLTE.git (fetch)
  24. origin https://github.com/pi-hole/AdminLTE.git (push)
  25. [i] Branch: master
  26. [i] Commit: v5.13-0-g1714b08
  27.  
  28. *** [ DIAGNOSING ]: FTL version
  29. [✓] FTL: v5.16.3
  30.  
  31. *** [ DIAGNOSING ]: lighttpd version
  32. [i] 1.4.53
  33.  
  34. *** [ DIAGNOSING ]: php version
  35. [i] 7.3.31
  36.  
  37. *** [ DIAGNOSING ]: Operating system
  38. [i] dig return code: 0
  39. [i] dig response: "Raspbian=10,11 Ubuntu=18,20,21,22 Debian=10,11 Fedora=34 CentOS=7,8 Rocky=8"
  40. [✓] Distro: Raspbian
  41. [✓] Version: 10
  42.  
  43. *** [ DIAGNOSING ]: SELinux
  44. [i] SELinux not detected
  45.  
  46. *** [ DIAGNOSING ]: FirewallD
  47. [i] Firewalld service inactive
  48.  
  49. *** [ DIAGNOSING ]: Processor
  50. [✓] armv7l
  51.  
  52. *** [ DIAGNOSING ]: Disk usage
  53. Filesystem Size Used Avail Use% Mounted on
  54. /dev/root 13G 2.7G 9.1G 23% /
  55. devtmpfs 430M 0 430M 0% /dev
  56. tmpfs 462M 3.6M 459M 1% /dev/shm
  57. tmpfs 462M 6.3M 456M 2% /run
  58. tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  59. tmpfs 462M 0 462M 0% /sys/fs/cgroup
  60. /dev/mmcblk0p6 253M 49M 204M 20% /boot
  61. tmpfs 93M 0 93M 0% /run/user/999
  62.  
  63. *** [ DIAGNOSING ]: Network interfaces and addresses
  64. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
  65. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  66. inet 127.0.0.1/8 scope host lo
  67. valid_lft forever preferred_lft forever
  68. inet6 ::1/128 scope host
  69. valid_lft forever preferred_lft forever
  70. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
  71. link/ether b8:27:eb:c6:a8:20 brd ff:ff:ff:ff:ff:ff
  72. inet 192.168.1.10/24 brd 192.168.1.255 scope global noprefixroute eth0
  73. valid_lft forever preferred_lft forever
  74. inet6 2a02:587:6d53:e800:204b:e86a:5cdb:5350/64 scope global dynamic mngtmpaddr noprefixroute
  75. valid_lft 79267sec preferred_lft 79267sec
  76. inet6 fe80::ad9c:e798:ace4:a02b/64 scope link
  77. valid_lft forever preferred_lft forever
  78. 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
  79. link/ether b8:27:eb:93:fd:75 brd ff:ff:ff:ff:ff:ff
  80. inet 192.168.1.158/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
  81. valid_lft 86310sec preferred_lft 75510sec
  82. inet6 2a02:587:6d53:e800:5e98:6d0a:c314:3346/64 scope global dynamic mngtmpaddr noprefixroute
  83. valid_lft 79267sec preferred_lft 79267sec
  84. inet6 fe80::e2cb:22ba:43d7:eba/64 scope link
  85. valid_lft forever preferred_lft forever
  86.  
  87. *** [ DIAGNOSING ]: Network routing table
  88. default via 192.168.1.1 dev eth0 src 192.168.1.10 metric 202
  89. default via 192.168.1.1 dev wlan0 proto dhcp src 192.168.1.158 metric 303
  90. 192.168.1.0/24 dev eth0 proto dhcp scope link src 192.168.1.10 metric 202
  91. 192.168.1.0/24 dev wlan0 proto dhcp scope link src 192.168.1.158 metric 303
  92.  
  93. *** [ DIAGNOSING ]: Networking
  94. [✓] IPv4 address(es) bound to the eth0 interface:
  95. 192.168.1.10/24
  96.  
  97. [✓] IPv6 address(es) bound to the eth0 interface:
  98. 2a02:587:6d53:e800:204b:e86a:5cdb:5350/64
  99. fe80::ad9c:e798:ace4:a02b/64
  100.  
  101. [i] Default IPv4 gateway: 192.168.1.1
  102. * Pinging 192.168.1.1...
  103. [✓] Gateway responded.
  104. [i] Default IPv6 gateway: fe80::1
  105. * Pinging fe80::1...
  106. [✓] Gateway responded.
  107.  
  108. *** [ DIAGNOSING ]: Ports in use
  109. [✓] udp:0.0.0.0:53 is in use by pihole-FTL
  110. udp:0.0.0.0:67 is in use by pihole-FTL
  111. udp:0.0.0.0:68 is in use by dhcpcd
  112. udp:0.0.0.0:53858 is in use by avahi-daemon
  113. udp:0.0.0.0:5353 is in use by avahi-daemon
  114. [✓] udp:*:53 is in use by pihole-FTL
  115. udp:*:51924 is in use by avahi-daemon
  116. udp:*:5353 is in use by avahi-daemon
  117. udp:*:546 is in use by dhcpcd
  118. [✓] tcp:127.0.0.1:4711 is in use by pihole-FTL
  119. [✓] tcp:0.0.0.0:80 is in use by lighttpd
  120. [✓] tcp:0.0.0.0:53 is in use by pihole-FTL
  121. tcp:0.0.0.0:22 is in use by sshd
  122. [✓] tcp:[::1]:4711 is in use by pihole-FTL
  123. [✓] tcp:[::]:80 is in use by lighttpd
  124. [✓] tcp:[::]:53 is in use by pihole-FTL
  125. tcp:[::]:22 is in use by sshd
  126.  
  127. *** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
  128. [✓] bag-hermes.com is 0.0.0.0 on lo (127.0.0.1)
  129. [✓] bag-hermes.com is 0.0.0.0 on eth0 (192.168.1.10)
  130. [✓] bag-hermes.com is 0.0.0.0 on wlan0 (192.168.1.158)
  131. [✓] doubleclick.com is 142.250.74.206 via a remote, public DNS server (8.8.8.8)
  132.  
  133. *** [ DIAGNOSING ]: Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
  134. [✓] accountreco.chd.ns-confluence.machinevision.net.zooplus.it is :: on lo (::1)
  135. [✓] accountreco.chd.ns-confluence.machinevision.net.zooplus.it is :: on eth0 (2a02:587:6d53:e800:204b:e86a:5cdb:5350)
  136. [✓] accountreco.chd.ns-confluence.machinevision.net.zooplus.it is :: on eth0 (fe80::ad9c:e798:ace4:a02b)
  137. [✓] accountreco.chd.ns-confluence.machinevision.net.zooplus.it is :: on wlan0 (2a02:587:6d53:e800:5e98:6d0a:c314:3346)
  138. [✓] accountreco.chd.ns-confluence.machinevision.net.zooplus.it is :: on wlan0 (fe80::e2cb:22ba:43d7:eba)
  139. [✓] doubleclick.com is 2a00:1450:4001:82f::200e via a remote, public DNS server (2001:4860:4860::8888)
  140.  
  141. *** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
  142. Scanning all your interfaces for DHCP servers
  143. Timeout: 10 seconds
  144.  
  145. * Received 300 bytes from eth0:192.168.1.10
  146. Offered IP address: 192.168.1.183
  147. Server IP address: 192.168.1.10
  148. Relay-agent IP address: N/A
  149. BOOTP server: (empty)
  150. BOOTP file: (empty)
  151. DHCP options:
  152. Message type: DHCPOFFER (2)
  153. server-identifier: 192.168.1.10
  154. lease-time: 86400 ( 1d )
  155. renewal-time: 43200 ( 12h )
  156. rebinding-time: 75600 ( 21h )
  157. netmask: 255.255.255.0
  158. broadcast: 192.168.1.255
  159. dns-server: 192.168.1.10
  160. domain-name: "lan"
  161. router: 192.168.1.1
  162. --- end of options ---
  163.  
  164. * Received 300 bytes from wlan0:192.168.1.158
  165. Offered IP address: 192.168.1.159
  166. Server IP address: 192.168.1.158
  167. Relay-agent IP address: N/A
  168. BOOTP server: (empty)
  169. BOOTP file: (empty)
  170. DHCP options:
  171. Message type: DHCPOFFER (2)
  172. server-identifier: 192.168.1.158
  173. lease-time: 86400 ( 1d )
  174. renewal-time: 43200 ( 12h )
  175. rebinding-time: 75600 ( 21h )
  176. netmask: 255.255.255.0
  177. broadcast: 192.168.1.255
  178. dns-server: 192.168.1.158
  179. domain-name: "lan"
  180. router: 192.168.1.1
  181. --- end of options ---
  182.  
  183. DHCP packets received on interface lo: 0
  184. DHCP packets received on interface eth0: 1
  185. DHCP packets received on interface wlan0: 1
  186.  
  187. *** [ DIAGNOSING ]: Pi-hole processes
  188. [✓] lighttpd daemon is active
  189. [✓] pihole-FTL daemon is active
  190.  
  191. *** [ DIAGNOSING ]: Pi-hole-FTL full status
  192. ● pihole-FTL.service - LSB: pihole-FTL daemon
  193. Loaded: loaded (/etc/init.d/pihole-FTL; generated)
  194. Active: active (exited) since Wed 2022-08-31 21:17:17 EEST; 2h 51min ago
  195. Docs: man:systemd-sysv-generator(8)
  196. Process: 523 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
  197.  
  198. Aug 31 21:17:13 raspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...
  199. Aug 31 21:17:13 raspberrypi pihole-FTL[523]: Not running
  200. Aug 31 21:17:13 raspberrypi su[547]: (to pihole) root on none
  201. Aug 31 21:17:13 raspberrypi su[547]: pam_unix(su:session): session opened for user pihole by (uid=0)
  202. Aug 31 21:17:17 raspberrypi pihole-FTL[523]: FTL started!
  203. Aug 31 21:17:17 raspberrypi systemd[1]: Started LSB: pihole-FTL daemon.
  204.  
  205. *** [ DIAGNOSING ]: Setup variables
  206. DHCP_ACTIVE=true
  207. DHCP_START=192.168.1.21
  208. DHCP_END=192.168.1.251
  209. DHCP_ROUTER=192.168.1.1
  210. DHCP_LEASETIME=24
  211. PIHOLE_DOMAIN=lan
  212. DHCP_IPv6=false
  213. DHCP_rapid_commit=false
  214. DNSSEC=false
  215. REV_SERVER=false
  216. BLOCKING_ENABLED=true
  217. IPV4_ADDRESS=192.168.1.10/24
  218. IPV6_ADDRESS=2a02:587:6c1f:9200:721b:5b9f:30ba:51dd
  219. PIHOLE_INTERFACE=eth0
  220. QUERY_LOGGING=true
  221. INSTALL_WEB_SERVER=true
  222. INSTALL_WEB_INTERFACE=true
  223. LIGHTTPD_ENABLED=true
  224. CACHE_SIZE=10000
  225. DNS_FQDN_REQUIRED=true
  226. DNS_BOGUS_PRIV=true
  227. DNSMASQ_LISTENING=local
  228. PIHOLE_DNS_1=8.8.8.8
  229. PIHOLE_DNS_2=8.8.4.4
  230. PIHOLE_DNS_3=2001:4860:4860:0:0:0:0:8888
  231. PIHOLE_DNS_4=2001:4860:4860:0:0:0:0:8844
  232. PIHOLE_DNS_5=208.67.222.222
  233. PIHOLE_DNS_6=208.67.220.220
  234. PIHOLE_DNS_7=2620:119:35::35
  235. PIHOLE_DNS_8=2620:119:53::53
  236.  
  237. *** [ DIAGNOSING ]: Dashboard and block page
  238. [✗] Block page X-Header: X-Header does not match or could not be retrieved.
  239. HTTP/1.1 200 OK
  240. Content-type: text/html; charset=UTF-8
  241. Expires: Wed, 31 Aug 2022 21:09:15 GMT
  242. Cache-Control: max-age=0
  243. Date: Wed, 31 Aug 2022 21:09:15 GMT
  244. Server: lighttpd/1.4.53
  245.  
  246. [✓] Web interface X-Header: X-Pi-hole: The Pi-hole Web interface is working!
  247.  
  248. *** [ DIAGNOSING ]: Gravity Database
  249. -rw-rw-r-- 1 pihole pihole 9.7M Aug 28 04:28 /etc/pihole/gravity.db
  250.  
  251. *** [ DIAGNOSING ]: Info table
  252. property value
  253. -------------------- ----------------------------------------
  254. version 15
  255. updated 1661650087
  256. gravity_count 136942
  257. Last gravity run finished at: Sun Aug 28 04:28:07 EEST 2022
  258.  
  259. ----- First 10 Gravity Domains -----
  260. localhost.localdomain
  261. eu1.clevertap-prod.com
  262. wizhumpgyros.com
  263. coccyxwickimp.com
  264. webmail-who-int.000webhostapp.com
  265. 010sec.com
  266. 01mspmd5yalky8.com
  267. 0byv9mgbn0.com
  268. ns6.0pendns.org
  269. dns.0pengl.com
  270.  
  271.  
  272. *** [ DIAGNOSING ]: Groups
  273. id enabled name date_added date_modified description
  274. ---- ------- -------------------------------------------------- ------------------- ------------------- --------------------------------------------------
  275. 0 1 Default 2020-12-30 22:45:52 2020-12-30 22:45:52 The default group
  276.  
  277. *** [ DIAGNOSING ]: Domainlist (0/1 = exact white-/blacklist, 2/3 = regex white-/blacklist)
  278. id type enabled group_ids domain date_added date_modified comment
  279. ----- ---- ------- ------------ ---------------------------------------------------------------------------------------------------- ------------------- ------------------- --------------------------------------------------
  280. 3 0 1 0 wpad.lan 2021-01-20 18:49:21 2021-01-20 18:49:21 Added from Query Log
  281. 4 0 1 0 sanalytics.disneyplus.com 2022-08-27 11:41:02 2022-08-27 11:41:02 Added from Query Log
  282.  
  283. *** [ DIAGNOSING ]: Clients
  284. id group_ids ip date_added date_modified comment
  285. ---- ------------ ---------------------------------------------------------------------------------------------------- ------------------- ------------------- --------------------------------------------------
  286. 1 0 08:ED:B9:6D:C0:ED 2020-12-31 10:09:07 2020-12-31 10:09:07 Laptop
  287. 2 0 F0:4F:7C:A8:46:ED 2020-12-31 10:09:28 2020-12-31 10:09:28 Kindle
  288. 4 0 BA:17:48:98:31:42 2020-12-31 10:11:59 2020-12-31 10:11:59 iPhone
  289. 5 0 64:DB:43:4E:77:47 2020-12-31 10:13:32 2020-12-31 10:13:32 Lenovo Δανάης
  290. 6 0 74:1B:B2:9C:4D:76 2020-12-31 10:35:19 2020-12-31 10:35:19 iPhone Ελένης
  291. 7 0 08:9E:08:43:CF:13 2021-01-17 18:10:18 2021-01-17 18:10:18 Chromecast
  292.  
  293. *** [ DIAGNOSING ]: Adlists
  294. id enabled group_ids address date_added date_modified comment
  295. ----- ------- ------------ ---------------------------------------------------------------------------------------------------- ------------------- ------------------- --------------------------------------------------
  296. 1 1 0 https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts 2020-12-30 22:45:52 2020-12-30 22:45:52 Migrated from /etc/pihole/adlists.list
  297. 2 1 0 https://mirror1.malwaredomains.com/files/justdomains 2020-12-30 22:45:52 2020-12-30 22:45:52 Migrated from /etc/pihole/adlists.list
  298.  
  299. *** [ DIAGNOSING ]: contents of /etc/pihole
  300.  
  301. -rw-r--r-- 1 root root 0 Dec 30 2020 /etc/pihole/custom.list
  302.  
  303. -rw-r--r-- 1 root root 65 Aug 28 04:28 /etc/pihole/local.list
  304.  
  305. -rw-r--r-- 1 root root 241 Aug 4 10:19 /etc/pihole/logrotate
  306. /var/log/pihole/pihole.log {
  307. su root root
  308. daily
  309. copytruncate
  310. rotate 5
  311. compress
  312. delaycompress
  313. notifempty
  314. nomail
  315. }
  316. /var/log/pihole/FTL.log {
  317. su root root
  318. weekly
  319. copytruncate
  320. rotate 3
  321. compress
  322. delaycompress
  323. notifempty
  324. nomail
  325. }
  326.  
  327. -rw-rw-r-- 1 pihole root 34 Aug 27 11:57 /etc/pihole/pihole-FTL.conf
  328. PRIVACYLEVEL=0
  329. RATE_LIMIT=1000/60
  330.  
  331. *** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
  332.  
  333. -rw-r--r-- 1 root root 1.7K Aug 31 19:40 /etc/dnsmasq.d/01-pihole.conf
  334. addn-hosts=/etc/pihole/local.list
  335. addn-hosts=/etc/pihole/custom.list
  336. localise-queries
  337. no-resolv
  338. cache-size=10000
  339. log-queries
  340. log-facility=/var/log/pihole/pihole.log
  341. log-async
  342. server=8.8.8.8
  343. server=8.8.4.4
  344. server=2001:4860:4860:0:0:0:0:8888
  345. server=2001:4860:4860:0:0:0:0:8844
  346. server=208.67.222.222
  347. server=208.67.220.220
  348. server=2620:119:35::35
  349. server=2620:119:53::53
  350. domain-needed
  351. expand-hosts
  352. bogus-priv
  353. local-service
  354. dhcp-name-match=set:hostname-ignore,wpad
  355. dhcp-name-match=set:hostname-ignore,localhost
  356. dhcp-ignore-names=tag:hostname-ignore
  357.  
  358. -rw-r--r-- 1 root root 494 Aug 31 19:40 /etc/dnsmasq.d/02-pihole-dhcp.conf
  359. dhcp-authoritative
  360. dhcp-range=192.168.1.21,192.168.1.251,24h
  361. dhcp-option=option:router,192.168.1.1
  362. dhcp-leasefile=/etc/pihole/dhcp.leases
  363. domain=lan
  364. local=/lan/
  365.  
  366. -rw-r--r-- 1 root root 0 Aug 27 11:56 /etc/dnsmasq.d/04-pihole-static-dhcp.conf
  367.  
  368. -rw-r--r-- 1 root root 2.2K Aug 26 10:45 /etc/dnsmasq.d/06-rfc6761.conf
  369. server=/test/
  370. server=/localhost/
  371. server=/invalid/
  372. server=/bind/
  373. server=/onion/
  374.  
  375. *** [ DIAGNOSING ]: contents of /etc/lighttpd
  376.  
  377. -rw-r--r-- 1 root root 0 Nov 13 2021 /etc/lighttpd/external.conf
  378.  
  379. -rw-r--r-- 1 root root 3.9K Aug 26 10:45 /etc/lighttpd/lighttpd.conf
  380. server.modules = (
  381. "mod_access",
  382. "mod_accesslog",
  383. "mod_auth",
  384. "mod_expire",
  385. "mod_redirect",
  386. "mod_setenv",
  387. "mod_rewrite"
  388. )
  389. server.document-root = "/var/www/html"
  390. server.error-handler-404 = "/pihole/index.php"
  391. server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
  392. server.errorlog = "/var/log/lighttpd/error-pihole.log"
  393. server.pid-file = "/run/lighttpd.pid"
  394. server.username = "www-data"
  395. server.groupname = "www-data"
  396. server.port = 80
  397. accesslog.filename = "/var/log/lighttpd/access-pihole.log"
  398. accesslog.format = "%{%s}t|%V|%r|%s|%b"
  399. server.stream-response-body = 1
  400. index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
  401. url.access-deny = ( "~", ".inc", ".md", ".yml", ".ini" )
  402. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  403. mimetype.assign = (
  404. ".ico" => "image/x-icon",
  405. ".jpeg" => "image/jpeg",
  406. ".jpg" => "image/jpeg",
  407. ".png" => "image/png",
  408. ".svg" => "image/svg+xml",
  409. ".css" => "text/css; charset=utf-8",
  410. ".html" => "text/html; charset=utf-8",
  411. ".js" => "text/javascript; charset=utf-8",
  412. ".json" => "application/json; charset=utf-8",
  413. ".map" => "application/json; charset=utf-8",
  414. ".txt" => "text/plain; charset=utf-8",
  415. ".eot" => "application/vnd.ms-fontobject",
  416. ".otf" => "font/otf",
  417. ".ttc" => "font/collection",
  418. ".ttf" => "font/ttf",
  419. ".woff" => "font/woff",
  420. ".woff2" => "font/woff2"
  421. )
  422. include_shell "cat external.conf 2>/dev/null"
  423. include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
  424. include_shell "find /etc/lighttpd/conf-enabled -name '*.conf' -a ! -name 'letsencrypt.conf' -printf 'include \"%p\"
  425. ' 2>/dev/null"
  426. $HTTP["url"] =~ "^/admin/" {
  427. setenv.add-response-header = (
  428. "X-Pi-hole" => "The Pi-hole Web interface is working!",
  429. "X-Frame-Options" => "DENY"
  430. )
  431. }
  432. $HTTP["url"] =~ "^/admin/\.(.*)" {
  433. url.access-deny = ("")
  434. }
  435. $HTTP["url"] =~ "/(teleporter|api_token)\.php$" {
  436. $HTTP["referer"] =~ "/admin/settings\.php" {
  437. setenv.add-response-header = ( "X-Frame-Options" => "SAMEORIGIN" )
  438. }
  439. }
  440. expire.url = ( "" => "access plus 0 seconds" )
  441.  
  442. *** [ DIAGNOSING ]: contents of /etc/cron.d
  443.  
  444. -rw-r--r-- 1 root root 1.8K Aug 26 10:45 /etc/cron.d/pihole
  445. 28 4 * * 7 root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updateGravity >/var/log/pihole/pihole_updateGravity.log || cat /var/log/pihole/pihole_updateGravity.log
  446. 00 00 * * * root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole flush once quiet
  447. @reboot root /usr/sbin/logrotate --state /var/lib/logrotate/pihole /etc/pihole/logrotate
  448. */10 * * * * root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker local
  449. 14 19 * * * root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker remote
  450. @reboot root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker remote reboot
  451.  
  452. *** [ DIAGNOSING ]: contents of /var/log/lighttpd
  453.  
  454. -rw-r--r-- 1 www-data www-data 145 Aug 31 21:17 /var/log/lighttpd/error-pihole.log
  455. -----head of error-pihole.log------
  456. 2022-08-28 00:00:31: (server.c.1759) logfiles cycled UID = 0 PID = 11868
  457. 2022-08-31 21:17:13: (server.c.1464) server started (lighttpd/1.4.53)
  458.  
  459. -----tail of error-pihole.log------
  460. 2022-08-28 00:00:31: (server.c.1759) logfiles cycled UID = 0 PID = 11868
  461. 2022-08-31 21:17:13: (server.c.1464) server started (lighttpd/1.4.53)
  462.  
  463. *** [ DIAGNOSING ]: contents of /var/log/pihole
  464.  
  465. -rw-r--r-- 1 pihole pihole 3.2K Sep 1 00:09 /var/log/pihole/FTL.log
  466. -----head of FTL.log------
  467. [2022-09-01 00:07:51.674 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  468. [2022-09-01 00:07:51.708 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  469. [2022-09-01 00:07:59.110 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  470. [2022-09-01 00:07:59.133 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  471. [2022-09-01 00:08:00.218 581/T597] Notice: Database size is 392.69 MB, deleted 2522 rows
  472. [2022-09-01 00:08:17.994 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  473. [2022-09-01 00:08:18.016 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  474. [2022-09-01 00:08:18.046 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  475. [2022-09-01 00:08:18.069 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  476. [2022-09-01 00:08:19.523 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  477. [2022-09-01 00:08:19.545 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  478. [2022-09-01 00:08:46.836 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  479. [2022-09-01 00:08:46.858 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  480. [2022-09-01 00:08:57.194 581M] Resizing "FTL-dns-cache" from 4096 to (512 * 16) == 8192 (/dev/shm: 3.7MB used, 484.0MB total, FTL uses 3.7MB)
  481. [2022-09-01 00:08:59.257 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  482. [2022-09-01 00:08:59.279 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  483. [2022-09-01 00:09:05.995 581M] WARNING in dnsmasq core: no address range available for DHCP request via lo
  484. [2022-09-01 00:09:18.324 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  485. [2022-09-01 00:09:18.342 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  486.  
  487. -----tail of FTL.log------
  488. [2022-09-01 00:07:51.674 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  489. [2022-09-01 00:07:51.708 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  490. [2022-09-01 00:07:59.110 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  491. [2022-09-01 00:07:59.133 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  492. [2022-09-01 00:08:00.218 581/T597] Notice: Database size is 392.69 MB, deleted 2522 rows
  493. [2022-09-01 00:08:17.994 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  494. [2022-09-01 00:08:18.016 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  495. [2022-09-01 00:08:18.046 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  496. [2022-09-01 00:08:18.069 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  497. [2022-09-01 00:08:19.523 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  498. [2022-09-01 00:08:19.545 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  499. [2022-09-01 00:08:46.836 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  500. [2022-09-01 00:08:46.858 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  501. [2022-09-01 00:08:57.194 581M] Resizing "FTL-dns-cache" from 4096 to (512 * 16) == 8192 (/dev/shm: 3.7MB used, 484.0MB total, FTL uses 3.7MB)
  502. [2022-09-01 00:08:59.257 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  503. [2022-09-01 00:08:59.279 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  504. [2022-09-01 00:09:05.995 581M] WARNING in dnsmasq core: no address range available for DHCP request via lo
  505. [2022-09-01 00:09:18.324 581M] WARNING in dnsmasq core: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  506. [2022-09-01 00:09:18.342 581M] WARNING in dnsmasq core: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  507.  
  508. *** [ DIAGNOSING ]: contents of /dev/shm
  509. -rw------- 1 pihole pihole 324K Sep 1 00:09 /dev/shm/FTL-clients
  510. -rw------- 1 pihole pihole 244 Aug 31 21:17 /dev/shm/FTL-counters
  511. -rw------- 1 pihole pihole 8.0K Aug 31 21:17 /dev/shm/FTL-dns-cache
  512. -rw------- 1 pihole pihole 40K Sep 1 00:08 /dev/shm/FTL-domains
  513. -rw------- 1 pihole pihole 56 Aug 31 21:17 /dev/shm/FTL-lock
  514. -rw------- 1 pihole pihole 12K Aug 31 21:17 /dev/shm/FTL-overTime
  515. -rw------- 1 pihole pihole 4.0K Aug 31 21:17 /dev/shm/FTL-per-client-regex
  516. -rw------- 1 pihole pihole 2.5M Sep 1 00:07 /dev/shm/FTL-queries
  517. -rw------- 1 pihole pihole 12 Aug 31 21:17 /dev/shm/FTL-settings
  518. -rw------- 1 pihole pihole 120K Aug 31 21:17 /dev/shm/FTL-strings
  519. -rw------- 1 pihole pihole 604K Aug 31 21:17 /dev/shm/FTL-upstreams
  520.  
  521. *** [ DIAGNOSING ]: contents of /etc
  522.  
  523. -rw-r--r-- 1 root root 24 Aug 26 10:45 /etc/dnsmasq.conf
  524. conf-dir=/etc/dnsmasq.d
  525.  
  526. -rw-r--r-- 1 root root 162 Aug 31 21:17 /etc/resolv.conf
  527. domain lan
  528. nameserver 208.67.222.222
  529. nameserver 208.67.220.220
  530. nameserver fe80::1%eth0
  531. nameserver 192.168.1.10
  532. nameserver fe80::1%wlan0
  533.  
  534. *** [ DIAGNOSING ]: Pi-hole diagnosis messages
  535. count last timestamp type message blob1 blob2 blob3 blob4 blob5
  536. ------ ------------------- -------------------- ------------------------------------------------------------ -------------------- -------------------- -------------------- -------------------- --------------------
  537. 1 2022-09-01 00:09:05 DNSMASQ_WARN no address range available for DHCP request via lo
  538.  
  539. 11 2022-09-01 00:09:18 DNSMASQ_WARN not giving name raspberrypi to the DHCP lease of 192.168.1.1
  540. 58 because the name exists in /etc/hosts with address 127.0.
  541. 1.1
  542.  
  543. 11 2022-09-01 00:09:18 DNSMASQ_WARN not giving name raspberrypi.lan to the DHCP lease of 192.168
  544. .1.158 because the name exists in /etc/hosts with address 12
  545. 7.0.1.1
  546.  
  547. *** [ DIAGNOSING ]: Locale
  548. LANG=
  549.  
  550. *** [ DIAGNOSING ]: Pi-hole log
  551. -rw-r----- 1 pihole pihole 78K Sep 1 00:09 /var/log/pihole/pihole.log
  552. -----head of pihole.log------
  553. Sep 1 00:07:51 dnsmasq-dhcp[581]: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  554. Sep 1 00:07:51 dnsmasq-dhcp[581]: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  555. Sep 1 00:07:51 dnsmasq-dhcp[581]: DHCPDISCOVER(wlan0) f0:4f:7c:a8:46:ed
  556. Sep 1 00:07:51 dnsmasq-dhcp[581]: DHCPOFFER(wlan0) 192.168.1.129 f0:4f:7c:a8:46:ed
  557. Sep 1 00:07:51 dnsmasq-dhcp[581]: DHCPREQUEST(eth0) 192.168.1.129 f0:4f:7c:a8:46:ed
  558. Sep 1 00:07:51 dnsmasq-dhcp[581]: DHCPACK(eth0) 192.168.1.129 f0:4f:7c:a8:46:ed
  559. Sep 1 00:07:51 dnsmasq-dhcp[581]: not giving name raspberrypi.lan to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  560. Sep 1 00:07:51 dnsmasq-dhcp[581]: not giving name raspberrypi to the DHCP lease of 192.168.1.158 because the name exists in /etc/hosts with address 127.0.1.1
  561. Sep 1 00:07:51 dnsmasq-dhcp[581]: DHCPREQUEST(wlan0) 192.168.1.129 f0:4f:7c:a8:46:ed
  562. Sep 1 00:07:51 dnsmasq-dhcp[581]: DHCPNAK(wlan0) 192.168.1.129 f0:4f:7c:a8:46:ed wrong server-ID
  563. Sep 1 00:07:51 dnsmasq[581]: query[A] dogvgb9ujhybx.cloudfront.net from 192.168.1.129
  564. Sep 1 00:07:51 dnsmasq[581]: forwarded dogvgb9ujhybx.cloudfront.net to 8.8.8.8
  565. Sep 1 00:07:51 dnsmasq[581]: forwarded dogvgb9ujhybx.cloudfront.net to 8.8.4.4
  566. Sep 1 00:07:51 dnsmasq[581]: forwarded dogvgb9ujhybx.cloudfront.net to 2001:4860:4860::8888
  567. Sep 1 00:07:51 dnsmasq[581]: forwarded dogvgb9ujhybx.cloudfront.net to 2001:4860:4860::8844
  568. Sep 1 00:07:51 dnsmasq[581]: forwarded dogvgb9ujhybx.cloudfront.net to 208.67.222.222
  569. Sep 1 00:07:51 dnsmasq[581]: forwarded dogvgb9ujhybx.cloudfront.net to 208.67.220.220
  570. Sep 1 00:07:51 dnsmasq[581]: forwarded dogvgb9ujhybx.cloudfront.net to 2620:119:35::35
  571. Sep 1 00:07:51 dnsmasq[581]: forwarded dogvgb9ujhybx.cloudfront.net to 2620:119:53::53
  572. Sep 1 00:07:51 dnsmasq[581]: reply dogvgb9ujhybx.cloudfront.net is 52.85.221.83
  573.  
  574. -----tail of pihole.log------
  575. Sep 1 00:09:18 dnsmasq[581]: forwarded gsp85-ssl.ls.apple.com to 8.8.8.8
  576. Sep 1 00:09:18 dnsmasq[581]: reply gsp85-ssl.ls.apple.com is <CNAME>
  577. Sep 1 00:09:18 dnsmasq[581]: reply gsp85-ssl.ls2-apple.com.akadns.net is NODATA
  578. Sep 1 00:09:18 dnsmasq[581]: reply gsp85-ssl.ls.apple.com is <CNAME>
  579. Sep 1 00:09:18 dnsmasq[581]: reply gsp85-ssl.ls2-apple.com.akadns.net is 17.57.163.28
  580. Sep 1 00:09:18 dnsmasq[581]: query[HTTPS] gsp85-ssl.ls2-apple.com.akadns.net from 192.168.1.208
  581. Sep 1 00:09:18 dnsmasq[581]: forwarded gsp85-ssl.ls2-apple.com.akadns.net to 8.8.8.8
  582. Sep 1 00:09:18 dnsmasq[581]: reply gsp85-ssl.ls2-apple.com.akadns.net is NODATA
  583. Sep 1 00:09:19 dnsmasq[581]: query[AAAA] ad.doubleclick.net from 192.168.1.125
  584. Sep 1 00:09:19 dnsmasq[581]: gravity blocked ad.doubleclick.net is ::
  585. Sep 1 00:09:19 dnsmasq[581]: query[A] ad.doubleclick.net from 192.168.1.125
  586. Sep 1 00:09:19 dnsmasq[581]: gravity blocked ad.doubleclick.net is 0.0.0.0
  587. Sep 1 00:09:19 dnsmasq[581]: query[AAAA] www.googleadservices.com from 192.168.1.125
  588. Sep 1 00:09:19 dnsmasq[581]: gravity blocked www.googleadservices.com is ::
  589. Sep 1 00:09:19 dnsmasq[581]: query[A] www.googleadservices.com from 192.168.1.125
  590. Sep 1 00:09:19 dnsmasq[581]: gravity blocked www.googleadservices.com is 0.0.0.0
  591. Sep 1 00:09:20 dnsmasq[581]: query[A] browser.pipe.aria.microsoft.com from 192.168.1.235
  592. Sep 1 00:09:20 dnsmasq[581]: gravity blocked browser.pipe.aria.microsoft.com is 0.0.0.0
  593. Sep 1 00:09:20 dnsmasq[581]: query[AAAA] browser.pipe.aria.microsoft.com from 192.168.1.235
  594. Sep 1 00:09:20 dnsmasq[581]: gravity blocked browser.pipe.aria.microsoft.com is ::
  595.  
  596.  
  597. ********************************************
  598. ********************************************
  599. [✓] ** FINISHED DEBUGGING! **
  600.  
  601. * The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
  602. [i] Debug script running in automated mode
  603. * Using curl for transmission.
  604.  
  605. *****************************************************************
  606. *****************************************************************
  607.  
  608. [✓] Your debug token is: https://tricorder.pi-hole.net/ceLizhyy/
  609. [i] Logs are deleted 48 hours after upload.
  610.  
  611. *****************************************************************
  612. *****************************************************************
  613.  
  614. * Provide the token above to the Pi-hole team for assistance at https://discourse.pi-hole.net
  615. * A local copy of the debug log can be found at: /var/log/pihole/pihole_debug.log
Add Comment
Please, Sign In to add comment