Hi all
I set up a new pi-hole install last night, and I'm having an issue.
The install went fine, and I was able to set up the Pi on Debian Jessie with no issue. Pi-Hole installed fine as well.
I left it running today, and have been looking at the stats.
As you can see, I'm getting a reasonable amount of traffic through the Pi, but absolutely no ads being blocked.
I suspect I've got the DNS settings incorrect. There are two places to set the DNS.
The first is under LAN -> DHCP Server. This is just a single value for a DNS Server.
This is the setting I used yesterday to generate the statistics above.
The second is under WAN -> WAN DNS Settings. In this case you have to select the radio button to not connect to the DNS server automatically, and you can then enter a primary and secondary DNS.
I've now turned on this setting, and turned off the setting above, and will monitor that.
I've also run pihole -d. This is the output:
pi@raspberrypi:~ $ pihole -d
::: Beginning Pi-hole debug at Mon 14 Nov 22:17:36 UTC 2016!
:::
::: This process collects information from your Pi-hole, and optionally uploads
::: it to a unique and random directory on tricorder.pi-hole.net.
:::
::: NOTE: All log files auto-delete after 24 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.
:::
::: Please read and note any issues, and follow any directions advised during this process.
/opt/pihole/piholeDebug.sh: line 50: /etc/pihole/setupVars.conf: No such file or directory
:::
::: Detecting Installed Package Versions:
::: Pi-hole: v2.9.5
::: WebUI: v1.4.4.2
::: lighttpd/1.4.35
::: PHP 5.6.27-0+deb8u1 (cli) (built: Oct 24 2016 18:22:27)
:::
::: Detecting existence of /etc/pihole/setupVars.conf:
::: /etc/pihole/setupVars.conf not found! and could not be sourced
:::
::: Detecting installed OS Distribution
:::
::: Checking processor variety
:::
::: IP Address Information
::: IPv6 addresses located
::: IPv4 addresses located
::: Pinging default IPv4 gateway: Gateway responded.
::: Pinging Internet via IPv4: Query responded.
:::
::: Daemon Process Information
::: Checking http port for lighttpd listener.
::: Correctly configured.
::: Correctly configured.
:::
::: Daemon Process Information
::: Checking domain port for dnsmasq listener.
::: Correctly configured.
::: Correctly configured.
:::
::: Processes Check
::: Logging status of lighttpd and dnsmasq...
:::
::: Resolver Functions Check
::: Checking for necessary lighttpd files.
:::
::: Detecting existence of /etc/lighttpd/lighttpd.conf:
::: File exists
:::
::: Detecting existence of /var/log/lighttpd/error.log:
::: File exists
:::
:::
::: Detecting existence of /etc/dnsmasq.conf:
::: File exists
:::
::: Detecting existence of /etc/dnsmasq.d/01-pihole.conf:
::: File exists
:::
::: Detecting existence of /etc/pihole/whitelist.txt:
::: /etc/pihole/whitelist.txt not found!
:::
::: Detecting existence of /etc/pihole/blacklist.txt:
::: /etc/pihole/blacklist.txt not found!
:::
::: Detecting existence of /etc/pihole/adlists.list:
::: /etc/pihole/adlists.list not found!
:::
::: Analyzing gravity.list
wc: /etc/pihole/gravity.list: No such file or directory
::: Warning: No gravity.list file found!
:::
::: --= User Action Required =--
::: Try loading a site that you are having trouble with now from a client web browser..
::: (Press CTRL+C to finish logging.)
:::
::: pihole.log
^C
::: Finishing debug write from interrupt... Quitting!
::: Finshed debugging!
::: The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
::: Would you like to upload the log? [y/N] y
::: Debug log can be found at : /var/log/pihole_debug.log
As you can see, there are quite a few files missing.
I'm not sure where to go from here. Any help appreciated.