Skip to content

Instantly share code, notes, and snippets.

@niutech
Last active December 4, 2024 12:20
Show Gist options
  • Save niutech/1f1c1518ce0eba7e8d429c812d39493d to your computer and use it in GitHub Desktop.
Save niutech/1f1c1518ce0eba7e8d429c812d39493d to your computer and use it in GitHub Desktop.
/etc/hosts file for blocking Microsoft Edge tracking domains (and more)
0.0.0.0 a-0001.a-msedge.net
0.0.0.0 a-0002.a-msedge.net
0.0.0.0 a-0003.a-msedge.net
0.0.0.0 a-0004.a-msedge.net
0.0.0.0 a-0005.a-msedge.net
0.0.0.0 a-0006.a-msedge.net
0.0.0.0 a-0007.a-msedge.net
0.0.0.0 a-0008.a-msedge.net
0.0.0.0 a-0009.a-msedge.net
0.0.0.0 a-msedge.net
0.0.0.0 a.ads1.msn.com
0.0.0.0 a.ads2.msads.net
0.0.0.0 a.ads2.msn.com
0.0.0.0 a.rad.msn.com
0.0.0.0 ac3.msn.com
0.0.0.0 account.live.com
0.0.0.0 account.microsoft.com
0.0.0.0 activity.microsoft.com
0.0.0.0 ad.doubleclick.net
0.0.0.0 adnexus.net
0.0.0.0 adnxs.com
0.0.0.0 ads.arcct.msn.com
0.0.0.0 ads.msn.com
0.0.0.0 ads1.msads.net
0.0.0.0 ads1.msn.com
0.0.0.0 aidps.atdmt.com
0.0.0.0 aka-cdn-ns.adtech.de
0.0.0.0 api.edgeoffer.microsoft.com
0.0.0.0 api.msn.com
0.0.0.0 api.vcservice.webxtsvc-int.microsoft.com
0.0.0.0 api.webxtsvc.microsoft.com
0.0.0.0 apps.skype.com
0.0.0.0 arc.msn.com
0.0.0.0 assets.msn.com
0.0.0.0 az361816.vo.msecnd.net
0.0.0.0 az512334.vo.msecnd.net
0.0.0.0 b.ads1.msn.com
0.0.0.0 b.ads2.msads.net
0.0.0.0 b.rad.msn.com
0.0.0.0 bat.bing.com
0.0.0.0 browser.events.data.msn.com
0.0.0.0 browser.events.data.microsoft.com
0.0.0.0 browser.pipe.aria.microsoft.com
0.0.0.0 bs.serving-sys.com
0.0.0.0 business.bing.com
0.0.0.0 c.atdmt.com
0.0.0.0 c.bing.com
0.0.0.0 c.live.com
0.0.0.0 c.msn.com
0.0.0.0 c1.microsoft.com
0.0.0.0 ca.telemetry.microsoft.com
0.0.0.0 cache.datamart.windows.com
0.0.0.0 cdn.atdmt.com
0.0.0.0 cdn.edgeoffer.microsoft.com
0.0.0.0 cds26.ams9.msecn.net
0.0.0.0 choice.microsoft.com
0.0.0.0 choice.microsoft.com.nsatc.net
0.0.0.0 choice.microsoft.com.nstac.net
0.0.0.0 citrix.onmicrosoft.com
0.0.0.0 clarity.ms
0.0.0.0 clientfd.family.microsoft.com
0.0.0.0 cloudbrowser.microsoft.com
0.0.0.0 cn.bing.com
0.0.0.0 compatexchange.cloudapp.net
0.0.0.0 config.edge.skype.com
0.0.0.0 corp.sts.microsoft.com
0.0.0.0 corpext.msitadfs.glbdns2.microsoft.com
0.0.0.0 crl.microsoft.com
0.0.0.0 cs1.wpc.v0cdn.net
0.0.0.0 customervoice.microsoft.com
0.0.0.0 db3aqu.atdmt.com
0.0.0.0 db3wns2011111.wns.windows.com
0.0.0.0 df.telemetry.microsoft.com
0.0.0.0 diagnostics.support.microsoft.com
0.0.0.0 ec.atdmt.com
0.0.0.0 edge-staging.microsoft.com
0.0.0.0 edge-test.microsoft.com
0.0.0.0 edge.cloudbrowser.microsoft.com
0.0.0.0 edge.microsoft.com
0.0.0.0 edgeservices.bing.com
0.0.0.0 edgeshoppingstatic.azureedge.net
0.0.0.0 edgesync.microsoft.com
0.0.0.0 edgetippingservice.webxtsvc.microsoft.com
0.0.0.0 events-sandbox.data.msn.com
0.0.0.0 events.data.microsoft.com
0.0.0.0 family.api.account.microsoft.com
0.0.0.0 farevents.family.microsoft.com
0.0.0.0 fe2.update.microsoft.com.akadns.net
0.0.0.0 fe3.delivery.dsp.mp.microsoft.com.nsatc.net
0.0.0.0 feedback.microsoft-hohm.com
0.0.0.0 feedback.search.microsoft.com
0.0.0.0 feedback.smartscreen.microsoft.com
0.0.0.0 feedback.windows.com
0.0.0.0 flex.msn.com
0.0.0.0 forms.microsoft.com
0.0.0.0 functional.events.data.microsoft.com
0.0.0.0 g.bing.com
0.0.0.0 g.msn.com
0.0.0.0 global.bing.com
0.0.0.0 graph.microsoft.com
0.0.0.0 h1.msn.com
0.0.0.0 i1.services.social.microsoft.com
0.0.0.0 i1.services.social.microsoft.com.nsatc.net
0.0.0.0 inference.location.live.com
0.0.0.0 instrumentExport.cp.microsoft.com
0.0.0.0 lb1.www.ms.akadns.net
0.0.0.0 live.rads.msn.com
0.0.0.0 local.cloudbrowser.microsoft.com
0.0.0.0 login.live.com
0.0.0.0 login.microsoft.com
0.0.0.0 m.adnxs.com
0.0.0.0 m.bing.com
0.0.0.0 m.hotmail.com
0.0.0.0 manage.microsoft.com
0.0.0.0 mathsolver.microsoft.com
0.0.0.0 microsoftedge.microsoft.com
0.0.0.0 microsoftedgetips.microsoft.com
0.0.0.0 microsoftedgewelcome.microsoft.com
0.0.0.0 microsoftnews.msn.com
0.0.0.0 mobile.events.data.microsoft.com
0.0.0.0 msedge.net
0.0.0.0 msft.sts.microsoft.com
0.0.0.0 msftncsi.com
0.0.0.0 msn.com
0.0.0.0 msntest.serving-sys.com
0.0.0.0 mwservice.xpay-int.microsoft.com
0.0.0.0 ntp.msn.com
0.0.0.0 nw-umwatson.events.data.microsoft.com
0.0.0.0 oca.telemetry.microsoft.com
0.0.0.0 oca.telemetry.microsoft.com.nsatc.net
0.0.0.0 officeapps.live.com
0.0.0.0 outlook.live.com
0.0.0.0 paymentinstruments.mp.microsoft.com
0.0.0.0 petrol.office.microsoft.com
0.0.0.0 pptsgs.officeapps.live.com
0.0.0.0 pre.footprintpredict.com
0.0.0.0 preview.msn.com
0.0.0.0 pricelist.skype.com
0.0.0.0 privacy.microsoft.com
0.0.0.0 prod.rewardsplatform.microsoft.com
0.0.0.0 rad.live.com
0.0.0.0 rad.msn.com
0.0.0.0 redir.metaservices.microsoft.com
0.0.0.0 reports.wes.df.telemetry.microsoft.com
0.0.0.0 rewards.microsoft.com
0.0.0.0 s.gateway.messenger.live.com
0.0.0.0 s0.2mdn.net
0.0.0.0 sO.2mdn.net
0.0.0.0 schemas.microsoft.akadns.net
0.0.0.0 schemas.microsoft.com
0.0.0.0 sdx.microsoft.com
0.0.0.0 secure.adnxs.com
0.0.0.0 secure.flashtalking.com
0.0.0.0 self.events.data.microsoft.com
0.0.0.0 services.wes.df.telemetry.microsoft.com
0.0.0.0 settings-sandbox.data.microsoft.com
0.0.0.0 settings-win.data.microsoft.com
0.0.0.0 settings.data.microsoft.com
0.0.0.0 settings.family.microsoft.com
0.0.0.0 signup.live.com
0.0.0.0 sls.update.microsoft.com.akadns.net
0.0.0.0 speech.platform.bing.com
0.0.0.0 spynet2.microsoft.com
0.0.0.0 spynetalt.microsoft.com
0.0.0.0 sqm.df.telemetry.microsoft.com
0.0.0.0 sqm.telemetry.microsoft.com
0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net
0.0.0.0 ssl.live.com
0.0.0.0 ssw.live.com
0.0.0.0 static.2mdn.net
0.0.0.0 statsfe1.ws.microsoft.com
0.0.0.0 statsfe2.update.microsoft.com.akadns.net
0.0.0.0 statsfe2.ws.microsoft.com
0.0.0.0 survey.watson.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net
0.0.0.0 telemetry.appex.bing.net
0.0.0.0 telemetry.microsoft.com
0.0.0.0 telemetry.urs.microsoft.com
0.0.0.0 tip.customervoice.microsoft.com
0.0.0.0 tokenization.cp.microsoft.com
0.0.0.0 ui.skype.com
0.0.0.0 v10.vortex-win.data.microsoft.com
0.0.0.0 vcservice.webxtsvc.microsoft.com
0.0.0.0 view.atdmt.com
0.0.0.0 vortex-bn2.metron.live.com.nsatc.net
0.0.0.0 vortex-cy2.metron.live.com.nsatc.net
0.0.0.0 vortex-sandbox.data.microsoft.com
0.0.0.0 vortex-win.data.metron.live.com.nsatc.net
0.0.0.0 vortex-win.data.microsoft.com
0.0.0.0 vortex.data.glbdns2.microsoft.com
0.0.0.0 vortex.data.microsoft.com
0.0.0.0 watson.live.com
0.0.0.0 watson.microsoft.com
0.0.0.0 watson.ppe.telemetry.microsoft.com
0.0.0.0 watson.telemetry.microsoft.com
0.0.0.0 watson.telemetry.microsoft.com.nsatc.net
0.0.0.0 web.vortex-sandbox.data.msn.com
0.0.0.0 web.vortex.data.microsoft.com
0.0.0.0 web.vortex.data.msn.com
0.0.0.0 webxtsvc.microsoft.com
0.0.0.0 wes.df.telemetry.microsoft.com
0.0.0.0 win10.ipv6.microsoft.com
0.0.0.0 windows.msn.com
0.0.0.0 www.msftncsi.com
0.0.0.0 www.msn.com
0.0.0.0 xpay-int.microsoft.com
@niutech
Copy link
Author

