Skip to content

Instantly share code, notes, and snippets.

@mlabbe
Created May 12, 2021 13:05
Show Gist options
  • Save mlabbe/37e68b0dc33c0869d5333c83cfcc0a42 to your computer and use it in GitHub Desktop.
Save mlabbe/37e68b0dc33c0869d5333c83cfcc0a42 to your computer and use it in GitHub Desktop.
Block windows update dns records with dnsmasq
# put in /etc/dnsmask.d and restart the daemon
# then run ipconfig /flushdns
#
# run at your own risk
address=/windowsupdate.microsoft.com/0.0.0.0
address=/update.microsoft.com/0.0.0.0
address=/windowsupdate.com/0.0.0.0
address=/test.stats.update.microsoft.com/0.0.0.0
address=/ntservicepack.microsoft.com/0.0.0.0
address=/download.microsoft.com/0.0.0.0
address=/wustat.windows.com/0.0.0.0
address=/ntservicepack.microsoft.com/0.0.0.0
address=/go.microsoft.com/0.0.0.0
address=/delivery.dsp.mp.microsoft.com.nsatc.net/0.0.0.0
address=/v10.events.data.microsoft.com/0.0.0.0
address=/delivery.dsp.mp.microsoft.com.nsatc.net/0.0.0.0
address=/delivery.mp.microsoft.com/0.0.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment