Skip to content

Commit 223f550

Browse files
committed
doc: update Pi-hole doc to say it only applies to Pi-hole v5
1 parent 016cad6 commit 223f550

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/_includes/layouts/post.vto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ layout: layouts/base.webc
66

77
<h1>{{ title }}</h1>
88
<small style="font-style: italic">First published on <time datetime="{{ date }}">{{ dateTimeFormatter.format(date) }}</time></small>
9+
{{if updated }}<br><small style="font-style: italic">Updated on <time datetime="{{ updated }}">{{ dateTimeFormatter.format(updated) }}</time></small>{{ /if }}
910
{{ content }}

src/posts.vto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ redirect_from:
1515
<ul class="posts">
1616
{{ for post of collections.posts |> filter(post => !post.data.draft) |> sort((a, b) => b.date.getTime() - a.date.getTime()) }}
1717
<li
18-
><a href="{{ post.url }}">{{ post.data.title }}</a> <small><time datetime="{{ post.date }}">{{ dateTimeFormatter.format(post.date) }}</time></small>
18+
><a href="{{ post.url }}">{{ post.data.title }}</a> <small><time datetime="{{ post.date }}">{{ dateTimeFormatter.format(post.date) }}</time></small> {{if post.data.updated }} <small>Updated <time datetime="{{ post.data.updated }}">{{ dateTimeFormatter.format(post.data.updated) }}</time></small>{{ /if }}
1919
<div>{{ post.data.description }}</div></li>
2020
{{ /for }}
2121
</ul>

src/posts/tailscale-hostnames-for-pi-hole-stats.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Tailscale hostnames for Pi-hole stats
33
date: 2022-08-01
4+
updated: 2025-03-31
45
draft: false
56
description: Adding support for conditional forwarding to include your Tailscale hostnames in your Pi-hole statistics.
67
tags:
@@ -10,6 +11,8 @@ tags:
1011
redirect_from:
1112
- /blog/tailscale-hostnames-for-pi-hole-stats
1213
---
14+
***Update 2025-03-31:*** This applies to Pi-hole v5.0 and earlier. Pi-hole v6 has changed how configurations are handled and I have not validated that this works with the new version.
15+
1316
[Tailscale](https://tailscale.com) is a fantastic secure mesh VPN that lets you connect all of your devices to each other, no matter where they are or if you've exposed them publicly to the internet. I use it extensively to use all my homelab services and run it on virtually every server. They have a very generous free tier and hope that enthusiasts enjoy it so much that they bring it to their workplace.
1417

1518
Tailscale publishes a great [article](https://tailscale.com/kb/1114/pi-hole/) on how to use a [Pi-hole](https://pi-hole.net/) as the DNS server on your tailnet, allowing you to fully control the DNS of your device no matter what network you are connected to while leveraging their Magic DNS to connect to the other devices on your tailnet. One thing it doesn't cover is how to reenable conditional forwarding for your Pi-hole so that your statistics are not full of your Tailscale assigned `100.x.x.x` addresses but instead show the machines hostname.

0 commit comments

Comments
 (0)