niutech commented Jan 4, 2022

Read how to edit your hosts file on Windows, Linux and Mac OS. Windows Security blocks modification of the hosts file by falsely reporting SettingsModifier:Win32/PossibleHostsFileHijack, so you have to add an exclusion for it.

@jmcnaught427
Copy link

Implemented this in hosts, and seems to also speed up Edge significantly.

! One downside I noticed: Sticky Notes app shows Triangle Icon at top of app and won't sync updates.

Any ideas what edit to the list would restore this functionality?

@dimdenGD
Copy link

0.0.0.0 a-0001.a-msedge.net
0.0.0.0 a-0002.a-msedge.net
0.0.0.0 a-0003.a-msedge.net
0.0.0.0 a-0004.a-msedge.net
0.0.0.0 a-0005.a-msedge.net
0.0.0.0 a-0006.a-msedge.net
0.0.0.0 a-0007.a-msedge.net
0.0.0.0 a-0008.a-msedge.net
0.0.0.0 a-0009.a-msedge.net
0.0.0.0 a-msedge.net
0.0.0.0 a.ads1.msn.com
0.0.0.0 a.ads2.msads.net
0.0.0.0 a.ads2.msn.com
0.0.0.0 a.rad.msn.com
0.0.0.0 ac3.msn.com
0.0.0.0 ad.doubleclick.net
0.0.0.0 adnexus.net
0.0.0.0 adnxs.com
0.0.0.0 ads.arcct.msn.com
0.0.0.0 ads.msn.com
0.0.0.0 ads1.msads.net
0.0.0.0 ads1.msn.com
0.0.0.0 aidps.atdmt.com
0.0.0.0 aka-cdn-ns.adtech.de
0.0.0.0 api.edgeoffer.microsoft.com
0.0.0.0 api.vcservice.webxtsvc-int.microsoft.com
0.0.0.0 api.webxtsvc.microsoft.com
0.0.0.0 arc.msn.com
0.0.0.0 assets.msn.com
0.0.0.0 az361816.vo.msecnd.net
0.0.0.0 az512334.vo.msecnd.net
0.0.0.0 b.ads1.msn.com
0.0.0.0 b.ads2.msads.net
0.0.0.0 b.rad.msn.com
0.0.0.0 browser.events.data.msn.com
0.0.0.0 browser.pipe.aria.microsoft.com
0.0.0.0 bs.serving-sys.com
0.0.0.0 c.atdmt.com
0.0.0.0 c.live.com
0.0.0.0 c.msn.com
0.0.0.0 c1.microsoft.com
0.0.0.0 ca.telemetry.microsoft.com
0.0.0.0 cache.datamart.windows.com
0.0.0.0 cdn.atdmt.com
0.0.0.0 cdn.edgeoffer.microsoft.com
0.0.0.0 cds26.ams9.msecn.net
0.0.0.0 choice.microsoft.com
0.0.0.0 choice.microsoft.com.nsatc.net
0.0.0.0 choice.microsoft.com.nstac.net
0.0.0.0 citrix.onmicrosoft.com
0.0.0.0 clarity.ms
0.0.0.0 clientfd.family.microsoft.com
0.0.0.0 cloudbrowser.microsoft.com
0.0.0.0 compatexchange.cloudapp.net
0.0.0.0 config.edge.skype.com
0.0.0.0 corp.sts.microsoft.com
0.0.0.0 corpext.msitadfs.glbdns2.microsoft.com
0.0.0.0 crl.microsoft.com
0.0.0.0 cs1.wpc.v0cdn.net
0.0.0.0 customervoice.microsoft.com
0.0.0.0 db3aqu.atdmt.com
0.0.0.0 db3wns2011111.wns.windows.com
0.0.0.0 df.telemetry.microsoft.com
0.0.0.0 diagnostics.support.microsoft.com
0.0.0.0 ec.atdmt.com
0.0.0.0 edge.cloudbrowser.microsoft.com
0.0.0.0 edgeshoppingstatic.azureedge.net
0.0.0.0 edgetippingservice.webxtsvc.microsoft.com
0.0.0.0 events-sandbox.data.msn.com
0.0.0.0 events.data.microsoft.com
0.0.0.0 family.api.account.microsoft.com
0.0.0.0 farevents.family.microsoft.com
0.0.0.0 fe3.delivery.dsp.mp.microsoft.com.nsatc.net
0.0.0.0 feedback.microsoft-hohm.com
0.0.0.0 feedback.search.microsoft.com
0.0.0.0 feedback.smartscreen.microsoft.com
0.0.0.0 feedback.windows.com
0.0.0.0 flex.msn.com
0.0.0.0 forms.microsoft.com
0.0.0.0 functional.events.data.microsoft.com
0.0.0.0 g.msn.com
0.0.0.0 graph.microsoft.com
0.0.0.0 h1.msn.com
0.0.0.0 i1.services.social.microsoft.com
0.0.0.0 i1.services.social.microsoft.com.nsatc.net
0.0.0.0 inference.location.live.com
0.0.0.0 instrumentExport.cp.microsoft.com
0.0.0.0 lb1.www.ms.akadns.net
0.0.0.0 live.rads.msn.com
0.0.0.0 local.cloudbrowser.microsoft.com
0.0.0.0 m.adnxs.com
0.0.0.0 m.hotmail.com
0.0.0.0 microsoftnews.msn.com
0.0.0.0 mobile.events.data.microsoft.com
0.0.0.0 msft.sts.microsoft.com
0.0.0.0 msftncsi.com
0.0.0.0 msntest.serving-sys.com
0.0.0.0 mwservice.xpay-int.microsoft.com
0.0.0.0 ntp.msn.com
0.0.0.0 nw-umwatson.events.data.microsoft.com
0.0.0.0 oca.telemetry.microsoft.com
0.0.0.0 oca.telemetry.microsoft.com.nsatc.net
0.0.0.0 petrol.office.microsoft.com
0.0.0.0 pptsgs.officeapps.live.com
0.0.0.0 pre.footprintpredict.com
0.0.0.0 preview.msn.com
0.0.0.0 pricelist.skype.com
0.0.0.0 prod.rewardsplatform.microsoft.com
0.0.0.0 rad.live.com
0.0.0.0 rad.msn.com
0.0.0.0 redir.metaservices.microsoft.com
0.0.0.0 reports.wes.df.telemetry.microsoft.com
0.0.0.0 s.gateway.messenger.live.com
0.0.0.0 s0.2mdn.net
0.0.0.0 sO.2mdn.net
0.0.0.0 schemas.microsoft.akadns.net
0.0.0.0 schemas.microsoft.com
0.0.0.0 sdx.microsoft.com
0.0.0.0 secure.adnxs.com
0.0.0.0 secure.flashtalking.com
0.0.0.0 self.events.data.microsoft.com
0.0.0.0 services.wes.df.telemetry.microsoft.com
0.0.0.0 spynet2.microsoft.com
0.0.0.0 spynetalt.microsoft.com
0.0.0.0 sqm.df.telemetry.microsoft.com
0.0.0.0 sqm.telemetry.microsoft.com
0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net
0.0.0.0 ssl.live.com
0.0.0.0 ssw.live.com
0.0.0.0 static.2mdn.net
0.0.0.0 statsfe1.ws.microsoft.com
0.0.0.0 statsfe2.update.microsoft.com.akadns.net
0.0.0.0 statsfe2.ws.microsoft.com
0.0.0.0 survey.watson.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net
0.0.0.0 telemetry.appex.bing.net
0.0.0.0 telemetry.microsoft.com
0.0.0.0 telemetry.urs.microsoft.com
0.0.0.0 tip.customervoice.microsoft.com 
0.0.0.0 tokenization.cp.microsoft.com
0.0.0.0 v10.vortex-win.data.microsoft.com
0.0.0.0 vcservice.webxtsvc.microsoft.com
0.0.0.0 view.atdmt.com
0.0.0.0 view.officeapps.live.com
0.0.0.0 vortex-bn2.metron.live.com.nsatc.net
0.0.0.0 vortex-cy2.metron.live.com.nsatc.net
0.0.0.0 vortex-sandbox.data.microsoft.com
0.0.0.0 vortex-win.data.metron.live.com.nsatc.net
0.0.0.0 vortex-win.data.microsoft.com
0.0.0.0 vortex.data.glbdns2.microsoft.com
0.0.0.0 vortex.data.microsoft.com
0.0.0.0 watson.live.com
0.0.0.0 watson.microsoft.com
0.0.0.0 watson.ppe.telemetry.microsoft.com
0.0.0.0 watson.telemetry.microsoft.com
0.0.0.0 watson.telemetry.microsoft.com.nsatc.net
0.0.0.0 web.vortex-sandbox.data.msn.com
0.0.0.0 web.vortex.data.microsoft.com
0.0.0.0 web.vortex.data.msn.com
0.0.0.0 webxtsvc.microsoft.com
0.0.0.0 wes.df.telemetry.microsoft.com

