Posting debug -- Pihole doing nothing -- please help.

Please follow the below template, it will help us to help you!

Expected Behaviour:

Pihole Should be blocking ads.

Actual Behaviour:

Pihole is not blocking ads. Pi-Hole is running in docker on my synology server. Router DNS is pointed to Pihole. Internet works fine but there is no ad-blocking. I cannot figure out for the life of me why it isn't working.

Debug:

*** [ INITIALIZING ]
[i] 2019-07-12:19:50:40 debug log has been initialized.

*** [ INITIALIZING ] Sourcing setup variables
TERM environment variable not set.
[i] Sourcing /etc/pihole/setupVars.conf...

*** [ DIAGNOSING ]: Core version
[i] Core: v4.3.1 (How do I update Pi-hole?)
[i] Branch: master
[i] Commit: v4.3.1-0-g1a741f6

*** [ DIAGNOSING ]: Web version
[i] Web: v4.3 (How do I update Pi-hole?)
[i] Branch: master
[i] Commit: v4.3-0-g44aff727

*** [ DIAGNOSING ]: FTL version
[✓] FTL: v4.3.1

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

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

*** [ DIAGNOSING ]: Operating system
[✓] Debian GNU/Linux 9 (stretch)

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

*** [ DIAGNOSING ]: Processor
[i] x86_64

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
172.17.0.4/16 does not match the IP found in /etc/pihole/setupVars.conf (Use IPv6 ULA addresses for Pi-hole)

[✗] No IPv6 address(es) found on the eth0 interface.

[i] Default IPv4 gateway: 172.17.0.1

  • Pinging 172.17.0.1...
    [✓] 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

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] view.atdmt.com.26163.9201.302br.net is 0.0.0.0 via localhost (127.0.0.1)
[✓] view.atdmt.com.26163.9201.302br.net is via Pi-hole (192.168.1.104)
[✓] doubleclick.com is 172.217.10.78 via a remote, public DNS server (8.8.8.8)

*** [ DIAGNOSING ]: Pi-hole processes
[✗] lighttpd daemon is inactive
[✗] pihole-FTL daemon is inactive

*** [ DIAGNOSING ]: Setup variables
QUERY_LOGGING=true
INSTALL_WEB_SERVER=true
INSTALL_WEB_INTERFACE=true
LIGHTTPD_ENABLED=true
IPV4_ADDRESS=192.168.1.104
IPV6_ADDRESS=
PIHOLE_INTERFACE=eth0
BLOCKING_ENABLED=true
DNSMASQ_LISTENING=local
PIHOLE_DNS_1=208.67.222.222
PIHOLE_DNS_2=208.67.220.220
DNS_FQDN_REQUIRED=true
DNS_BOGUS_PRIV=true
DNSSEC=false
CONDITIONAL_FORWARDING=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 2680249 Jul 12 19:34 /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 Jul 12 19:33 /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 43 Jul 12 19:34 /etc/pihole/local.list
192.168.1.104 pihole
192.168.1.104 pi.hole

-rw-r--r-- 1 root root 234 Jul 2 01:46 /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 1624 Jul 12 19:39 /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
dhcp-name-match=set:wpad-ignore,wpad
dhcp-ignore-names=tag:wpad-ignore
server=208.67.222.222
server=208.67.220.220
domain-needed
bogus-priv
local-service

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

-rw-r--r-- 1 root root 3498 Jul 12 19:33 /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 1704 Jul 2 01:46 /etc/cron.d/pihole
42 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
53 12 * * * 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 49 Jul 12 19:34 /var/log/lighttpd/error.log
2019-07-12 19:34:16: (log.c.217) server started

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

