WEBVTT

00:00:02.790 --> 00:00:03.430
In this section,

00:00:03.430 --> 00:00:05.310
we're going to talk about some of the advanced

00:00:05.310 --> 00:00:07.340
features in the Pi‑hole web interface.

00:00:07.680 --> 00:00:11.190
We'll cover the query log, look at some of the long‑term data,

00:00:11.310 --> 00:00:14.010
and how to disable Pi‑hole and why you would want to do that.

00:00:14.740 --> 00:00:17.490
Lastly, we'll look at some of the admin tools we can use.

00:00:19.020 --> 00:00:20.660
Let's start out with a query log.

00:00:20.820 --> 00:00:22.720
I'll refer to this as recent queries.

00:00:23.060 --> 00:00:24.180
You'll see why in the next slide.

00:00:24.180 --> 00:00:27.580
This will have the recent DNS lookups broken up by time,

00:00:27.630 --> 00:00:30.990
DNS type, domain, client, status, and more.

00:00:31.710 --> 00:00:35.220
We can also filter out our search by domain, client, and type.

00:00:36.510 --> 00:00:37.680
This is what that looks like.

00:00:39.820 --> 00:00:41.800
The next menu item is Long‑term data.

00:00:41.800 --> 00:00:44.930
On all three of these, you'll need to set the time frame first.

00:00:44.930 --> 00:00:46.760
The first one is Graphics.

00:00:46.820 --> 00:00:49.080
This is for visual representation of the data.

00:00:49.390 --> 00:00:50.610
This is what that looks like.

00:00:51.690 --> 00:00:55.900
The next is Query Log, not to be confused with Query Log from earlier,

00:00:55.910 --> 00:00:57.360
which only showed recent queries.

00:00:57.910 --> 00:01:01.470
This too is searchable by query status, time frame, and domain.

00:01:01.810 --> 00:01:03.420
This is what the query log looks like.

00:01:06.350 --> 00:01:09.260
The last item in Long‑term data is the Top Lists.

00:01:09.910 --> 00:01:12.440
This is the top domains, top block domains,

00:01:12.510 --> 00:01:15.380
and top clients on your network, all searchable by time frame.

00:01:15.380 --> 00:01:18.030
Here's what that looks like.

00:01:18.030 --> 00:01:22.200
Further down on the side bar is Disable.

00:01:22.830 --> 00:01:25.090
You have some preset timers for how long to disable

00:01:25.090 --> 00:01:26.640
the Pi‑hole blocking feature,

00:01:27.060 --> 00:01:30.390
or you can set a custom time or turn it off indefinitely.

00:01:31.450 --> 00:01:33.940
So you're probably asking, why would I disable it?

00:01:33.940 --> 00:01:36.090
If you disable the Pi‑hole,

00:01:36.580 --> 00:01:39.000
it will still log all the DNS queries on your network,

00:01:39.000 --> 00:01:40.640
so this is great for troubleshooting.

00:01:40.640 --> 00:01:44.650
Let's say you connect a new device to your network,

00:01:44.660 --> 00:01:47.970
and it's not working properly or loading apps or some kind of problem.

00:01:48.180 --> 00:01:50.540
You can disable your Pi‑hole for 5 minutes,

00:01:50.880 --> 00:01:54.190
then come back into the Query Log and filter your search to that new

00:01:54.190 --> 00:01:57.020
device and see which domains it was reaching out to.

00:01:57.590 --> 00:02:00.540
Then, with the Pi‑hole blocking feature enabled again,

00:02:00.980 --> 00:02:03.770
you can see which domains are getting blocked and figure out

00:02:03.770 --> 00:02:05.810
which of those you need to add to your whitelist.

00:02:06.390 --> 00:02:07.960
Finally, there are some admin tools.

00:02:07.960 --> 00:02:10.150
We've covered the first two in previous sections.

00:02:10.680 --> 00:02:12.070
Search Adlists is a cool feature.

00:02:12.070 --> 00:02:15.450
If you see domains getting blocked in the query log and you want to

00:02:15.450 --> 00:02:17.440
know which adlists those blocks are coming from,

00:02:17.440 --> 00:02:18.980
you can search for that,

00:02:18.980 --> 00:02:21.220
and it'll show the adlists that would be causing the block,

00:02:21.220 --> 00:02:23.310
another great troubleshooting tool.

00:02:23.310 --> 00:02:27.260
The Audit log shows domains that haven't been audited.

00:02:27.770 --> 00:02:30.300
This is stored in a SQLite database on the back end.

00:02:30.760 --> 00:02:33.310
The basic function is to keep track of domains that you want to

00:02:33.310 --> 00:02:35.230
watch and decide to whitelist or blacklist.

00:02:35.230 --> 00:02:39.100
Tail logs is the same as if you were on the command line

