Pi hole enabled but not blocking ads

Unfortunately, my pi hole is still not working. I double checked that I set my pi as my router's primary DNS server (in LAN, not WAN), and it is. When I run pihole -d it resolved the name resolution issues, but it still isn't blocking any ads. Here's the new debug log:

*** [ INITIALIZING ]
[i] 2018-05-23:04:30:25 debug log has been initialized.

*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

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

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

*** [ DIAGNOSING ]: FTL version
[✓] FTL: v3.0

*** [ DIAGNOSING ]: dnsmasq version
[i] 2.76

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

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

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

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

*** [ DIAGNOSING ]: Processor
/opt/pihole/piholeDebug.sh: line 470: $'[\E[32m✓\E[0m] \E[32marmv6l\E[0m': command not found

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
192.168.11.249/24 matches the IP found in /etc/pihole/setupVars.conf

[✓] IPv6 address(es) bound to the eth0 interface:
fe80::aa45:1f39:1064:92d5 does not match the IP found in /etc/pihole/setupVars.conf (Use IPv6 ULA addresses for Pi-hole)

^ 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.11.1

  • Pinging 192.168.11.1...
    [✓] Gateway responded.

*** [ DIAGNOSING ]: Ports in use
[] is in use by
[22] is in use by sshd
[53] is in use by dnsmasq
[80] is in use by lighttpd
[4711] is in use by pihole-FTL

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] galaxyinvi.com is 192.168.11.249 via localhost (127.0.0.1)
[✓] galaxyinvi.com is 192.168.11.249 via Pi-hole (192.168.11.249)
[✓] doubleclick.com is 216.58.218.174 via a remote, public DNS server (8.8.8.8)

*** [ DIAGNOSING ]: Pi-hole processes
[✓] dnsmasq daemon is active
[✓] lighttpd daemon is active
[✓] pihole-FTL daemon is active

*** [ DIAGNOSING ]: Setup variables
DNSMASQ_LISTENING=single
DNS_FQDN_REQUIRED=true
DNS_BOGUS_PRIV=true
DNSSEC=false
CONDITIONAL_FORWARDING=false
PIHOLE_INTERFACE=eth0
IPV4_ADDRESS=192.168.11.249/24
IPV6_ADDRESS=
PIHOLE_DNS_1=208.67.222.222
PIHOLE_DNS_2=208.67.220.220
QUERY_LOGGING=true
INSTALL_WEB=true
LIGHTTPD_ENABLED=1

*** [ DIAGNOSING ]: Dashboard and block page
[✓] X-Pi-hole: A black hole for Internet advertisements.
[✓] X-Pi-hole: The Pi-hole Web interface is working!

*** [ DIAGNOSING ]: Gravity list
-rw-r--r-- 1 root root 4600869 May 22 23:01 /etc/pihole/gravity.list
-----head of gravity.list------
192.168.11.249 0.0.0.0
192.168.11.249 0.r.msn.com
192.168.11.249 0.start.bz
192.168.11.249 000.gaysexe.free.fr

-----tail of gravity.list------
192.168.11.249 zzsyw.com
192.168.11.249 zztxdown.com
192.168.11.249 zzz.clickbank.net
192.168.11.249 zzzrtrcm2.com

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

-rw-r--r-- 1 root root 633 May 22 18:01 /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 50 May 22 23:01 /etc/pihole/local.list
192.168.11.249 raspberrypi
192.168.11.249 pi.hole

-rw-r--r-- 1 root root 234 May 22 18:31 /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 1547 May 22 18:32 /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=extra
log-facility=/var/log/pihole.log
local-ttl=2
log-async
server=208.67.222.222
server=208.67.220.220
domain-needed
bogus-priv
interface=eth0

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

-rw-r--r-- 1 root root 3027 May 22 18:31 /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 1496 May 22 18:31 /etc/cron.d/pihole
24 3 * * 7 root PATH="$PATH:/usr/local/bin/" pihole updateGravity
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
52 18 * * * 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 577 May 22 18:32 /var/log/lighttpd/error.log
2018-05-22 17:56:12: (log.c.217) server started
2018-05-22 18:01:05: (server.c.1828) server stopped by UID = 0 PID = 1
2018-05-22 18:01:07: (log.c.217) server started
2018-05-22 18:13:56: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice: Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
2018-05-22 18:13:56: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice: Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
2018-05-22 18:32:13: (server.c.1828) server stopped by UID = 0 PID = 1
2018-05-22 18:32:16: (log.c.217) server started

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

