From 32ab7e2492cc7274a1c2ac62a5432e583cd3fdcf Mon Sep 17 00:00:00 2001 From: OCram85 Date: Fri, 28 Jan 2022 11:22:54 +0100 Subject: [PATCH] add imgs --- .../posts/pi-hole-as-docker-swarm-stack/index.md | 2 ++ .../pi-hole-as-docker-swarm-stack/settings.png | Bin 0 -> 9522 bytes 2 files changed, 2 insertions(+) create mode 100644 content/posts/pi-hole-as-docker-swarm-stack/settings.png diff --git a/content/posts/pi-hole-as-docker-swarm-stack/index.md b/content/posts/pi-hole-as-docker-swarm-stack/index.md index edd8233..7353b07 100644 --- a/content/posts/pi-hole-as-docker-swarm-stack/index.md +++ b/content/posts/pi-hole-as-docker-swarm-stack/index.md @@ -121,6 +121,8 @@ 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 if there is no other process already using the listed ports. +{{< figure src="settings.png" width="450" height="800" >}} + 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 diff --git a/content/posts/pi-hole-as-docker-swarm-stack/settings.png b/content/posts/pi-hole-as-docker-swarm-stack/settings.png new file mode 100644 index 0000000000000000000000000000000000000000..c1e3327088df2cf78bf5558b055ef206d2ca7f06 GIT binary patch literal 9522 zcmZvCbyU>f(?1A;NJ)2yq=X<1yGwU00@8v?w=}yfDc!P2%2EqUNK1%-bi>jJh;%nB zT|Ymc@ALaU|2+4cx%a&1{m0C?^Low9nRBCbv{i^7(?7<-!Xj2vRn*18!bblU)kipg zHP{qkkiQ46t(=w|7FJaP;mx~;|EN85RphbChZ(p2evIj8>ML>a32O5RehC(ADGK8X zF5~92)lO||=^EhX7ZMbaX!(wa`aZzL7xsZq@CqCI9t*27)i%mXkjpCTL(xD>SDEae z!!KO}U%Hxwq4h0YZIxXEm0e|ge1eM8ecY}s72mUS(qkp!z6;nDN!h*=XgUHFMMxwF z0v!aSzPE7k74jCX7L?S8j2t;SI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