-rw-r--r-- 1 root root 12195 Jul 12 19:39 /var/log/pihole-FTL.log
-----head of pihole-FTL.log------
[2019-07-12 19:33:51.591 351] Using log file /var/log/pihole-FTL.log
[2019-07-12 19:33:51.591 351] ########## FTL started! ##########
[2019-07-12 19:33:51.591 351] FTL branch: master
[2019-07-12 19:33:51.591 351] FTL version: v4.3.1
[2019-07-12 19:33:51.591 351] FTL commit: b60d63f
[2019-07-12 19:33:51.591 351] FTL date: 2019-05-25 21:37:26 +0200
[2019-07-12 19:33:51.591 351] FTL user: root
[2019-07-12 19:33:51.591 351] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2019-07-12 19:33:51.591 351] SOCKET_LISTENING: only local
[2019-07-12 19:33:51.591 351] AAAA_QUERY_ANALYSIS: Show AAAA queries
[2019-07-12 19:33:51.591 351] MAXDBDAYS: max age for stored queries is 365 days
[2019-07-12 19:33:51.591 351] RESOLVE_IPV6: Resolve IPv6 addresses
[2019-07-12 19:33:51.591 351] RESOLVE_IPV4: Resolve IPv4 addresses
[2019-07-12 19:33:51.591 351] DBINTERVAL: saving to DB file every minute
[2019-07-12 19:33:51.591 351] DBFILE: Using /etc/pihole/pihole-FTL.db
[2019-07-12 19:33:51.591 351] MAXLOGAGE: Importing up to 24.0 hours of log data
[2019-07-12 19:33:51.591 351] PRIVACYLEVEL: Set to 0
[2019-07-12 19:33:51.591 351] IGNORE_LOCALHOST: Show queries from localhost
[2019-07-12 19:33:51.591 351] BLOCKINGMODE: Null IPs for blocked domains
[2019-07-12 19:33:51.591 351] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2019-07-12 19:33:51.591 351] DBIMPORT: Importing history from database
[2019-07-12 19:33:51.591 351] PIDFILE: Using /var/run/pihole-FTL.pid
[2019-07-12 19:33:51.591 351] PORTFILE: Using /var/run/pihole-FTL.port
[2019-07-12 19:33:51.591 351] SOCKETFILE: Using /var/run/pihole/FTL.sock
[2019-07-12 19:33:51.591 351] WHITELISTFILE: Using /etc/pihole/whitelist.txt
[2019-07-12 19:33:51.591 351] BLACKLISTFILE: Using /etc/pihole/black.list
[2019-07-12 19:33:51.591 351] GRAVITYFILE: Using /etc/pihole/gravity.list
[2019-07-12 19:33:51.591 351] REGEXLISTFILE: Using /etc/pihole/regex.list
[2019-07-12 19:33:51.591 351] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2019-07-12 19:33:51.591 351] AUDITLISTFILE: Using /etc/pihole/auditlog.list
[2019-07-12 19:33:51.591 351] MACVENDORDB: Using /etc/pihole/macvendor.db
[2019-07-12 19:33:51.591 351] PARSE_ARP_CACHE: Active
[2019-07-12 19:33:51.591 351] Finished config file parsing
[2019-07-12 19:33:51.591 351] WARNING: Starting pihole-FTL as user root is not recommended
[2019-07-12 19:33:51.591 351] SQLite3 message: cannot open file at line 38452 of [0eca3dd3d3] (14)

-----tail of pihole-FTL.log------
[2019-07-12 19:39:30.534 984] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2019-07-12 19:39:30.534 984] DBIMPORT: Importing history from database
[2019-07-12 19:39:30.534 984] PIDFILE: Using /var/run/pihole-FTL.pid
[2019-07-12 19:39:30.534 984] PORTFILE: Using /var/run/pihole-FTL.port
[2019-07-12 19:39:30.534 984] SOCKETFILE: Using /var/run/pihole/FTL.sock
[2019-07-12 19:39:30.534 984] WHITELISTFILE: Using /etc/pihole/whitelist.txt
[2019-07-12 19:39:30.534 984] BLACKLISTFILE: Using /etc/pihole/black.list
[2019-07-12 19:39:30.534 984] GRAVITYFILE: Using /etc/pihole/gravity.list
[2019-07-12 19:39:30.534 984] REGEXLISTFILE: Using /etc/pihole/regex.list
[2019-07-12 19:39:30.534 984] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2019-07-12 19:39:30.534 984] AUDITLISTFILE: Using /etc/pihole/auditlog.list
[2019-07-12 19:39:30.534 984] MACVENDORDB: Using /etc/pihole/macvendor.db
[2019-07-12 19:39:30.534 984] PARSE_ARP_CACHE: Active
[2019-07-12 19:39:30.534 984] Finished config file parsing
[2019-07-12 19:39:30.534 984] WARNING: Starting pihole-FTL as user root is not recommended
[2019-07-12 19:39:30.535 984] Database version is 3
[2019-07-12 19:39:30.535 984] Database successfully initialized
[2019-07-12 19:39:30.535 984] Imported 0 queries from the long-term database
[2019-07-12 19:39:30.535 984] -> Total DNS queries: 0
[2019-07-12 19:39:30.535 984] -> Cached DNS queries: 0
[2019-07-12 19:39:30.535 984] -> Forwarded DNS queries: 0
[2019-07-12 19:39:30.535 984] -> Exactly blocked DNS queries: 0
[2019-07-12 19:39:30.535 984] -> Unknown DNS queries: 0
[2019-07-12 19:39:30.535 984] -> Unique domains: 0
[2019-07-12 19:39:30.535 984] -> Unique clients: 0
[2019-07-12 19:39:30.535 984] -> Known forward destinations: 0
[2019-07-12 19:39:30.535 984] Successfully accessed setupVars.conf
[2019-07-12 19:39:30.564 984] PID of FTL process: 984
[2019-07-12 19:39:30.564 984] Listening on port 4711 for incoming IPv4 telnet connections
[2019-07-12 19:39:30.564 984] Listening on Unix socket
[2019-07-12 19:39:30.564 984] Received SIGHUP, reloading cache
[2019-07-12 19:39:30.564 984] Blocking status is enabled
[2019-07-12 19:39:30.564 984] INFO: No whitelist file found
[2019-07-12 19:39:30.564 984] Compiled 0 Regex filters and 0 whitelisted domains in 0.0 msec (0 errors)
[2019-07-12 19:39:30.807 984] /etc/pihole/gravity.list: parsed 114597 domains (took 243.3 ms)

