Office, Karriere und Technik Blog

Office, Karriere und Technik Blog

Anzeige


Transparenz: Um diesen Blog kostenlos anbieten zu können, nutzen wir Affiliate-Links. Klickst du darauf und kaufst etwas, bekommen wir eine kleine Vergütung. Der Preis bleibt für dich gleich. Win-Win!

Ad-free home network: Install Pi-hole on Windows

Have you ever experienced this? You’re browsing on your phone and a banner obscures the text. You launch an app and have to watch a 30-second video first. Or your smart TV displays ads in the menu. An ad blocker in your browser won’t help.

The solution is a “black hole” for ads: Pi-hole.

This software doesn’t filter ads on your device, but directly at the source: in your network. When your phone tries to load an ad, Pi-hole simply says, “I don’t recognize this address”—and the ad stays away. This saves data, reduces frustration, and makes your internet faster.

The solution is a “black hole” for ads: Pi-hole. Here I’ll show you how to use your existing Windows server (e.g., from our FRITZ!Box telephony project).

Werbefrei im Heimnetz mit Pi-Hole

Topic Overview

Anzeige

Preparation: What we need

  • Your Windows laptop/PC, ideally connected to the FRITZ!Box via LAN cable.
  • A static IP address for this laptop (I’ll explain that in a moment).
  • The software Docker Desktop (free for private use).

Step-by-step instructions

Step 1: Assign a fixed address to your laptop

To ensure the FRITZ!Box knows where to send requests, your laptop’s address must not change.

  • Log in to the FRITZ!Box.
  • Go to Home Network > Network.

  • Find your laptop in the list and click on the pencil icon (Edit).
  • Check the box next to: “Always assign the same IPv4 address to this network device”.
  • Note down this IP address (e.g. 192.168.178.20).

Step 2: Install Docker

Pi-hole runs best in a so-called “container.” Think of it like a Tupperware container: Everything Pi-hole needs is packed inside, keeping your Windows system clean.

  • Download and install Docker Desktop for Windows.
  • You may need to restart your PC.
  • Start Docker Desktop and wait until the status bar in the bottom left corner is green (“Engine running”).
Advertisement

Step 3: Start Pi-hole (The magic command)

We don’t need to install anything complicated; we just give Docker a single command. On your Windows PC, open the command prompt (CMD) or PowerShell and copy and paste this block into it (all on one line or block):

docker run -d –name pihole -e TZ=”Europe/Berlin” -e WEBPASSWORD=”deinPasswort123” -v pihole_etc:/etc/pihole -v pihole_dnsmasq:/etc/dnsmasq.d -p 53:53/tcp -p 53:53/udp -p 80:80/tcp –restart=unless-stopped pihole/pihole:latest

What’s happening here?

  • WEBPASSWORD: Replace “yourPassword123” with your own password for the dashboard.
  • -p 53:53: Opens the port for DNS (the internet’s phone book).
  • –restart=unless-stopped: When you restart your laptop, Pi-hole will restart automatically.

Now go to http://localhost/admin in your browser. If you see the dashboard: Congratulations! Your ad blocker is working.

Step 4: Redirecting the FRITZ!Box

Now we need to tell the FRITZ!Box to no longer query your internet provider’s DNS server, but your laptop.

  • In the FRITZ!Box, go to Internet > Access Data > DNS Server.

  • Select “Use other DNSv4 servers”.
  • Enter your laptop’s IP address in the Preferred DNSv4 server field (the one from step 1, e.g. 192.168.178.20).
  • For an alternative DNSv4 server, you should enter a public DNS server for security reasons (e.g., 1.1.1.1 from Cloudflare or 8.8.8.8 from Google).

    • Why? If you turn off your laptop, your home internet connection would otherwise drop. This way, the FRITZ!Box automatically reverts to the backup (though this will then include advertising).
  • Click on Apply.

Step 5: Test and Enjoy!

Briefly disconnect your phone from Wi-Fi and reconnect it so the changes take effect. Now visit an ad-heavy news site. You’ll see: The white spaces where there used to be flashing banners remain empty.

A Look at the Dashboard: On your laptop, go to http://192.168.178.20/admin (or localhost/admin). You’ll now see the “Queries Blocked” counter increasing live. These are all requests that didn’t reach you.

  • In the FRITZ!Box, go to Internet > Access Data > DNS Server.

  • Select “Use other DNSv4 servers”.
  • Enter your laptop’s IP address in the Preferred DNSv4 server field (the one from step 1, e.g. 192.168.178.20).
  • For an alternative DNSv4 server, you should enter a public DNS server for security reasons (e.g., 1.1.1.1 from Cloudflare or 8.8.8.8 from Google).

    • Why? If you turn off your laptop, your home internet connection would otherwise drop. This way, the FRITZ!Box automatically reverts to the backup (though this will then include advertising).
  • Click on Apply.

Important conclusion & warning

This solution is extremely powerful. Apps on your phone, smart TV menus, and websites will be ad-free.

But note: Since your laptop is now the “pathfinder” for your internet connection, it needs to be running for the ad blocking to work. If you turn it off or it goes into standby mode, the FRITZ!Box’s “Alternative DNS” takes over. The internet will continue to work, but the ads will return until the laptop is running again.

Enjoy the clean internet!

About the Author:

Michael W. SuhrDipl. Betriebswirt | Webdesign- und Beratung | Office Training
After 20 years in logistics, I turned my hobby, which has accompanied me since the mid-1980s, into a profession, and have been working as a freelancer in web design, web consulting and Microsoft Office since the beginning of 2015. On the side, I write articles for more digital competence in my blog as far as time allows.
Transparenz: Um diesen Blog kostenlos anbieten zu können, nutzen wir Affiliate-Links. Klickst du darauf und kaufst etwas, bekommen wir eine kleine Vergütung. Der Preis bleibt für dich gleich. Win-Win!
Blogverzeichnis Bloggerei.de - Computerblogs

Search by category:

Beliebte Beiträge

2310, 2025

From assistant to agent: Microsoft’s Copilot

October 23rd, 2025|Categories: Shorts & Tutorials, Artificial intelligence, AutoGPT, ChatGPT, Homeoffice, LLaMa, Microsoft Excel, Microsoft Office, Microsoft Outlook, Microsoft PowerPoint, Microsoft Teams, Microsoft Word, Office 365, TruthGPT, Windows 10/11/12|Tags: , , , |

Copilot is growing up: Microsoft's AI is no longer an assistant, but a proactive agent. With "Vision," it sees your Windows desktop; in M365, it analyzes data as a "Researcher"; and in GitHub, it autonomously corrects code. The biggest update yet.

1710, 2025

Never do the same thing again: How to record a macro in Excel

October 17th, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Excel, Microsoft Office, Office 365|Tags: , , |

Tired of repetitive tasks in Excel? Learn how to create your first personal "magic button" with the macro recorder. Automate formatting and save hours – no programming required! Click here for easy instructions.

1710, 2025

IMAP vs. Local Folders: The secret to your Outlook structure and why it matters

October 17th, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Office, Microsoft Outlook, Microsoft Word, Office 365|Tags: , , |

Do you know the difference between IMAP and local folders in Outlook? Incorrect use can lead to data loss! We'll explain simply what belongs where, how to clean up your mailbox, and how to archive emails securely and for the long term.

1710, 2025

Der ultimative Effizienz-Boost: Wie Excel, Word und Outlook für Sie zusammenarbeiten

October 17th, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Excel, Microsoft Office, Microsoft Outlook, Microsoft PowerPoint, Microsoft Teams, Microsoft Word, Office 365, Windows 10/11/12|Tags: , , , |

Schluss mit manuellem Kopieren! Lernen Sie, wie Sie Excel-Listen, Word-Vorlagen & Outlook verbinden, um personalisierte Serien-E-Mails automatisch zu versenden. Sparen Sie Zeit, vermeiden Sie Fehler und steigern Sie Ihre Effizienz. Hier geht's zur einfachen Anleitung!

1510, 2025

Microsoft 365 Copilot in practice: Your guide to the new everyday work routine

October 15th, 2025|Categories: Shorts & Tutorials, Artificial intelligence, LLaMa, Microsoft Excel, Microsoft Office, Microsoft Outlook, Microsoft PowerPoint, Microsoft Teams, Microsoft Word, Office 365|Tags: , , |

What can Microsoft 365 Copilot really do? 🤖 We'll show you in a practical way how the AI ​​assistant revolutionizes your daily work in Word, Excel & Teams. From a blank page to a finished presentation in minutes! The ultimate practical guide for the new workday. #Copilot #Microsoft365 #AI

102, 2024

Integrate and use ChatGPT in Excel – is that possible?

February 1st, 2024|Categories: Artificial intelligence, ChatGPT, Microsoft Excel, Microsoft Office, Shorts & Tutorials|Tags: , , , |

ChatGPT is more than just a simple chatbot. Learn how it can revolutionize how you work with Excel by translating formulas, creating VBA macros, and even promising future integration with Office.

Anzeige

Offers 2024: Word & Excel Templates

Anzeige
2025-12-27T07:20:04+01:00By |Categories: Shorts & Tutorials, Homeoffice, Windows 10/11/12|Tags: , |
Ads

Popular Posts:

Search by category:

Autumn Specials:

Anzeige
Go to Top