Skip to content

Instantly share code, notes, and snippets.

@Davoleo
Last active February 12, 2024 09:49
Show Gist options
  • Star 28 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save Davoleo/f754bc66c84696495c782442db44bf58 to your computer and use it in GitHub Desktop.
Save Davoleo/f754bc66c84696495c782442db44bf58 to your computer and use it in GitHub Desktop.
The hosts file entries to block Spotify audio ad servers. | v: 1.0.66.478.g1296534d
############## SPOTIFY - ADS - BEGIN
127.0.0.1 media-match.com
127.0.0.1 adclick.g.doublecklick.net
127.0.0.1 www.googleadservices.com
127.0.0.1 pagead2.googlesyndication.com
127.0.0.1 googleads.g.doubleclick.net
127.0.0.1 pubads.g.doubleclick.net
127.0.0.1 securepubads.g.doubleclick.net
127.0.0.1 www.omaze.com
127.0.0.1 omaze.com
127.0.0.1 bounceexchange.com
127.0.0.1 core.insightexpressai.com
127.0.0.1 content.bitsontherun.com
127.0.0.1 s0.2mdn.net
127.0.0.1 v.jwpcdn.com
127.0.0.1 d2gi7ultltnc2u.cloudfront.net
127.0.0.1 cs283.wpc.teliasoneracdn.net
127.0.0.1 cs126.wpc.teliasoneracdn.net
127.0.0.1 u.scdn.co
127.0.0.1 cs126.wpc.edgecastcdn.net
127.0.0.1 pagead46.l.doubleclick.net
127.0.0.1 pagead.l.doubleclick.net
127.0.0.1 video-ad-stats.googlesyndication.com
127.0.0.1 pagead-googlehosted.l.google.com
127.0.0.1 partnerad.l.doubleclick.net
127.0.0.1 prod.spotify.map.fastlylb.net
127.0.0.1 adserver.adtechus.com
127.0.0.1 na.gmtdmp.com
127.0.0.1 anycast.pixel.adsafeprotected.com
127.0.0.1 ads.pubmatic.com
127.0.0.1 idsync-ext.rlcdn.com
127.0.0.1 www.googletagservices.com
127.0.0.1 googlehosted.l.googleusercontent.com
127.0.0.1 d361oi6ppvq2ym.cloudfront.net
127.0.0.1 gads.pubmatic.com
127.0.0.1 ads-west-colo.adsymptotic.com
127.0.0.1 geo3.ggpht.com
127.0.0.1 showads33000.pubmatic.com
127.0.0.1 crashdump.spotify.com
127.0.0.1 adeventtracker.spotify.com
127.0.0.1 log.spotify.com
127.0.0.1 analytics.spotify.com
127.0.0.1 ads-fa.spotify.com
127.0.0.1 audio-ec.spotify.com
127.0.0.1 sto3.spotify.com
127.0.0.1 audio2.spotify.com
127.0.0.1 http://audio2.spotify.com
127.0.0.1 www.audio2.spotify.com
127.0.0.1 desktop.spotify.com
127.0.0.1 heads-ec.spotify.com
127.0.0.1 open.spotify.com
127.0.0.1 spclient.wg.spotify.com
##############BLOCK UPDATES
0.0.0.0 upgrade.spotify.com
0.0.0.0 www.spotify-desktop.com
0.0.0.0 sto3-accesspoint-a88.sto3.spotify.net
0.0.0.0 upgrade.scdn.co
0.0.0.0 beta.spotify.map.fastly.net
0.0.0.0 prod.spotify.map.fastlylb.net
############## SPOTIFY - ADS - END
@insoen
Copy link

insoen commented Mar 18, 2023

Spotify not work with this lines in your hosts:
127.0.0.1 open.spotify.com
127.0.0.1 spclient.wg.spotify.com

@An0n-00
Copy link

An0n-00 commented Feb 12, 2024

Spotify not work with this lines in your hosts: 127.0.0.1 open.spotify.com 127.0.0.1 spclient.wg.spotify.com

works for me 🙃 . however the web version isnt working

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