Less harsh list that will make Bing AI and other Microsoft services work while focusing on blocking telemetry

@tcfurrer
Copy link

Gosh it would be nice if the PowerToys Hosts File Editor didn't have a limit of 9 hosts per entry. Because that would be a much more convenient way to add the entire list.

@niutech
Copy link
Author

niutech commented Jul 20, 2023

@tcfurrer What's so difficult about editing the hosts file in Notepad (run as Administrator)?

@tcfurrer
Copy link

Editing the file directly is not ideal because it requires the malware protection exclusion (otherwise it gets automatically reverted immediately after being edited). I don't like that solution because it opens the door wide open for other things to come afterward and edit the file in malicious ways.

When editing using PowerToys, the exclusion is not needed (which I assume is the whole point of that tool?). So I wish I could easily come in through that door, but adding a long list in groups of 9 is way too tedious. It also detects bogus redundancy, but that can just be ignored.

Having said that, I'm probably just whining here. I should instead say that I really appreciate this list. It seems to be working well to speed up my Edge browsing too. Especially whenever my ISP is offline and I still want to browse various devices with HTML front ends within my local network.

The performance cost of numerous dependencies on cloud services in most modern software is really quite disappointing!

@naryfa
Copy link

naryfa commented Oct 25, 2023

This list breaks the Windows Weather App along with the live tile.

