Adds pihole post #11

Merged
OCram85 merged 4 commits from pihole into master 2022-01-28 11:26:17 +01:00
2 changed files with 8 additions and 1 deletions
Showing only changes of commit 0484b18fd0 - Show all commits

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -2,6 +2,8 @@
title: 'Run Pi-Hole as Docker Swarm Stack' title: 'Run Pi-Hole as Docker Swarm Stack'
date: 2022-01-28T08:54:43+01:00 date: 2022-01-28T08:54:43+01:00
draft: false draft: false
categories: ['Docker']
tags: ['pihole', 'swarm', 'stack']
# lastmod: 2022-01-28T08:54:43+01:00 # lastmod: 2022-01-28T08:54:43+01:00
# showDateUpdated: true # showDateUpdated: true
@ -14,6 +16,8 @@ draft: false
# sharingLinks: [null] # sharingLinks: [null]
--- ---
{{< figure src="black-hole.jpg" width="600" height="800" caption="Photo by Kamesh Vedula on Unsplash." >}}
## Intro ## Intro
Many of you already know [Pi-Hole](https://pi-hole.net/) as a trusted DNS firewall solution in your home labs. But Many of you already know [Pi-Hole](https://pi-hole.net/) as a trusted DNS firewall solution in your home labs. But
@ -117,4 +121,7 @@ But this publishes the ports on the ingress / overlay network and causes pihole
connected clients list. So we have to use the long format with the `mode` set to `host`. This of cause does only work connected clients list. So we have to use the long format with the `mode` set to `host`. This of cause does only work
if there is no other process already using the listed ports. if there is no other process already using the listed ports.
Additionally you have to set `Permit all origins` option under `settings` -> `dns tab` -> `Interface settings`. Additionally you have to set `Permit all origins` option under `Settings` -> `DNS tab` -> `Interface settings`.
That's it. Now you're running Pi-Hole as a docker swarm service as DNS Server. You can now start defining your
Pi-Hole groups and filter the clients.