appo

Spotify Block ads

Oct 15th, 2016
37,598
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 30 March 19: Updated the IP addresses
  2.  
  3. You can block Spotify ads if you just null(?) them, just add this in your hosts File.
  4. On windows is at C:\Windows\System32\drivers\etc\hosts file.
  5. On Mac open finder and type /private/etc/hosts
  6. On Linux edit /etc/hosts
  7. More info here -> https://en.wikipedia.org/wiki/Hosts_(file)
  8.  
  9. 0.0.0.0 media-match.com
  10. 0.0.0.0 adclick.g.doublecklick.net
  11. 0.0.0.0 pagead2.googlesyndication.com
  12. 0.0.0.0 desktop.spotify.com
  13. 0.0.0.0 googleads.g.doubleclick.net
  14. 0.0.0.0 pubads.g.doubleclick.net
  15. 0.0.0.0 audio2.spotify.com
  16. 0.0.0.0 vortex.data.microsoft.com
  17. 0.0.0.0 vortex-win.data.microsoft.com
  18. 0.0.0.0 telecommand.telemetry.microsoft.com
  19. 0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net
  20. 0.0.0.0 oca.telemetry.microsoft.com
  21. 0.0.0.0 oca.telemetry.microsoft.com.nsatc.net
  22. 0.0.0.0 sqm.telemetry.microsoft.com
  23. 0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net
  24. 0.0.0.0 watson.telemetry.microsoft.com
  25. 0.0.0.0 watson.telemetry.microsoft.com.nsatc.net
  26. 0.0.0.0 redir.metaservices.microsoft.com
  27. 0.0.0.0 choice.microsoft.com
  28. 0.0.0.0 choice.microsoft.com.nsatc.net
  29. 0.0.0.0 df.telemetry.microsoft.com
  30. 0.0.0.0 reports.wes.df.telemetry.microsoft.com
  31. 0.0.0.0 wes.df.telemetry.microsoft.com
  32. 0.0.0.0 services.wes.df.telemetry.microsoft.com
  33. 0.0.0.0 sqm.df.telemetry.microsoft.com
  34. 0.0.0.0 telemetry.microsoft.com
  35. 0.0.0.0 watson.ppe.telemetry.microsoft.com
  36. 0.0.0.0 telemetry.appex.bing.net
  37. 0.0.0.0 telemetry.urs.microsoft.com
  38. 0.0.0.0 telemetry.appex.bing.net:443
  39. 0.0.0.0 settings-sandbox.data.microsoft.com
  40. 0.0.0.0 vortex-sandbox.data.microsoft.com
  41. 0.0.0.0 survey.watson.microsoft.com
  42. 0.0.0.0 watson.live.com
  43. 0.0.0.0 watson.microsoft.com
  44. 0.0.0.0 statsfe2.ws.microsoft.com
  45. 0.0.0.0 corpext.msitadfs.glbdns2.microsoft.com
  46. 0.0.0.0 compatexchange.cloudapp.net
  47. 0.0.0.0 cs1.wpc.v0cdn.net
  48. 0.0.0.0 a-0001.a-msedge.net
  49. 0.0.0.0 statsfe2.update.microsoft.com.akadns.net
  50. 0.0.0.0 sls.update.microsoft.com.akadns.net
  51. 0.0.0.0 fe2.update.microsoft.com.akadns.net
  52. 0.0.0.0 65.55.108.23
  53. 0.0.0.0 65.39.117.230
  54. 0.0.0.0 23.218.212.69
  55. 0.0.0.0 134.170.30.202
  56. 0.0.0.0 137.116.81.24
  57. 0.0.0.0 diagnostics.support.microsoft.com
  58. 0.0.0.0 corp.sts.microsoft.com
  59. 0.0.0.0 statsfe1.ws.microsoft.com
  60. 0.0.0.0 pre.footprintpredict.com
  61. 0.0.0.0 204.79.197.200
  62. 0.0.0.0 23.218.212.69
  63. 0.0.0.0 i1.services.social.microsoft.com
  64. 0.0.0.0 i1.services.social.microsoft.com.nsatc.net
  65. 0.0.0.0 feedback.windows.com
  66. 0.0.0.0 feedback.microsoft-hohm.com
  67. 0.0.0.0 feedback.search.microsoft.com
  68. 0.0.0.0 media-match.com
  69. 0.0.0.0 adclick.g.doublecklick.net
  70. 0.0.0.0 www.googleadservices.com
  71. 0.0.0.0 localhost
  72. 0.0.0.0 pagead2.googlesyndication.com
  73. 0.0.0.0 desktop.spotify.com
  74. 0.0.0.0 googleads.g.doubleclick.net
  75. 0.0.0.0 pubads.g.doubleclick.net
  76. 0.0.0.0 audio2.spotify.com
  77. 0.0.0.0 www.omaze.com
  78. 0.0.0.0 omaze.com
  79. 0.0.0.0 bounceexchange.com
  80. 0.0.0.0 pubads.g.doubleclick.net
  81. 0.0.0.0 securepubads.g.doubleclick.net
  82. 0.0.0.0 www.googletagservices.com
  83. 0.0.0.0 gads.pubmatic.com
  84. 0.0.0.0 ads.pubmatic.com
  85. 0.0.0.0 spclient.wg.spotify.com
  86. 0.0.0.0 image2.pubmatic.com
  87. 0.0.0.0 ads.pubmatic.com
  88. 0.0.0.0 sync.rhythmxchange.com
  89. 0.0.0.0 tpc.googlesyndication.com
  90. 0.0.0.0 m.goadservices.com
  91. 0.0.0.0 pagead2.googlesyndication.com
  92. 0.0.0.0 ut.performax.cz
  93.  
  94. If you are using mac, replace 0.0.0.0 with 127.0.0.1, so basically:
  95. 127.0.0.1 media-match.com
  96. 127.0.0.1 adclick.g.doublecklick.net
  97. 127.0.0.1 pagead2.googlesyndication.com
  98. 127.0.0.1 desktop.spotify.com
  99. 127.0.0.1 googleads.g.doubleclick.net
  100. 127.0.0.1 pubads.g.doubleclick.net
  101. 127.0.0.1 audio2.spotify.com
  102. 127.0.0.1 vortex.data.microsoft.com
  103. 127.0.0.1 vortex-win.data.microsoft.com
  104. 127.0.0.1 telecommand.telemetry.microsoft.com
  105. 127.0.0.1 telecommand.telemetry.microsoft.com.nsatc.net
  106. 127.0.0.1 oca.telemetry.microsoft.com
  107. 127.0.0.1 oca.telemetry.microsoft.com.nsatc.net
  108. 127.0.0.1 sqm.telemetry.microsoft.com
  109. 127.0.0.1 sqm.telemetry.microsoft.com.nsatc.net
  110. 127.0.0.1 watson.telemetry.microsoft.com
  111. 127.0.0.1 watson.telemetry.microsoft.com.nsatc.net
  112. 127.0.0.1 redir.metaservices.microsoft.com
  113. 127.0.0.1 choice.microsoft.com
  114. 127.0.0.1 choice.microsoft.com.nsatc.net
  115. 127.0.0.1 df.telemetry.microsoft.com
  116. 127.0.0.1 reports.wes.df.telemetry.microsoft.com
  117. 127.0.0.1 wes.df.telemetry.microsoft.com
  118. 127.0.0.1 services.wes.df.telemetry.microsoft.com
  119. 127.0.0.1 sqm.df.telemetry.microsoft.com
  120. 127.0.0.1 telemetry.microsoft.com
  121. 127.0.0.1 watson.ppe.telemetry.microsoft.com
  122. 127.0.0.1 telemetry.appex.bing.net
  123. 127.0.0.1 telemetry.urs.microsoft.com
  124. 127.0.0.1 telemetry.appex.bing.net:443
  125. 127.0.0.1 settings-sandbox.data.microsoft.com
  126. 127.0.0.1 vortex-sandbox.data.microsoft.com
  127. 127.0.0.1 survey.watson.microsoft.com
  128. 127.0.0.1 watson.live.com
  129. 127.0.0.1 watson.microsoft.com
  130. 127.0.0.1 statsfe2.ws.microsoft.com
  131. 127.0.0.1 corpext.msitadfs.glbdns2.microsoft.com
  132. 127.0.0.1 compatexchange.cloudapp.net
  133. 127.0.0.1 cs1.wpc.v0cdn.net
  134. 127.0.0.1 a-0001.a-msedge.net
  135. 127.0.0.1 statsfe2.update.microsoft.com.akadns.net
  136. 127.0.0.1 sls.update.microsoft.com.akadns.net
  137. 127.0.0.1 fe2.update.microsoft.com.akadns.net
  138. 127.0.0.1 65.55.108.23
  139. 127.0.0.1 65.39.117.230
  140. 127.0.0.1 23.218.212.69
  141. 127.0.0.1 134.170.30.202
  142. 127.0.0.1 137.116.81.24
  143. 127.0.0.1 diagnostics.support.microsoft.com
  144. 127.0.0.1 corp.sts.microsoft.com
  145. 127.0.0.1 statsfe1.ws.microsoft.com
  146. 127.0.0.1 pre.footprintpredict.com
  147. 127.0.0.1 204.79.197.200
  148. 127.0.0.1 23.218.212.69
  149. 127.0.0.1 i1.services.social.microsoft.com
  150. 127.0.0.1 i1.services.social.microsoft.com.nsatc.net
  151. 127.0.0.1 feedback.windows.com
  152. 127.0.0.1 feedback.microsoft-hohm.com
  153. 127.0.0.1 feedback.search.microsoft.com
  154. 127.0.0.1 media-match.com
  155. 127.0.0.1 adclick.g.doublecklick.net
  156. 127.0.0.1 www.googleadservices.com
  157. 127.0.0.1 localhost
  158. 127.0.0.1 pagead2.googlesyndication.com
  159. 127.0.0.1 desktop.spotify.com
  160. 127.0.0.1 googleads.g.doubleclick.net
  161. 127.0.0.1 pubads.g.doubleclick.net
  162. 127.0.0.1 audio2.spotify.com
  163. 127.0.0.1 www.omaze.com
  164. 127.0.0.1 omaze.com
  165. 127.0.0.1 bounceexchange.com
  166. 127.0.0.1 pubads.g.doubleclick.net
  167. 127.0.0.1 securepubads.g.doubleclick.net
  168. 127.0.0.1 www.googletagservices.com
  169. 127.0.0.1 gads.pubmatic.com
  170. 127.0.0.1 ads.pubmatic.com
  171. 127.0.0.1 spclient.wg.spotify.com
  172. 127.0.0.1 image2.pubmatic.com
  173. 127.0.0.1 ads.pubmatic.com
  174. 127.0.0.1 sync.rhythmxchange.com
  175. 127.0.0.1 tpc.googlesyndication.com
  176. 127.0.0.1 m.goadservices.com
  177. 127.0.0.1 pagead2.googlesyndication.com
  178. 127.0.0.1 ut.performax.cz
  179. Additional Step for Mac: Close spotify, right click it, select 'Open Package Contents', then navigate to 'Contents/Resources/Apps' and delete 'ad.spa'
  180.  
  181. Add the following ip ranges to your router or firewall (optional)
  182.  
  183. 31.13.76.102
  184. 173.194.0.0-173.194.255.255
  185. 216.58.192.0-216.58.223.255
  186. 74.125.0.0-74.125.255.255
  187. 2.16.4.0-2.16.4.255
  188. 74.125.136.0-74.125.136.255
  189. 173.194.65.0-173.194.65.255
  190. 23.235.43.0-23.235.43.255
  191. 194.68.165.0-194.68.165.255
RAW Paste Data