00:02:39.100 --> 00:02:41.630
and type and tail ‑f on one of the logs.

00:02:41.630 --> 00:02:44.950
If you like scrolling text, this is the thing for you.

00:02:44.950 --> 00:02:48.620
Finally is Network.

00:02:48.790 --> 00:02:51.600
This lets you see which devices have IP addresses,

00:02:51.660 --> 00:02:54.760
when they were first seen, and how long they've been using the Pi‑hole.

00:02:55.010 --> 00:02:56.740
This is good to see if there are devices on your

00:02:56.740 --> 00:02:58.750
network which are bypassing your Pi‑hole.

00:02:58.810 --> 00:03:01.210
I'll cover this in the last section in my final gotchas.

00:03:01.210 --> 00:03:02.900
Time for a demo.

00:03:03.500 --> 00:03:04.350
Let's start out.

00:03:04.350 --> 00:03:06.170
I'll click on our Query Log,

00:03:06.240 --> 00:03:08.480
and this shows the recent queries that are happening.

00:03:08.490 --> 00:03:13.420
We can see them broken out by domain, device, and we can search by that.

00:03:18.480 --> 00:03:20.340
Next, we're going to go to our Long‑term data.

00:03:21.120 --> 00:03:22.850
The first one we're going to look at its Graphics.

00:03:23.200 --> 00:03:25.180
Now in all of these, we do have to set a time frame.

00:03:25.570 --> 00:03:28.650
This is a visual representation of all blocked and permitted queries.

00:03:35.730 --> 00:03:36.920
Next is the Query Log.

00:03:37.620 --> 00:03:38.180
We'll search this,

00:03:38.180 --> 00:03:43.080
and this gives us the ability to look at all the different requests,

00:03:43.090 --> 00:03:46.800
query status types, and be able to search that.

00:03:58.360 --> 00:03:59.720
Next is our Top Lists.

00:04:00.410 --> 00:04:01.690
I'm going to pick my time range again.

00:04:01.690 --> 00:04:05.530
This will take a minute to populate, but this will show our top domains,

00:04:05.610 --> 00:04:07.910
top block domains, and our top clients.

00:04:07.910 --> 00:04:16.839
Moving further down, we have our Disable.

00:04:17.720 --> 00:04:19.550
This is where we can turn off the blocking feature,

00:04:19.550 --> 00:04:21.350
but we'll still log the DNS queries.

00:04:21.680 --> 00:04:22.650
I set it for 10 seconds.

00:04:22.650 --> 00:04:25.740
And now, nothing is being blocked.

00:04:26.670 --> 00:04:30.310
Opening up our Tools, we're going to search our adlists.

00:04:31.790 --> 00:04:34.770
Now we do have the ability to look in here and look for

00:04:34.770 --> 00:04:37.580
domains by either partial or exact match.

00:04:38.100 --> 00:04:40.620
I'm just going to type in a common social media,

00:04:41.860 --> 00:04:46.430
found in my whitelist, and then over 100 results can be found.

00:04:46.670 --> 00:04:50.640
Let's look at ads.double‑click and see where this pops up.

00:04:52.180 --> 00:04:53.560
Going to do a partial search.

00:05:03.360 --> 00:05:05.780
Okay, looks like it was found in a couple of adlists.

00:05:06.710 --> 00:05:07.030
Next,

00:05:07.030 --> 00:05:09.690
I'm going to pull up my Audit log and look at some of

00:05:09.690 --> 00:05:11.370
the allowed queries and block queries.

00:05:19.720 --> 00:05:26.800
Next is our Tail pihole.log, and this will show a live feed into our

00:05:26.800 --> 00:05:29.550
logs of everything that's happening on our Pi‑hole.

00:05:32.230 --> 00:05:34.100
Lastly, we're going to go to Network and take a look at

00:05:34.100 --> 00:05:35.660
all of things in our network table,

00:05:36.560 --> 00:05:40.090
hostnames they were given when they were first seen when they were last queried.

00:05:40.910 --> 00:05:43.250
You can see how they're color coded, and you can actually look at

00:05:43.250 --> 00:05:46.220
things that have never used the Pi‑hole and if they were bypassing

00:05:46.220 --> 00:05:55.850
it. That wraps it up for this section.

00:05:56.430 --> 00:05:58.940
We covered the query log and some of the long‑term data.

00:05:59.540 --> 00:06:02.540
We also talked about use cases for disabling the Pi‑hole and some of the

00:06:02.540 --> 00:06:08.540
tools that we have as Pi‑hole admins. In the next section, we will close

00:06:08.540 --> 00:06:11.540
out the course and talk about some of the further considerations and

00:06:11.540 --> 00:06:13.430
projects that we can do with our Pie holes.

00:06:13.550 --> 00:06:14.540
I hope you'll join me