Can you please correct, or release another one with the app functional?

Edit:

OK, I'll use the DimdenGD's list, seems to keep those services working fine.

@SiddharthManthan
Copy link

0.0.0.0 a-0001.a-msedge.net
0.0.0.0 a-0002.a-msedge.net
0.0.0.0 a-0003.a-msedge.net
0.0.0.0 a-0004.a-msedge.net
0.0.0.0 a-0005.a-msedge.net
0.0.0.0 a-0006.a-msedge.net
0.0.0.0 a-0007.a-msedge.net
0.0.0.0 a-0008.a-msedge.net
0.0.0.0 a-0009.a-msedge.net
0.0.0.0 a-msedge.net
0.0.0.0 a.ads1.msn.com
0.0.0.0 a.ads2.msads.net
0.0.0.0 a.ads2.msn.com
0.0.0.0 a.rad.msn.com
0.0.0.0 ac3.msn.com
0.0.0.0 ad.doubleclick.net
0.0.0.0 adnexus.net
0.0.0.0 adnxs.com
0.0.0.0 ads.arcct.msn.com
0.0.0.0 ads.msn.com
0.0.0.0 ads1.msads.net
0.0.0.0 ads1.msn.com
0.0.0.0 aidps.atdmt.com
0.0.0.0 aka-cdn-ns.adtech.de
0.0.0.0 api.edgeoffer.microsoft.com
0.0.0.0 api.vcservice.webxtsvc-int.microsoft.com
0.0.0.0 api.webxtsvc.microsoft.com
0.0.0.0 arc.msn.com
0.0.0.0 assets.msn.com
0.0.0.0 az361816.vo.msecnd.net
0.0.0.0 az512334.vo.msecnd.net
0.0.0.0 b.ads1.msn.com
0.0.0.0 b.ads2.msads.net
0.0.0.0 b.rad.msn.com
0.0.0.0 browser.events.data.msn.com
0.0.0.0 browser.pipe.aria.microsoft.com
0.0.0.0 bs.serving-sys.com
0.0.0.0 c.atdmt.com
0.0.0.0 c.live.com
0.0.0.0 c.msn.com
0.0.0.0 c1.microsoft.com
0.0.0.0 ca.telemetry.microsoft.com
0.0.0.0 cache.datamart.windows.com
0.0.0.0 cdn.atdmt.com
0.0.0.0 cdn.edgeoffer.microsoft.com
0.0.0.0 cds26.ams9.msecn.net
0.0.0.0 choice.microsoft.com
0.0.0.0 choice.microsoft.com.nsatc.net
0.0.0.0 choice.microsoft.com.nstac.net
0.0.0.0 citrix.onmicrosoft.com
0.0.0.0 clarity.ms
0.0.0.0 clientfd.family.microsoft.com
0.0.0.0 cloudbrowser.microsoft.com
0.0.0.0 compatexchange.cloudapp.net
0.0.0.0 config.edge.skype.com
0.0.0.0 corp.sts.microsoft.com
0.0.0.0 corpext.msitadfs.glbdns2.microsoft.com
0.0.0.0 crl.microsoft.com
0.0.0.0 cs1.wpc.v0cdn.net
0.0.0.0 customervoice.microsoft.com
0.0.0.0 db3aqu.atdmt.com
0.0.0.0 db3wns2011111.wns.windows.com
0.0.0.0 df.telemetry.microsoft.com
0.0.0.0 diagnostics.support.microsoft.com
0.0.0.0 ec.atdmt.com
0.0.0.0 edge.cloudbrowser.microsoft.com
0.0.0.0 edgeshoppingstatic.azureedge.net
0.0.0.0 edgetippingservice.webxtsvc.microsoft.com
0.0.0.0 events-sandbox.data.msn.com
0.0.0.0 events.data.microsoft.com
0.0.0.0 family.api.account.microsoft.com
0.0.0.0 farevents.family.microsoft.com
0.0.0.0 fe3.delivery.dsp.mp.microsoft.com.nsatc.net
0.0.0.0 feedback.microsoft-hohm.com
0.0.0.0 feedback.search.microsoft.com
0.0.0.0 feedback.smartscreen.microsoft.com
0.0.0.0 feedback.windows.com
0.0.0.0 flex.msn.com
0.0.0.0 forms.microsoft.com
0.0.0.0 functional.events.data.microsoft.com
0.0.0.0 g.msn.com
0.0.0.0 graph.microsoft.com
0.0.0.0 h1.msn.com
0.0.0.0 i1.services.social.microsoft.com
0.0.0.0 i1.services.social.microsoft.com.nsatc.net
0.0.0.0 inference.location.live.com
0.0.0.0 instrumentExport.cp.microsoft.com
0.0.0.0 lb1.www.ms.akadns.net
0.0.0.0 live.rads.msn.com
0.0.0.0 local.cloudbrowser.microsoft.com
0.0.0.0 m.adnxs.com
0.0.0.0 m.hotmail.com
0.0.0.0 microsoftnews.msn.com
0.0.0.0 mobile.events.data.microsoft.com
0.0.0.0 msft.sts.microsoft.com
0.0.0.0 msftncsi.com
0.0.0.0 msntest.serving-sys.com
0.0.0.0 mwservice.xpay-int.microsoft.com
0.0.0.0 ntp.msn.com
0.0.0.0 nw-umwatson.events.data.microsoft.com
0.0.0.0 oca.telemetry.microsoft.com
0.0.0.0 oca.telemetry.microsoft.com.nsatc.net
0.0.0.0 petrol.office.microsoft.com
0.0.0.0 pptsgs.officeapps.live.com
0.0.0.0 pre.footprintpredict.com
0.0.0.0 preview.msn.com
0.0.0.0 pricelist.skype.com
0.0.0.0 prod.rewardsplatform.microsoft.com
0.0.0.0 rad.live.com
0.0.0.0 rad.msn.com
0.0.0.0 redir.metaservices.microsoft.com
0.0.0.0 reports.wes.df.telemetry.microsoft.com
0.0.0.0 s.gateway.messenger.live.com
0.0.0.0 s0.2mdn.net
0.0.0.0 sO.2mdn.net
0.0.0.0 schemas.microsoft.akadns.net
0.0.0.0 schemas.microsoft.com
0.0.0.0 sdx.microsoft.com
0.0.0.0 secure.adnxs.com
0.0.0.0 secure.flashtalking.com
0.0.0.0 self.events.data.microsoft.com
0.0.0.0 services.wes.df.telemetry.microsoft.com
0.0.0.0 spynet2.microsoft.com
0.0.0.0 spynetalt.microsoft.com
0.0.0.0 sqm.df.telemetry.microsoft.com
0.0.0.0 sqm.telemetry.microsoft.com
0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net
0.0.0.0 ssl.live.com
0.0.0.0 ssw.live.com
0.0.0.0 static.2mdn.net
0.0.0.0 statsfe1.ws.microsoft.com
0.0.0.0 statsfe2.update.microsoft.com.akadns.net
0.0.0.0 statsfe2.ws.microsoft.com
0.0.0.0 survey.watson.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net
0.0.0.0 telemetry.appex.bing.net
0.0.0.0 telemetry.microsoft.com
0.0.0.0 telemetry.urs.microsoft.com
0.0.0.0 tip.customervoice.microsoft.com 
0.0.0.0 tokenization.cp.microsoft.com
0.0.0.0 v10.vortex-win.data.microsoft.com
0.0.0.0 vcservice.webxtsvc.microsoft.com
0.0.0.0 view.atdmt.com
0.0.0.0 view.officeapps.live.com
0.0.0.0 vortex-bn2.metron.live.com.nsatc.net
0.0.0.0 vortex-cy2.metron.live.com.nsatc.net
0.0.0.0 vortex-sandbox.data.microsoft.com
0.0.0.0 vortex-win.data.metron.live.com.nsatc.net
0.0.0.0 vortex-win.data.microsoft.com
0.0.0.0 vortex.data.glbdns2.microsoft.com
0.0.0.0 vortex.data.microsoft.com
0.0.0.0 watson.live.com
0.0.0.0 watson.microsoft.com
0.0.0.0 watson.ppe.telemetry.microsoft.com
0.0.0.0 watson.telemetry.microsoft.com
0.0.0.0 watson.telemetry.microsoft.com.nsatc.net
0.0.0.0 web.vortex-sandbox.data.msn.com
0.0.0.0 web.vortex.data.microsoft.com
0.0.0.0 web.vortex.data.msn.com
0.0.0.0 webxtsvc.microsoft.com
0.0.0.0 wes.df.telemetry.microsoft.com

