Please follow the below template, it will help us to help you!
Expected Behaviour:
blocking unwanted ads and allowing access to internet
Actual Behaviour:
once rasp pi ip is placed in DNS all internet cuts on all devices
Debug Token:
*** [ INITIALIZING ]
[i] 2020-02-12:17:04:37 debug log has been initialized.
*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...
*** [ DIAGNOSING ]: Core version
[i] Core: v4.3.2 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v4.3.2-0-ge41c4b5
*** [ DIAGNOSING ]: Web version
[i] Web: v4.3.2 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v4.3.2-0-g38d8e77
*** [ DIAGNOSING ]: FTL version
[✓] FTL: v4.3.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.53
*** [ DIAGNOSING ]: php version
[i] 7.3.11
*** [ DIAGNOSING ]: Operating system
[✓] Raspbian GNU/Linux 10 (buster)
*** [ DIAGNOSING ]: SELinux
[i] SELinux not detected
*** [ DIAGNOSING ]: Processor
[✓] armv7l
*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
192.168.1.12/24 matches the IP found in /etc/pihole/setupVars.conf
[✓] IPv6 address(es) bound to the eth0 interface:
2604:6000:111c:808f::2 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)
2604:6000:111c:808f:c5bc:f307:9147:6356 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)
fe80::7f1d:c9dd:94d1:2a4 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.1.1
* Pinging 192.168.1.1...
[✓] Gateway responded.
[i] Default IPv6 gateway: fe80::1a9c:27ff:feee:7e4
* Pinging fe80::1a9c:27ff:feee:7e4...
ping6: Warning: source address might be selected on device other than eth0.
[✓] Gateway responded.
*** [ 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
[✓] mobilead.vn is 0.0.0.0 via localhost (127.0.0.1)
[✓] mobilead.vn is 0.0.0.0 via Pi-hole (192.168.1.12)
[✓] doubleclick.com is 172.217.10.238 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.1.12/24
IPV6_ADDRESS=
PIHOLE_DNS_1=1.1.1.1
PIHOLE_DNS_2=1.0.0.1
QUERY_LOGGING=false
INSTALL_WEB_SERVER=true
INSTALL_WEB_INTERFACE=true
LIGHTTPD_ENABLED=true
BLOCKING_ENABLED=true
*** [ DIAGNOSING ]: Dashboard and block page
[✓] Block page X-Header: X-Pi-hole: A black hole for Internet advertisements.
[✓] Web interface X-Header: X-Pi-hole: The Pi-hole Web interface is working!
*** [ DIAGNOSING ]: Gravity list
-rw-r--r-- 1 root root 2904129 Feb 12 16:50 /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 313 Feb 12 16:48 /etc/pihole/adlists.list
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://mirror1.malwaredomains.com/files/justdomains
http://sysctl.org/cameleon/hosts
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 46 Feb 12 16:50 /etc/pihole/local.list
192.168.1.12 raspberrypi
192.168.1.12 pi.hole
-rw-r--r-- 1 root root 234 Feb 12 16:49 /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 1388 Feb 12 16:49 /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-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 3499 Feb 12 16:49 /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" )
mimetype.assign = ( ".png" => "image/png",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".html" => "text/html",
".css" => "text/css; charset=utf-8",
".js" => "application/javascript",
".json" => "application/json",
".txt" => "text/plain",
".svg" => "image/svg+xml" )
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"] =~ ".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 Feb 12 16:49 /etc/cron.d/pihole
8 4 * * 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
22 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 2253 Feb 12 16:51 /var/log/lighttpd/error.log
2020-02-12 15:59:04: (server.c.1464) server started (lighttpd/1.4.53)
2020-02-12 16:08:09: (server.c.2059) server stopped by UID = 0 PID = 1
2020-02-12 16:08:09: (server.c.1464) server started (lighttpd/1.4.53)
2020-02-12 16:08:09: (server.c.1493) WARNING: unknown config-key: alias.url (ignored)
2020-02-12 16:17:51: (server.c.2059) server stopped by UID = 0 PID = 1
2020-02-12 16:18:00: (server.c.1464) server started (lighttpd/1.4.53)
2020-02-12 16:18:00: (server.c.1493) WARNING: unknown config-key: alias.url (ignored)
2020-02-12 16:36:43: (server.c.2059) server stopped by UID = 0 PID = 1
2020-02-12 16:36:52: (server.c.1464) server started (lighttpd/1.4.53)
2020-02-12 16:36:52: (server.c.1493) WARNING: unknown config-key: alias.url (ignored)
2020-02-12 16:46:18: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 72
2020-02-12 16:46:20: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
2020-02-12 16:46:22: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 72
2020-02-12 16:47:03: (server.c.2059) server stopped by UID = 0 PID = 1
2020-02-12 16:47:03: (server.c.1464) server started (lighttpd/1.4.53)
2020-02-12 16:47:03: (server.c.1493) WARNING: unknown config-key: alias.url (ignored)
2020-02-12 16:49:15: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
2020-02-12 16:49:19: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 72
2020-02-12 16:49:56: (server.c.2059) server stopped by UID = 0 PID = 1
2020-02-12 16:49:56: (server.c.1464) server started (lighttpd/1.4.53)
2020-02-12 16:49:56: (server.c.1493) WARNING: unknown config-key: alias.url (ignored)
2020-02-12 16:51:51: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
*** [ DIAGNOSING ]: contents of /var/log
-rw-r--r-- 1 pihole pihole 23836 Feb 12 16:51 /var/log/pihole-FTL.log
-----head of pihole-FTL.log------
[2020-02-12 16:08:29.046 10761] Using log file /var/log/pihole-FTL.log
[2020-02-12 16:08:29.046 10761] ########## FTL started! ##########
[2020-02-12 16:08:29.046 10761] FTL branch: master
[2020-02-12 16:08:29.046 10761] FTL version: v4.3.1
[2020-02-12 16:08:29.046 10761] FTL commit: b60d63f
[2020-02-12 16:08:29.046 10761] FTL date: 2019-05-25 21:37:26 +0200
[2020-02-12 16:08:29.046 10761] FTL user: pihole
[2020-02-12 16:08:29.047 10761] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2020-02-12 16:08:29.047 10761] SOCKET_LISTENING: only local
[2020-02-12 16:08:29.047 10761] AAAA_QUERY_ANALYSIS: Show AAAA queries
[2020-02-12 16:08:29.047 10761] MAXDBDAYS: max age for stored queries is 365 days
[2020-02-12 16:08:29.047 10761] RESOLVE_IPV6: Resolve IPv6 addresses
[2020-02-12 16:08:29.047 10761] RESOLVE_IPV4: Resolve IPv4 addresses
[2020-02-12 16:08:29.047 10761] DBINTERVAL: saving to DB file every minute
[2020-02-12 16:08:29.047 10761] DBFILE: Using /etc/pihole/pihole-FTL.db
[2020-02-12 16:08:29.047 10761] MAXLOGAGE: Importing up to 24.0 hours of log data
[2020-02-12 16:08:29.047 10761] Notice: Increasing privacy level from 0 to 4
[2020-02-12 16:08:29.047 10761] PRIVACYLEVEL: Set to 4
[2020-02-12 16:08:29.047 10761] IGNORE_LOCALHOST: Show queries from localhost
[2020-02-12 16:08:29.047 10761] BLOCKINGMODE: Null IPs for blocked domains
[2020-02-12 16:08:29.047 10761] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2020-02-12 16:08:29.047 10761] DBIMPORT: Importing history from database
[2020-02-12 16:08:29.047 10761] PIDFILE: Using /var/run/pihole-FTL.pid
[2020-02-12 16:08:29.047 10761] PORTFILE: Using /var/run/pihole-FTL.port
[2020-02-12 16:08:29.048 10761] SOCKETFILE: Using /var/run/pihole/FTL.sock
[2020-02-12 16:08:29.048 10761] WHITELISTFILE: Using /etc/pihole/whitelist.txt
[2020-02-12 16:08:29.048 10761] BLACKLISTFILE: Using /etc/pihole/black.list
[2020-02-12 16:08:29.048 10761] GRAVITYFILE: Using /etc/pihole/gravity.list
[2020-02-12 16:08:29.048 10761] REGEXLISTFILE: Using /etc/pihole/regex.list
[2020-02-12 16:08:29.048 10761] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2020-02-12 16:08:29.048 10761] AUDITLISTFILE: Using /etc/pihole/auditlog.list
[2020-02-12 16:08:29.048 10761] MACVENDORDB: Using /etc/pihole/macvendor.db
[2020-02-12 16:08:29.048 10761] PARSE_ARP_CACHE: Active
[2020-02-12 16:08:29.048 10761] Finished config file parsing
[2020-02-12 16:08:29.049 10761] SQLite3 message: cannot open file at line 38452 of [0eca3dd3d3] (14)
-----tail of pihole-FTL.log------
[2020-02-12 16:50:03.089 8249] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2020-02-12 16:50:03.089 8249] AUDITLISTFILE: Using /etc/pihole/auditlog.list
[2020-02-12 16:50:03.089 8249] MACVENDORDB: Using /etc/pihole/macvendor.db
[2020-02-12 16:50:03.089 8249] PARSE_ARP_CACHE: Active
[2020-02-12 16:50:03.090 8249] Finished config file parsing
[2020-02-12 16:50:03.092 8249] Database version is 3
[2020-02-12 16:50:03.093 8249] Database successfully initialized
[2020-02-12 16:50:03.093 8249] -> Total DNS queries: 0
[2020-02-12 16:50:03.093 8249] -> Cached DNS queries: 0
[2020-02-12 16:50:03.093 8249] -> Forwarded DNS queries: 0
[2020-02-12 16:50:03.093 8249] -> Exactly blocked DNS queries: 0
[2020-02-12 16:50:03.093 8249] -> Unknown DNS queries: 0
[2020-02-12 16:50:03.093 8249] -> Unique domains: 0
[2020-02-12 16:50:03.093 8249] -> Unique clients: 0
[2020-02-12 16:50:03.094 8249] -> Known forward destinations: 0
[2020-02-12 16:50:03.094 8249] Successfully accessed setupVars.conf
[2020-02-12 16:50:03.103 8251] PID of FTL process: 8251
[2020-02-12 16:50:03.103 8251] Listening on port 4711 for incoming IPv4 telnet connections
[2020-02-12 16:50:03.106 8251] Listening on port 4711 for incoming IPv6 telnet connections
[2020-02-12 16:50:03.106 8251] Listening on Unix socket
[2020-02-12 16:50:03.109 8251] Received SIGHUP, reloading cache
[2020-02-12 16:50:03.109 8251] Blocking status is disabled
[2020-02-12 16:50:03.109 8251] INFO: No whitelist file found
[2020-02-12 16:50:03.109 8251] Compiled 0 Regex filters and 0 whitelisted domains in 0.3 msec (0 errors)
[2020-02-12 16:50:03.111 8251] /etc/pihole/gravity.list: parsed 0 domains (took 0.1 ms)
[2020-02-12 16:50:11.111 8251] Received SIGHUP, reloading cache
[2020-02-12 16:50:11.111 8251] Blocking status is disabled
[2020-02-12 16:50:11.111 8251] INFO: No whitelist file found
[2020-02-12 16:50:11.111 8251] Compiled 0 Regex filters and 0 whitelisted domains in 0.1 msec (0 errors)
[2020-02-12 16:50:11.112 8251] /etc/pihole/gravity.list: parsed 0 domains (took 0.1 ms)
[2020-02-12 16:51:51.777 8251] Received SIGHUP, reloading cache
[2020-02-12 16:51:51.777 8251] Blocking status is enabled
[2020-02-12 16:51:51.778 8251] INFO: No whitelist file found
[2020-02-12 16:51:51.778 8251] Compiled 0 Regex filters and 0 whitelisted domains in 0.3 msec (0 errors)
[2020-02-12 16:51:53.353 8251] /etc/pihole/gravity.list: parsed 125142 domains (took 1574.4 ms)
*** [ DIAGNOSING ]: contents of /dev/shm
-rw------- 1 pihole pihole 323584 Feb 12 16:50 /dev/shm/FTL-clients
-rw------- 1 pihole pihole 108 Feb 12 16:50 /dev/shm/FTL-counters
-rw------- 1 pihole pihole 65536 Feb 12 16:50 /dev/shm/FTL-domains
-rw------- 1 pihole pihole 12288 Feb 12 16:50 /dev/shm/FTL-forwarded
-rw------- 1 pihole pihole 28 Feb 12 16:51 /dev/shm/FTL-lock
-rw------- 1 pihole pihole 53248 Feb 12 16:50 /dev/shm/FTL-overTime
-rw------- 1 pihole pihole 196608 Feb 12 16:59 /dev/shm/FTL-queries
-rw------- 1 pihole pihole 12 Feb 12 16:50 /dev/shm/FTL-settings
-rw------- 1 pihole pihole 4096 Feb 12 16:50 /dev/shm/FTL-strings
*** [ DIAGNOSING ]: Locale
LANG=en_US.UTF-8
*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 13234 Feb 12 17:00 /var/log/pihole.log
-----head of pihole.log------
Feb 12 16:08:29 dnsmasq[10763]: started, version pi-hole-2.80 cachesize 10000
Feb 12 16:08:29 dnsmasq[10763]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify dumpfile
Feb 12 16:08:29 dnsmasq[10763]: using nameserver 1.0.0.1#53
Feb 12 16:08:29 dnsmasq[10763]: using nameserver 1.1.1.1#53
Feb 12 16:08:29 dnsmasq[10763]: read /etc/hosts - 5 addresses
Feb 12 16:08:29 dnsmasq[10763]: failed to load names from /etc/pihole/local.list: No such file or directory
Feb 12 16:08:29 dnsmasq[10763]: failed to load names from /etc/pihole/black.list: No such file or directory
Feb 12 16:08:29 dnsmasq[10763]: failed to load names from /etc/pihole/gravity.list: No such file or directory
Feb 12 16:08:37 dnsmasq[10763]: read /etc/hosts - 5 addresses
Feb 12 16:08:37 dnsmasq[10763]: read /etc/pihole/local.list - 2 addresses
Feb 12 16:08:37 dnsmasq[10763]: failed to load names from /etc/pihole/black.list: No such file or directory
Feb 12 16:08:39 dnsmasq[10763]: read /etc/pihole/gravity.list - 125142 addresses
Feb 12 16:08:39 dnsmasq[10763]: read /etc/hosts - 5 addresses
Feb 12 16:08:39 dnsmasq[10763]: read /etc/pihole/local.list - 2 addresses
Feb 12 16:08:39 dnsmasq[10763]: failed to load names from /etc/pihole/black.list: No such file or directory
Feb 12 16:08:40 dnsmasq[10763]: read /etc/pihole/gravity.list - 125142 addresses
Feb 12 16:11:57 dnsmasq[10763]: Maximum number of concurrent DNS queries reached (max: 150)
Feb 12 16:12:19 dnsmasq[10763]: Maximum number of concurrent DNS queries reached (max: 150)
Feb 12 16:12:25 dnsmasq[10763]: Maximum number of concurrent DNS queries reached (max: 150)
Feb 12 16:13:49 dnsmasq[10763]: Maximum number of concurrent DNS queries reached (max: 150)
********************************************
********************************************
[✓] ** FINISHED DEBUGGING! **