update post
This commit is contained in:
parent
c39d3c9fac
commit
0484b18fd0
BIN
content/posts/pi-hole-as-docker-swarm-stack/black-hole.jpg
Normal file
BIN
content/posts/pi-hole-as-docker-swarm-stack/black-hole.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user