-rw-r--r-- 1 pihole pihole 2214 May 23 02:42 /var/log/pihole-FTL.log
[2018-05-23 00:00:02.669] NOTICE: pihole.log has been flushed
[2018-05-23 00:00:02.670] Resetting internal data structure
[2018-05-23 00:00:02.670] Queries in memory before flushing: 851
[2018-05-23 00:00:02.671] FATAL: Trying to free NULL pointer in pihole_log_flushed() (flush.c:61)
[2018-05-23 00:00:03.240] Gravity list entries: 122172
[2018-05-23 00:00:03.240] No blacklist present
[2018-05-23 00:00:03.241] No wildcard blocking list present
[2018-05-23 00:00:03.244] Notice: Increasing queries struct size from 0 to 10000 (440.35 KB)
[2018-05-23 00:00:03.245] Notice: Increasing domains struct size from 0 to 1000 (460.35 KB)
[2018-05-23 00:00:03.245] Notice: Increasing clients struct size from 0 to 10 (460.51 KB)
[2018-05-23 00:00:03.246] New client: 127.0.0.1 localhost (0/10)
[2018-05-23 00:00:03.246] Notice: Increasing forwarded struct size from 0 to 4 (460.62 KB)
[2018-05-23 00:00:03.312] New forward server: 8.8.4.4 google-public-dns-b.google.com (0/4)
[2018-05-23 00:00:03.313] Notice: Increasing overTime struct size from 0 to 100 (464.65 KB)
[2018-05-23 00:00:03.371] New forward server: 8.8.8.8 google-public-dns-a.google.com (1/4)
[2018-05-23 00:00:03.380] New client: 192.168.11.238 (1/10)
[2018-05-23 00:00:03.396] New client: 192.168.11.112 (2/10)
[2018-05-23 00:00:03.406] New client: 192.168.11.237 (3/10)
[2018-05-23 00:00:03.423] New client: 192.168.11.131 (4/10)
[2018-05-23 00:00:03.433] New client: 192.168.11.187 (5/10)
[2018-05-23 00:00:03.442] New client: 192.168.11.250 (6/10)
[2018-05-23 00:00:03.455] New client: 192.168.11.228 (7/10)
[2018-05-23 00:00:03.514] New forward server: 208.67.220.220 resolver2.opendns.com (2/4)
[2018-05-23 00:00:03.588] New forward server: 208.67.222.222 resolver1.opendns.com (3/4)
[2018-05-23 00:00:03.590] Notice: Increasing forwarded struct size from 4 to 8 (472.72 KB)

*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 dnsmasq root 20264 May 23 04:30 /var/log/pihole.log
-----head of pihole.log------
May 23 00:00:03 dnsmasq[16175]: 1496 127.0.0.1/37961 query[PTR] 4.4.8.8.in-addr.arpa from 127.0.0.1
May 23 00:00:03 dnsmasq[16175]: 1496 127.0.0.1/37961 forwarded 4.4.8.8.in-addr.arpa to 208.67.220.220
May 23 00:00:03 dnsmasq[16175]: 1496 127.0.0.1/37961 forwarded 4.4.8.8.in-addr.arpa to 208.67.222.222
May 23 00:00:03 dnsmasq[16175]: 1496 127.0.0.1/37961 reply 8.8.4.4 is google-public-dns-b.google.com
May 23 00:00:03 dnsmasq[16175]: 1497 127.0.0.1/54790 query[PTR] 8.8.8.8.in-addr.arpa from 127.0.0.1
May 23 00:00:03 dnsmasq[16175]: 1497 127.0.0.1/54790 forwarded 8.8.8.8.in-addr.arpa to 208.67.220.220
May 23 00:00:03 dnsmasq[16175]: 1497 127.0.0.1/54790 reply 8.8.8.8 is google-public-dns-a.google.com
May 23 00:00:03 dnsmasq[16175]: 1498 127.0.0.1/35803 query[PTR] 238.11.168.192.in-addr.arpa from 127.0.0.1
May 23 00:00:03 dnsmasq[16175]: 1498 127.0.0.1/35803 config 192.168.11.238 is NXDOMAIN
May 23 00:00:03 dnsmasq[16175]: 1499 127.0.0.1/56977 query[PTR] 112.11.168.192.in-addr.arpa from 127.0.0.1
May 23 00:00:03 dnsmasq[16175]: 1499 127.0.0.1/56977 config 192.168.11.112 is NXDOMAIN
May 23 00:00:03 dnsmasq[16175]: 1500 127.0.0.1/39032 query[PTR] 237.11.168.192.in-addr.arpa from 127.0.0.1
May 23 00:00:03 dnsmasq[16175]: 1500 127.0.0.1/39032 config 192.168.11.237 is NXDOMAIN
May 23 00:00:03 dnsmasq[16175]: 1501 127.0.0.1/34091 query[PTR] 131.11.168.192.in-addr.arpa from 127.0.0.1
May 23 00:00:03 dnsmasq[16175]: 1501 127.0.0.1/34091 config 192.168.11.131 is NXDOMAIN
May 23 00:00:03 dnsmasq[16175]: 1502 127.0.0.1/54056 query[PTR] 187.11.168.192.in-addr.arpa from 127.0.0.1
May 23 00:00:03 dnsmasq[16175]: 1502 127.0.0.1/54056 config 192.168.11.187 is NXDOMAIN
May 23 00:00:03 dnsmasq[16175]: 1503 127.0.0.1/41817 query[PTR] 250.11.168.192.in-addr.arpa from 127.0.0.1
May 23 00:00:03 dnsmasq[16175]: 1503 127.0.0.1/41817 config 192.168.11.250 is NXDOMAIN
May 23 00:00:03 dnsmasq[16175]: 1504 127.0.0.1/54680 query[PTR] 228.11.168.192.in-addr.arpa from 127.0.0.1



[✓] ** FINISHED DEBUGGING! **