Hi everyone,
Expected Behaviour:
I expected to have internet on my pi hole raspberry pi
Actual Behaviour:
No internet on my pi. I try to ping 8.8.8.8 as follows
$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 54(84) bytes of data
Nothing else happend. This might be some sort of dns loop with my router.
Debug Token:
I've got no internet to post the result, so here it is:
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] 2019-06-08:16:24:04 debug log has been initialized.
*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...
*** [ DIAGNOSING ]: Core version
[✓] Core:
[i] Branch: master
[i] Commit: b3898b9
*** [ DIAGNOSING ]: Web version
[✓] Web:
[i] Branch: master
[i] Commit: 8f3ed41
*** [ DIAGNOSING ]: FTL version
[✓] FTL: v4.2.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.45
*** [ DIAGNOSING ]: php version
[i] 7.0.33
*** [ DIAGNOSING ]: Operating system
[✓] Raspbian GNU/Linux 9 (stretch)
*** [ DIAGNOSING ]: SELinux
[i] SELinux not detected
*** [ DIAGNOSING ]: Processor
[✓] armv6l
*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
192.168.0.109/24 matches the IP found in /etc/pihole/setupVars.conf
[✓] IPv6 address(es) bound to the eth0 interface:
fe80::de25:1bb9:a500:d9e9 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 did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)
*** [ DIAGNOSING ]: Ports in use
[*:80] is in use by lighttpd
[*:80] is in use by lighttpd
[*:53] is in use by pihole-FTL
[*:53] is in use by pihole-FTL
[127.0.0.1:4711] is in use by pihole-FTL
[[::1]:4711] is in use by pihole-FTL
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] atropismlsuttxa.download is 0.0.0.0 via localhost (127.0.0.1)
[✓] atropismlsuttxa.download is 0.0.0.0 via Pi-hole (192.168.0.109)
[✗] Failed to resolve doubleclick.com via a remote, public DNS server (8.8.8.8)
*** [ DIAGNOSING ]: Pi-hole processes
[✓] lighttpd daemon is active
[✓] pihole-FTL daemon is active
*** [ DIAGNOSING ]: Setup variables
PIHOLE_INTERFACE=eth0
IPV4_ADDRESS=192.168.0.109/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
BLOCKING_ENABLED=true
DHCP_START=192.168.0.201
DHCP_END=192.168.0.251
DHCP_ROUTER=192.168.0.1
DHCP_LEASETIME=24
PIHOLE_DOMAIN=lan
DHCP_IPv6=false
DHCP_rapid_commit=false
DHCP_ACTIVE=false
*** [ 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
-rw-r--r-- 1 root root 2647511 juin 2 03:24 /etc/pihole/gravity.list
-----head of gravity.list------
0.0.0.0
0.nextyourcontent.com
0.r.msn.com
0.start.bz
-----tail of gravity.list------
zzz.clickbank.net
zzzezeroe.fr
zzzpooeaz-france.com
zzzrtrcm2.com
*** [ DIAGNOSING ]: contents of /etc/pihole
-rw-r--r-- 1 root root 381 mai 11 14:44 /etc/pihole/adlists.list
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://mirror1.malwaredomains.com/files/justdomains
http://sysctl.org/cameleon/hosts
https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
https://hosts-file.net/ad_servers.txt
-rw-r--r-- 1 root root 48 juin 2 03:24 /etc/pihole/local.list
192.168.0.109 raspberrypi
192.168.0.109 pi.hole
-rw-r--r-- 1 root root 234 mai 11 14:53 /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
}
*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
-rw-r--r-- 1 root root 1515 juin 2 17:50 /etc/dnsmasq.d/01-pihole.conf
addn-hosts=/etc/pihole/gravity.list
addn-hosts=/etc/pihole/black.list
addn-hosts=/etc/pihole/local.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=eth0
*** [ DIAGNOSING ]: contents of /etc/lighttpd
-rw-r--r-- 1 root root 3102 mai 11 14:53 /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 = "/var/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/javascript", "text/css", "text/html", "text/plain" )
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
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"] =~ ".ttf$" {
setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
}
}
$HTTP["url"] =~ "^/admin/\.(.*)" {
url.access-deny = ("")
}
include_shell "cat external.conf 2>/dev/null"
*** [ DIAGNOSING ]: contents of /etc/cron.d
-rw-r--r-- 1 root root 1703 mai 11 14:53 /etc/cron.d/pihole
20 3 * * 7 root PATH="$PATH:/usr/local/bin/" pihole updateGravity >/var/log/pihole_updateGravity.log || cat /var/log/pihole_updateGravity.log
00 00 * * * root PATH="$PATH:/usr/local/bin/" pihole flush once quiet
@reboot root /usr/sbin/logrotate /etc/pihole/logrotate
*/10 * * * * root PATH="$PATH:/usr/local/bin/" pihole updatechecker local
8 19 * * * root PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
@reboot root PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot
*** [ DIAGNOSING ]: contents of /var/log/lighttpd
-rw-r--r-- 1 www-data www-data 5003 juin 8 16:27 /var/log/lighttpd/error.log
2019-06-02 06:25:11: (server.c.1534) logfiles cycled UID = 0 PID = 8961
2019-06-02 16:53:26: (server.c.1828) server stopped by UID = 0 PID = 1
2019-06-02 16:53:55: (log.c.217) server started
2019-06-02 16:53:55: (server.c.1295) WARNING: unknown config-key: alias.url (ignored)
2019-06-02 16:54:35: (server.c.1828) server stopped by UID = 0 PID = 1
2019-06-02 16:55:03: (log.c.217) server started
2019-06-02 16:55:03: (server.c.1295) WARNING: unknown config-key: alias.url (ignored)
2019-06-02 16:56:10: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice: Undefined offset: 2 in /var/www/html/admin/scripts/pi-hole/php/update_checker.php on line 58
2019-06-02 17:42:52: (server.c.1828) server stopped by UID = 0 PID = 1
2019-06-02 17:43:20: (log.c.217) server started
2019-06-02 17:43:20: (server.c.1295) WARNING: unknown config-key: alias.url (ignored)
2019-06-02 17:51:16: (server.c.1828) server stopped by UID = 0 PID = 1
2019-06-02 17:51:45: (log.c.217) server started
2019-06-02 17:51:45: (server.c.1295) WARNING: unknown config-key: alias.url (ignored)
2019-06-02 17:52:47: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice: Undefined offset: 1 in /var/www/html/admin/scripts/pi-hole/php/update_checker.php on line 57
2019-06-02 17:52:47: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice: Undefined offset: 2 in /var/www/html/admin/scripts/pi-hole/php/update_checker.php on line 58
2019-06-02 17:53:00: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice: Undefined offset: 2 in /var/www/html/admin/scripts/pi-hole/php/update_checker.php on line 58
2019-06-02 18:14:48: (server.c.1828) server stopped by UID = 0 PID = 1
2019-06-02 18:15:16: (log.c.217) server started
2019-06-02 18:15:16: (server.c.1295) WARNING: unknown config-key: alias.url (ignored)
2019-06-02 18:16:01: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice: Undefined offset: 1 in /var/www/html/admin/scripts/pi-hole/php/update_checker.php on line 57
2019-06-02 18:16:01: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice: Undefined offset: 2 in /var/www/html/admin/scripts/pi-hole/php/update_checker.php on line 58
2019-06-02 18:16:30: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice: Undefined offset: 2 in /var/www/html/admin/scripts/pi-hole/php/update_checker.php on line 58
2019-06-02 18:16:32: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice: Undefined offset: 2 in /var/www/html/admin/scripts/pi-hole/php/update_checker.php on line 58
2019-06-02 18:16:42: (server.c.1828) server stopped by UID = 0 PID = 1
*** [ DIAGNOSING ]: contents of /var/log
-rw-r--r-- 1 pihole pihole 4041 juin 8 12:08 /var/log/pihole-FTL.log
-----head of pihole-FTL.log------
[2019-06-08 12:07:15.180 655] Shutting down...
[2019-06-08 12:07:15.298 655] Finished final database update
[2019-06-08 12:07:15.302 655] ########## FTL terminated after 496198368.0 ms! ##########
[2019-06-08 12:07:50.344 609] Using log file /var/log/pihole-FTL.log
[2019-06-08 12:07:50.348 609] ########## FTL started! ##########
[2019-06-08 12:07:50.348 609] FTL branch: master
[2019-06-08 12:07:50.349 609] FTL version: v4.2.3
[2019-06-08 12:07:50.349 609] FTL commit: aae487e
[2019-06-08 12:07:50.349 609] FTL date: 2019-02-25 17:18:14 -0800
[2019-06-08 12:07:50.349 609] FTL user: pihole
[2019-06-08 12:07:50.351 609] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2019-06-08 12:07:50.352 609] SOCKET_LISTENING: only local
[2019-06-08 12:07:50.352 609] AAAA_QUERY_ANALYSIS: Show AAAA queries
[2019-06-08 12:07:50.352 609] MAXDBDAYS: max age for stored queries is 365 days
[2019-06-08 12:07:50.353 609] RESOLVE_IPV6: Resolve IPv6 addresses
[2019-06-08 12:07:50.353 609] RESOLVE_IPV4: Resolve IPv4 addresses
[2019-06-08 12:07:50.353 609] DBINTERVAL: saving to DB file every minute
[2019-06-08 12:07:50.353 609] DBFILE: Using /etc/pihole/pihole-FTL.db
[2019-06-08 12:07:50.354 609] MAXLOGAGE: Importing up to 24.0 hours of log data
[2019-06-08 12:07:50.354 609] PRIVACYLEVEL: Set to 0
[2019-06-08 12:07:50.354 609] IGNORE_LOCALHOST: Show queries from localhost
[2019-06-08 12:07:50.355 609] BLOCKINGMODE: Null IPs for blocked domains
[2019-06-08 12:07:50.355 609] REGEX_DEBUGMODE: Inactive
[2019-06-08 12:07:50.355 609] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2019-06-08 12:07:50.355 609] DBIMPORT: Importing history from database
[2019-06-08 12:07:50.356 609] PIDFILE: Using /var/run/pihole-FTL.pid
[2019-06-08 12:07:50.356 609] PORTFILE: Using /var/run/pihole-FTL.port
[2019-06-08 12:07:50.356 609] SOCKETFILE: Using /var/run/pihole/FTL.sock
[2019-06-08 12:07:50.356 609] WHITELISTFILE: Using /etc/pihole/whitelist.txt
[2019-06-08 12:07:50.357 609] BLACKLISTFILE: Using /etc/pihole/black.list
[2019-06-08 12:07:50.357 609] GRAVITYFILE: Using /etc/pihole/gravity.list
[2019-06-08 12:07:50.357 609] REGEXLISTFILE: Using /etc/pihole/regex.list
[2019-06-08 12:07:50.357 609] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2019-06-08 12:07:50.358 609] AUDITLISTFILE: Using /etc/pihole/auditlog.list
[2019-06-08 12:07:50.358 609] Finished config file parsing
-----tail of pihole-FTL.log------
[2019-06-08 12:07:50.355 609] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2019-06-08 12:07:50.355 609] DBIMPORT: Importing history from database
[2019-06-08 12:07:50.356 609] PIDFILE: Using /var/run/pihole-FTL.pid
[2019-06-08 12:07:50.356 609] PORTFILE: Using /var/run/pihole-FTL.port
[2019-06-08 12:07:50.356 609] SOCKETFILE: Using /var/run/pihole/FTL.sock
[2019-06-08 12:07:50.356 609] WHITELISTFILE: Using /etc/pihole/whitelist.txt
[2019-06-08 12:07:50.357 609] BLACKLISTFILE: Using /etc/pihole/black.list
[2019-06-08 12:07:50.357 609] GRAVITYFILE: Using /etc/pihole/gravity.list
[2019-06-08 12:07:50.357 609] REGEXLISTFILE: Using /etc/pihole/regex.list
[2019-06-08 12:07:50.357 609] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2019-06-08 12:07:50.358 609] AUDITLISTFILE: Using /etc/pihole/auditlog.list
[2019-06-08 12:07:50.358 609] Finished config file parsing
[2019-06-08 12:07:50.475 609] Database successfully initialized
[2019-06-08 12:07:50.501 609] New forward server: 1.0.0.1 (0/4096)
[2019-06-08 12:07:50.524 609] Resizing "/FTL-strings" from 4096 to 8192
[2019-06-08 12:07:50.579 609] Resizing "/FTL-strings" from 8192 to 12288
[2019-06-08 12:07:50.698 609] Resizing "/FTL-strings" from 12288 to 16384
[2019-06-08 12:07:50.757 609] Imported 3601 queries from the long-term database
[2019-06-08 12:07:50.758 609] -> Total DNS queries: 3601
[2019-06-08 12:07:50.758 609] -> Cached DNS queries: 2
[2019-06-08 12:07:50.759 609] -> Forwarded DNS queries: 3069
[2019-06-08 12:07:50.759 609] -> Exactly blocked DNS queries: 530
[2019-06-08 12:07:50.759 609] -> Unknown DNS queries: 0
[2019-06-08 12:07:50.759 609] -> Unique domains: 495
[2019-06-08 12:07:50.759 609] -> Unique clients: 4
[2019-06-08 12:07:50.760 609] -> Known forward destinations: 1
[2019-06-08 12:07:50.760 609] Successfully accessed setupVars.conf
[2019-06-08 12:07:50.831 621] PID of FTL process: 621
[2019-06-08 12:07:50.837 621] Listening on port 4711 for incoming IPv4 telnet connections
[2019-06-08 12:07:50.838 621] Listening on port 4711 for incoming IPv6 telnet connections
[2019-06-08 12:07:50.838 621] Listening on Unix socket
[2019-06-08 12:07:50.860 621] INFO: No whitelist file found
[2019-06-08 12:07:50.860 621] Compiled 0 Regex filters and 0 whitelisted domains in 0.6 msec (0 errors)
[2019-06-08 12:07:57.296 621] /etc/pihole/gravity.list: parsed 113192 domains (took 6417.8 ms)
[2019-06-08 12:08:05.505 621] New forward server: 1.1.1.1 (1/4096)
*** [ DIAGNOSING ]: contents of /dev/shm
-rw------- 1 pihole pihole 2621440 juin 8 12:07 /dev/shm/FTL-clients
-rw------- 1 pihole pihole 108 juin 8 12:07 /dev/shm/FTL-counters
-rw------- 1 pihole pihole 131072 juin 8 14:08 /dev/shm/FTL-domains
-rw------- 1 pihole pihole 163840 juin 8 12:07 /dev/shm/FTL-forwarded
-rw------- 1 pihole pihole 28 juin 8 12:07 /dev/shm/FTL-lock
-rw------- 1 pihole pihole 8192 juin 8 12:07 /dev/shm/FTL-overTime
-rw------- 1 pihole pihole 229376 juin 8 12:59 /dev/shm/FTL-queries
-rw------- 1 pihole pihole 12 juin 8 12:07 /dev/shm/FTL-settings
-rw------- 1 pihole pihole 16384 juin 8 12:07 /dev/shm/FTL-strings
*** [ DIAGNOSING ]: Locale
LANG=fr_FR.UTF-8
*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 580688 juin 8 16:27 /var/log/pihole.log
-----head of pihole.log------
Jun 8 00:00:05 dnsmasq[655]: query[PTR] 102.0.168.192.in-addr.arpa from 127.0.0.1
Jun 8 00:00:05 dnsmasq[655]: forwarded 102.0.168.192.in-addr.arpa to 1.0.0.1
Jun 8 00:00:05 dnsmasq[655]: forwarded 102.0.168.192.in-addr.arpa to 1.1.1.1
Jun 8 00:00:10 dnsmasq[655]: query[PTR] 103.0.168.192.in-addr.arpa from 127.0.0.1
Jun 8 00:00:10 dnsmasq[655]: forwarded 103.0.168.192.in-addr.arpa to 1.0.0.1
Jun 8 00:00:10 dnsmasq[655]: forwarded 103.0.168.192.in-addr.arpa to 1.1.1.1
Jun 8 00:00:15 dnsmasq[655]: query[PTR] 103.0.168.192.in-addr.arpa from 127.0.0.1
Jun 8 00:00:15 dnsmasq[655]: forwarded 103.0.168.192.in-addr.arpa to 1.0.0.1
Jun 8 00:00:15 dnsmasq[655]: forwarded 103.0.168.192.in-addr.arpa to 1.1.1.1
Jun 8 00:00:20 dnsmasq[655]: query[PTR] 202.0.168.192.in-addr.arpa from 127.0.0.1
Jun 8 00:00:20 dnsmasq[655]: forwarded 202.0.168.192.in-addr.arpa to 1.0.0.1
Jun 8 00:00:20 dnsmasq[655]: forwarded 202.0.168.192.in-addr.arpa to 1.1.1.1
Jun 8 00:00:25 dnsmasq[655]: query[PTR] 202.0.168.192.in-addr.arpa from 127.0.0.1
Jun 8 00:00:25 dnsmasq[655]: forwarded 202.0.168.192.in-addr.arpa to 1.0.0.1
Jun 8 00:00:25 dnsmasq[655]: forwarded 202.0.168.192.in-addr.arpa to 1.1.1.1
Jun 8 00:00:30 dnsmasq[655]: query[PTR] 231.0.168.192.in-addr.arpa from 127.0.0.1
Jun 8 00:00:30 dnsmasq[655]: forwarded 231.0.168.192.in-addr.arpa to 1.0.0.1
Jun 8 00:00:30 dnsmasq[655]: forwarded 231.0.168.192.in-addr.arpa to 1.1.1.1
Jun 8 00:00:35 dnsmasq[655]: query[PTR] 231.0.168.192.in-addr.arpa from 127.0.0.1
Jun 8 00:00:35 dnsmasq[655]: forwarded 231.0.168.192.in-addr.arpa to 1.0.0.1
********************************************
********************************************
[✓] ** 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.
* Log will NOT be uploaded to tricorder.