I am running raspbian jesse.
I am running:
pihole version Pi-hole version is v3.3-130-g2e6a937 (Latest: v3.3.1) AdminLTE version is v3.2.1-179-g3fd9b4d (Latest: v3.3) FTL version is vDev-8ef6f31 (Latest: v3.0)
I have installed the new dnsmasq because with the version of pihole I am using it appears to be incompatible.
I appear to have dnsmasq running, when I turn this off I am unable to resolve uris:
sudo systemctl status dnsmasq ● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled) Drop-In: /run/systemd/generator/dnsmasq.service.d └─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf Active: active (running) since Fri 2018-05-11 03:21:54 UTC; 5min ago Process: 17636 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf (code=exited, status=0/SUCCESS) Process: 20110 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS) Process: 20105 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS) Process: 20101 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS) Main PID: 20109 (dnsmasq) CGroup: /system.slice/dnsmasq.service └─20109 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service May 11 03:21:54 raspberrypi dnsmasq: dnsmasq: syntax check OK. May 11 03:21:54 raspberrypi systemd: Started dnsmasq - A lightweight DHCP and caching DNS server.
I am also running pihole-ftl but it doesn't appear to be able to start:
sudo systemctl status pihole-FTL ● pihole-FTL.service - LSB: pihole-FTL daemon Loaded: loaded (/etc/init.d/pihole-FTL) Active: active (exited) since Fri 2018-05-11 03:30:42 UTC; 2s ago Process: 25417 ExecStop=/etc/init.d/pihole-FTL stop (code=exited, status=0/SUCCESS) Process: 25490 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS) May 11 03:30:42 raspberrypi pihole-FTL: Not running May 11 03:30:42 raspberrypi pihole-FTL: rm: cannot remove ‘/var/run/pihole/FTL.sock’: No such file or directory May 11 03:30:42 raspberrypi su: Successful su for pihole by root May 11 03:30:42 raspberrypi su: + ??? root:pihole May 11 03:30:42 raspberrypi su: pam_unix(su:session): session opened for user pihole by (uid=0) May 11 03:30:42 raspberrypi pihole-FTL: FTL started! May 11 03:30:42 raspberrypi systemd: Started LSB: pihole-FTL daemon.
I am unable to restart it using
sudo service pihole-FTL status or
sudo systemctl status pihole-FTL
It throws an error, when trying to start:
rm: cannot remove ‘/var/run/pihole/FTL.sock’: No such file or directory ## but this file exists and is owned by pihole ls -la /var/run/pihole/ total 0 drwxr-xr-x 2 pihole pihole 60 May 11 03:36 . drwxr-xr-x 24 root root 880 May 11 02:23 .. srwxrwxrwx 1 pihole pihole 0 May 11 03:36 FTL.sock
I have added lists from List Generator ¦ Firebog. I added the tick lists and 2 porn lists.
I have run
pihole -g to update the lists several times. They update correctly, but once it has run I notice:
[✓] Consolidating blocklists [✓] Extracting domains from blocklists [i] Number of domains being pulled in by gravity: 2575158 [✓] Removing duplicate domains [i] Number of unique domains trapped in the Event Horizon: 2341775 [i] Number of whitelisted domains: 2 [i] Number of blacklisted domains: 0 <---- 0?!!!?!?
I have verified that a domain I want to block is inside of the blocklist:
pihole -q pornhub.com -exact Exact matches for pornhub.com found in: list.42.raw.githubusercontent.com.domains list.43.github.com.domains
I have checked my DNS:
-> % scutil --dns | grep 'nameserver\[[0-9]*\]' nameserver : 192.168.1.112 <--- IP of my pi-hole nameserver : 192.168.1.112
In actuality, when I visit https://pornhub.com, the page loads.
pihole -d I noticed the following
May 11 02:16:31 dnsmasq: failed to load names from /etc/pihole/local.list: No such file or directory May 11 02:16:31 dnsmasq: failed to load names from /etc/pihole/black.list: No such file or directory May 11 02:16:31 dnsmasq: failed to load names from /etc/pihole/gravity.list: No such file or directory