Skip to content

Instantly share code, notes, and snippets.

@ahbanavi
Last active August 12, 2021 17:00
Show Gist options
  • Save ahbanavi/0561f0b198228ce8eacdfd6979a64241 to your computer and use it in GitHub Desktop.
Save ahbanavi/0561f0b198228ce8eacdfd6979a64241 to your computer and use it in GitHub Desktop.
Pi-hole Common Whitelist
#!/bin/bash
docker exec -it pihole pihole -w clients4.google.com clients2.google.com s.youtube.com video-stats.l.google.com \
android.clients.google.com reminders-pa.googleapis.com firestore.googleapis.com gstaticadssl.l.google.com \
googleapis.l.google.com dl.google.com redirector.gvt1.com www.msftncsi.com outlook.office365.com products.office.com \
c.s-microsoft.com i.s-microsoft.com login.live.com login.microsoftonline.com \
g.live.com dl.delivery.mp.microsoft.com geo-prod.do.dsp.mp.microsoft.com displaycatalog.mp.microsoft.com \
sls.update.microsoft.com.akadns.net fe3.delivery.dsp.mp.microsoft.com.nsatc.net tlu.dl.delivery.mp.microsoft.com \
msedge.api.cdp.microsoft.com clientconfig.passport.net v10.events.data.microsoft.com v20.events.data.microsoft.com \
client-s.gateway.messenger.live.com arc.msn.com activity.windows.com \
xbox.ipv6.microsoft.com device.auth.xboxlive.com www.msftncsi.com title.mgt.xboxlive.com xsts.auth.xboxlive.com \
title.auth.xboxlive.com ctldl.windowsupdate.com attestation.xboxlive.com xboxexperiencesprod.experimentation.xboxlive.com \
xflight.xboxlive.com cert.mgt.xboxlive.com xkms.xboxlive.com def-vef.xboxlive.com notify.xboxlive.com help.ui.xboxlive.com \
licensing.xboxlive.com eds.xboxlive.com www.xboxlive.com v10.vortex-win.data.microsoft.com settings-win.data.microsoft.com \
s.gateway.messenger.live.com client-s.gateway.messenger.live.com ui.skype.com pricelist.skype.com apps.skype.com m.hotmail.com \
sa.symcb.com s{1..5}.symcb.com officeclient.microsoft.com dev.virtualearth.net ecn.dev.virtualearth.net \
t0.ssl.ak.dynamic.tiles.virtualearth.net t0.ssl.ak.tiles.virtualearth.net itunes.apple.com s.mzstatic.com \
appleid.apple.com connectivitycheck.android.com android.clients.google.com clients3.google.com connectivitycheck.gstatic.com \
msftncsi.com www.msftncsi.com ipv6.msftncsi.com captive.apple.com gsp1.apple.com www.apple.com www.appleiphonecell.com \
gravatar.com thetvdb.com themoviedb.com chtbl.com services.sonarr.tv skyhook.sonarr.tv download.sonarr.tv apt.sonarr.tv \
forums.sonarr.tv dl.dropboxusercontent.com ns1.dropbox.com ns2.dropbox.com s.marketwatch.com gfwsl.geforce.com \
prod.telemetry.ros.rockstargames.com tracking.epicgames.com tracking-protection.cdn.mozilla.net \
telemetry-console.api.playstation.com wdcp.microsoft.com wdcpalt.microsoft.com tsfe.trafficshaping.dsp.mp.microsoft.com \
www.bit.ly bit.ly ow.ly tinyurl.com cdn.optimizely.com s.shopify.com
#!/bin/bash
pihole -w clients4.google.com clients2.google.com s.youtube.com video-stats.l.google.com \
android.clients.google.com reminders-pa.googleapis.com firestore.googleapis.com gstaticadssl.l.google.com \
googleapis.l.google.com dl.google.com redirector.gvt1.com www.msftncsi.com outlook.office365.com products.office.com \
c.s-microsoft.com i.s-microsoft.com login.live.com login.microsoftonline.com \
g.live.com dl.delivery.mp.microsoft.com geo-prod.do.dsp.mp.microsoft.com displaycatalog.mp.microsoft.com \
sls.update.microsoft.com.akadns.net fe3.delivery.dsp.mp.microsoft.com.nsatc.net tlu.dl.delivery.mp.microsoft.com \
msedge.api.cdp.microsoft.com clientconfig.passport.net v10.events.data.microsoft.com v20.events.data.microsoft.com \
client-s.gateway.messenger.live.com arc.msn.com activity.windows.com \
xbox.ipv6.microsoft.com device.auth.xboxlive.com www.msftncsi.com title.mgt.xboxlive.com xsts.auth.xboxlive.com \
title.auth.xboxlive.com ctldl.windowsupdate.com attestation.xboxlive.com xboxexperiencesprod.experimentation.xboxlive.com \
xflight.xboxlive.com cert.mgt.xboxlive.com xkms.xboxlive.com def-vef.xboxlive.com notify.xboxlive.com help.ui.xboxlive.com \
licensing.xboxlive.com eds.xboxlive.com www.xboxlive.com v10.vortex-win.data.microsoft.com settings-win.data.microsoft.com \
s.gateway.messenger.live.com client-s.gateway.messenger.live.com ui.skype.com pricelist.skype.com apps.skype.com m.hotmail.com \
sa.symcb.com s{1..5}.symcb.com officeclient.microsoft.com dev.virtualearth.net ecn.dev.virtualearth.net \
t0.ssl.ak.dynamic.tiles.virtualearth.net t0.ssl.ak.tiles.virtualearth.net itunes.apple.com s.mzstatic.com \
appleid.apple.com connectivitycheck.android.com android.clients.google.com clients3.google.com connectivitycheck.gstatic.com \
msftncsi.com www.msftncsi.com ipv6.msftncsi.com captive.apple.com gsp1.apple.com www.apple.com www.appleiphonecell.com \
gravatar.com thetvdb.com themoviedb.com chtbl.com services.sonarr.tv skyhook.sonarr.tv download.sonarr.tv apt.sonarr.tv \
forums.sonarr.tv dl.dropboxusercontent.com ns1.dropbox.com ns2.dropbox.com s.marketwatch.com gfwsl.geforce.com \
prod.telemetry.ros.rockstargames.com tracking.epicgames.com tracking-protection.cdn.mozilla.net \
telemetry-console.api.playstation.com wdcp.microsoft.com wdcpalt.microsoft.com tsfe.trafficshaping.dsp.mp.microsoft.com \
www.bit.ly bit.ly ow.ly tinyurl.com cdn.optimizely.com s.shopify.com
@ahbanavi
Copy link
Author

ahbanavi commented Aug 2, 2021

Pi-hole Common Whitelist based on this page except some of others section

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