Less harsh list that will make Bing AI and other Microsoft services work while focusing on blocking telemetry

It blocks the start page and dynamic wallpaper. Any way to enable it ?

@albertopasqualetto
Copy link

view.officeapps.live.com will block documents previews in MS Edge.

@albertopasqualetto
Copy link

albertopasqualetto commented Jan 18, 2024

It blocks the start page and dynamic wallpaper. Any way to enable it ?

I have indagated a little bit and it seems that unblocking ntp.msn.com fixes most of the new page in Edge and that assets.msn.com fixes the other, but it also downloads a lot more useless js.

@niutech
Copy link
Author

niutech commented Jan 18, 2024

@albertopasqualetto I've unblocked view.officeapps.live.com, as well as bing.com and microsoft.com, but I won't unblock *.msn.com because it makes a new tab page bloated and full of tracking scripts. Feel free to ignore them in your hosts file.

@albertopasqualetto
Copy link

albertopasqualetto commented Jan 18, 2024

@niutech thanks for suggestion! I think at least ntp.msn.com is ok to have some shortcuts and the changing image in new tab.

@seaque
Copy link

seaque commented Jan 30, 2024

0.0.0.0 graph.microsoft.com
0.0.0.0 login.live.com
0.0.0.0 login.microsoft.com
0.0.0.0 m.hotmail.com

