#PiHole – ✅ Enable self.events.data.microsoft.com if you use Office 📄 (and you probably are!)

Buy Me A Coffee

Hi !

New house is in progress and that also means bring back PiHole running in a Raspberry Pi. If you don’t know PiHole, this may help:

Pi-hole or Pihole is a Linux network-level advertisement and Internet tracker blocking application which acts as a DNS sinkhole and optionally a DHCP server, intended for use on a private network. It is designed for low-power embedded devices with network capability, such as the Raspberry Pi, but supports any Linux machines.


I turned this on yesterday and after a few hours of use, I got more than 40% of blocked queries in my network.

pihole blocking more that 40 percent of queries

And one of the domains was going up fast in the top 3: self.events.data.microsoft.com

pihole top 3 blocked domains

The domain is in one of the blocked url lists, however it seems to be crucial to work with office. The official documentation shares more details about this endpoint:

The following endpoints are used to connect to the Microsoft 365 admin center’s shared infrastructure, including Office in a browser. For more info, see Office 365 URLs and IP address ranges. You can turn this off by removing all Microsoft Office apps and the Mail and Calendar apps. If you turn off traffic for these endpoints, users won’t be able to save documents to the cloud or see their recently used documents.

Source: Manage connection endpoints for Windows 10 Enterprise, version 1903.

Similar behavior affects to the 2nd and 3rd endpoint, so I decided to enable them in PiHole. I’ll keep an eye on them, and let’s see how my home network works !

Happy coding!


El Bruno

¿Con ganas de ponerte al día?

En Lemoncode te ofrecemos formación online impartida por profesionales que se baten el cobre en consultoría:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.