*** [ DIAGNOSING ]: contents of /dev/shm
-rw------- 1 root root 331776 Jul 12 19:47 /dev/shm/FTL-clients
-rw------- 1 root root 108 Jul 12 19:39 /dev/shm/FTL-counters
-rw------- 1 root root 98304 Jul 12 19:47 /dev/shm/FTL-domains
-rw------- 1 root root 20480 Jul 12 19:39 /dev/shm/FTL-forwarded
-rw------- 1 root root 48 Jul 12 19:39 /dev/shm/FTL-lock
-rw------- 1 root root 12288 Jul 12 19:39 /dev/shm/FTL-overTime
-rw------- 1 root root 229376 Jul 12 19:47 /dev/shm/FTL-queries
-rw------- 1 root root 12 Jul 12 19:39 /dev/shm/FTL-settings
-rw------- 1 root root 4096 Jul 12 19:39 /dev/shm/FTL-strings

*** [ DIAGNOSING ]: Locale
LANG=

*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 7715 Jul 12 19:50 /var/log/pihole.log
-----head of pihole.log------
Jul 12 19:34:01 dnsmasq[353]: started, version pi-hole-2.80 cachesize 10000
Jul 12 19:34:01 dnsmasq[353]: 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
Jul 12 19:34:01 dnsmasq[353]: using nameserver 8.8.4.4#53
Jul 12 19:34:01 dnsmasq[353]: using nameserver 8.8.8.8#53
Jul 12 19:34:01 dnsmasq[353]: read /etc/hosts - 7 addresses
Jul 12 19:34:01 dnsmasq[353]: failed to load names from /etc/pihole/local.list: No such file or directory
Jul 12 19:34:01 dnsmasq[353]: failed to load names from /etc/pihole/black.list: No such file or directory
Jul 12 19:34:01 dnsmasq[353]: failed to load names from /etc/pihole/gravity.list: No such file or directory
Jul 12 19:34:11 dnsmasq[353]: query[A] pi.hole from 127.0.0.1
Jul 12 19:34:11 dnsmasq[353]: forwarded pi.hole to 8.8.4.4
Jul 12 19:34:11 dnsmasq[353]: forwarded pi.hole to 8.8.8.8
Jul 12 19:34:11 dnsmasq[353]: reply pi.hole is NXDOMAIN
Jul 12 19:34:11 dnsmasq[353]: read /etc/hosts - 7 addresses
Jul 12 19:34:11 dnsmasq[353]: read /etc/pihole/local.list - 2 addresses
Jul 12 19:34:11 dnsmasq[353]: failed to load names from /etc/pihole/black.list: No such file or directory
Jul 12 19:34:11 dnsmasq[353]: read /etc/pihole/gravity.list - 114597 addresses
Jul 12 19:34:17 dnsmasq[578]: started, version pi-hole-2.80 cachesize 10000
Jul 12 19:34:17 dnsmasq[578]: 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
Jul 12 19:34:17 dnsmasq[578]: using nameserver 8.8.4.4#53
Jul 12 19:34:17 dnsmasq[578]: using nameserver 8.8.8.8#53



[✓] ** FINISHED DEBUGGING! **

If you query the Pi-hole directly with something like dig or nslookup, is the query blocked (returns 0.0.0.0)? From your debug log, Pi-hole is working as expected and this is a general networking issue.

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