some these block access to MS Store apps because you can't login your account, I don't know who would wanna block the entire hotmail system anyway.

@ibay770
Copy link

ibay770 commented Feb 1, 2024

Great work! Is it possible to get the same extraction on windows? Would it be possible to do for other browsers, like chrome, maxthon etc?

@niutech
Copy link
Author

niutech commented Feb 1, 2024

@seaque Me. I don't use MS services.
@ibay770 For Chrome, use Ungoogled Chromium.

@ibay770
Copy link

ibay770 commented Apr 14, 2024

I could but that's not the point. I want to block domains for those browsers like you did with these one.

@olsonperrensen
Copy link

Comment line 162 if you want TTS to work.

@hamilton25
Copy link

0.0.0.0 settings.data.microsof.com

Line 158 microsof.com is a mistake?
Should be microsoft.com?

@niutech
Copy link
Author

niutech commented Jul 29, 2024

@hamilton25 Fixed, thanks for catching it!

@Ayaambatman
Copy link

is this still working and effective?

@tcfurrer
Copy link

It's been working for me. I made only a couple of small changes though. In order for the Microsoft Family Safety web site to work, I had to remove graph.microsoft.com from the list.

@Ayaambatman
Copy link

It's been working for me. I made only a couple of small changes though. In order for the Microsoft Family Safety web site to work, I had to remove graph.microsoft.com from the list.
is there any other changes i need to make for any important functionings?
also among the list which one affects the collection tool in edge browser, because my "collections" are not working properly after making these changes in host file!

@Ayaambatman
Copy link

ok, is there any other changes to be made like this?
or how to know the functions of each code, as am not an expert and lack basics in coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment