Steam and Spotify connects to "clients.l.google.com" ( using 5 to 100 kb. It might be analytics.

I blocked google.com, www.google.com, clients.l.google.com via hosts file, somehow it doesn't block it.

How would I get rid of it with or without hosts file?

  • the windows firewall lets you block specific programs from accessing the internet or perhaps accessing specific IPs, so maybe consider that as one possible solution. – barlop Oct 15 '16 at 23:52
  • No I can't do it via windows firewall – namk Oct 16 '16 at 6:44
  • what do you mean you can't. It's not an option? It doesn't work? – barlop Oct 16 '16 at 11:11

There is a hosts file here, below that appears to completely block google. If you just use the analytics and doubleclick sections you should retain usability.

#Begin code block localhost

# ALWAYS make sure " localhost" is the first line in your /hosts file
# or your system or browser may malfunction!

# See https://en.wikipedia.org/wiki/Hosts_file to find the standard locations
# of the HOSTS file for your particular OS. In Linux (and probably BSD), it's
# usually under /etc/hosts

# Yes, I know there are some redundant entries in this block--you can grep it
# and remove them yourself if it really matters. I'm too lazy to do it myself.

# Redistribute and republish freely!

#first, let's redirect English google.com search to Startpage google.com       #} redirects to us2.startpage.com:443 www.google.com   #} is the IP address for the google.ca        #} Google frontend Startpage and automatically www.google.ca    #} switches to https (443), even if http (80) google.co.uk     #} is specified. SP is much more secure a www.google.co.uk #} search engine and far more privacy-friendly google.ie        #} than Google itself could ever hope to be. www.google.ie    #}

# ajax.googleapis.com #commented out for compatibility with sites that
# apis.google.com     #dependencies on them some reason or other

#Youtube youtube.com              #} you know the story www.youtube.com          #} i0.ytimg.com             #} mostly thumbnails, user pictures and i1.ytimg.com             #} other unnecessary graphic clutter. Feel i2.ytimg.com             #} free to leave blocked, as it also i3.ytimg.com             #} improves YT's loading time considerably i4.ytimg.com             #} i5.ytimg.com             #} s0.2mdn.net              #} comment out everything in this segment static.2mdn.net          #} from this point down if you need to use www.youtube-nocookie.com #} YT, since these next few servers are its youtube-nocookie.com     #} dependencies and can cause major youtube-noscript.com     #} functionality problems if blocked www.youtube-noscript.com #} s.ytimg.com              #} (s.ytimg.com is where the player is)

#various other G services - main pages accounts.google.com #} comment out if you need to use G-mail mail.google.com     #} gmail.com           #} www.gmail.com       #} sites.google.com code.google.com maps.google.com groups.google.com #} real Usenetters don't use Google Groups gg.google.com     #} plusone.google.com fusion.google.com plus.google.com goog.le youtu.be #youtu.be/AaBbCcDdEeFf is the same as youtube.com/watch?v=AaBbCcDdEeFf

#and here's where everything else originates. What a mess! domains.googlesyndication.com video-stats.video.google.com 4.afs.googleadservices.com pagead2.googleadservices.com partner.googleadservices.com www.googleadservices.com apps5.oingo.com www.appliedsemantics.com service.urchin.com pagead2.googlesyndication.com googlesyndication.com ads.googlesyndication.com www.googlesyndication.com adwords.google.com googleanalytics.com ssl.googleanalytics.com www.googleanalytics.com google-analytics.com .google-analytics.com ssl.google-analytics.com www.google-analytics.com www.googletagservices.com ssl.googletagservices.com .googletagservices.com googletagservices.com www.gstatic.com csi.gstatic.com doubleclick.com .doubleclick.com gan.doubleclick.net doubleclick.net .doubleclick.net ad.doubleclick.net ad-g.doubleclick.net googleads.g.doubleclick.net ad.ie.doubleclick.net static.doubleclick.net partner.googleadservices.com ssl.gstatic.com clients.google.com clients1.google.com clients2.google.com clients3.google.com clients4.google.com clients5.google.com clients6.google.com clients7.google.com clients8.google.com clients9.google.com clients0.google.com sassets.vevo.com   #} some Youtube-related ad servers 2975c.v.fwmrm.net  #} m.v.fwmrm.net      #} .fwmrm.net         #} ytimg.googleusercontent.com # needless Youtube-related graphic clutter html5shiv.googlecode.com b3.caspio.com ajax.microsoft.com buttons.googlesyndication.com googleusercontent.com lh0.googleusercontent.com lh1.googleusercontent.com lh2.googleusercontent.com lh3.googleusercontent.com lh4.googleusercontent.com lh5.googleusercontent.com lh6.googleusercontent.com lh7.googleusercontent.com lh8.googleusercontent.com lh9.googleusercontent.com s.googleusercontent.com s0.googleusercontent.com s1.googleusercontent.com s2.googleusercontent.com s3.googleusercontent.com s4.googleusercontent.com s5.googleusercontent.com s6.googleusercontent.com s7.googleusercontent.com s8.googleusercontent.com s9.googleusercontent.com chrome.google.com fonts.googleapis.com checkout.google.com .ggpht.com lh1.ggpht.com lh2.ggpht.com lh3.ggpht.com lh4.ggpht.com lh5.ggpht.com lh6.ggpht.com fonts.googleapis.com gp1.googleusercontent.com gp2.googleusercontent.com gp3.googleusercontent.com gp4.googleusercontent.com gp5.googleusercontent.com gp6.googleusercontent.com gp7.googleusercontent.com chart.apis.google.com

#crap from Doubleclick - mostly ad/spyware servers conversion-pixel.invitemedia.com analytics-api-samples.googlecode.com m1.2mdn.net rmcdn.2mdn.net rmcdn.f.2mdn.net n339.asp-cc.com ads.cc-dt.com clickserve.cc-dt.com creative.cc-dt.com clickserve.dartsearch.net clickserve.eu.dartsearch.net clickserve.uk.dartsearch.net doubleclick.net ad.doubleclick.net ad-g.doubleclick.net ad2.doubleclick.net ad.ae.doubleclick.net ad.ar.doubleclick.net ad.at.doubleclick.net ad.au.doubleclick.net ad.be.doubleclick.net ad.br.doubleclick.net ad.ca.doubleclick.net ad.ch.doubleclick.net ad.cl.doubleclick.net ad.cn.doubleclick.net ad.de.doubleclick.net ad.dk.doubleclick.net ad.es.doubleclick.net ad.fi.doubleclick.net ad.fr.doubleclick.net ad.gr.doubleclick.net ad.hk.doubleclick.net ad.hr.doubleclick.net ad.hu.doubleclick.net ad.ie.doubleclick.net ad.in.doubleclick.net ad.jp.doubleclick.net ad.kr.doubleclick.net ad.it.doubleclick.net ad.nl.doubleclick.net ad.no.doubleclick.net ad.nz.doubleclick.net ad.pl.doubleclick.net ad.pt.doubleclick.net ad.ro.doubleclick.net ad.ru.doubleclick.net ad.se.doubleclick.net ad.sg.doubleclick.net ad.si.doubleclick.net ad.terra.doubleclick.net ad.th.doubleclick.net ad.tw.doubleclick.net ad.uk.doubleclick.net ad.us.doubleclick.net ad.za.doubleclick.net ad.n2434.doubleclick.net ad-emea.doubleclick.net creatives.doubleclick.net dfp.doubleclick.net feedads.g.doubleclick.net fls.doubleclick.net fls.uk.doubleclick.net googleads.g.doubleclick.net ir.doubleclick.net iv.doubleclick.net m.doubleclick.net motifcdn.doubleclick.net motifcdn2.doubleclick.net n4052ad.doubleclick.net n4403ad.doubleclick.net n479ad.doubleclick.net paypalssl.doubleclick.net pubads.g.doubleclick.net s2.video.doubleclick.net survey.g.doubleclick.net anon.doubleclick.speedera.net #not sure if this is an actual DC server or not, but here it is doubleclick.ne.jp www3.doubleclick.net www.doubleclick.net doubleclick.com www2.doubleclick.com www3.doubleclick.com www.doubleclick.com tpc.googlesyndication.com ad.rs.doubleclick.net affiliate.2mdn.net clickserve.us2.dartsearch.net ad-apac.doubleclick.net ad.mo.doubleclick.net adclick.g.doubleclick.net gan.doubleclick.net googleads2.g.doubleclick.net n4061ad.hk.doubleclick.net securepubads.g.doubleclick.net ad.bg.doubleclick.net cm.g.doubleclick.net stats.g.doubleclick.net fls.au.doubleclick.net log2.quintelligence.com www.destinationurl.com doubleclick.shockwave.com www3.webhostingtalk.com ad.mirror.co.uk host3.adhese.be mcmads.mediacapital.pt
#End code block

Source: http://forums.radioreference.com/computer/269946-block-google-f-book-crap-using-your-hosts-file.html

| improve this answer | |
  • Although your answer is 100% correct, it might also become 100% useless if that link is moved, changed, merged into another one or the main site just disappears... :-( Therefore, please edit your answer, and copy the relevant steps from the link into your answer, thereby guaranteeing your answer for 100% of the lifetime of this site! ;-) You can always leave the link in at the bottom of your answer as a source for your material... – Donald Duck Mar 12 '17 at 10:11
  • 2
    I've edited the answer and inserted the contents of the HOSTS file from the target link – user477799 Mar 12 '17 at 11:07
  • you Sir are a Hero. for the Ages! – Randy L Jul 19 '18 at 0:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.