anudeepND / whitelist

A simple tool to add commonly white listed domains to your Pi-Hole setup.
MIT License
4.21k stars 281 forks source link

Missing domains found, but not added #266

Open Lonewolf147 opened 1 year ago

Lonewolf147 commented 1 year ago

Now that I finally got the script to run, it has found 69 missing domains but then reports that it did not add those. The first time I got this to run it found 200+ and added most of them, but not these. Any idea why it would ignore adding these?

[Hthe input device is not a TTY

This script will download and add domains from the repo to whitelist.
All the domains in this list are safe to add and does not contain any tracking or adserving domains.

[i] Pi-hole path exists
[i] Write access to ./mnt/user/appdata/pihole/pihole/ verified
[i] Pi-Hole Gravity database found
[i] 191 domains and 191 SQL queries discovered
[i] Connecting to Gravity.
[i] Successfully Connected to Gravity.
[i] Checking Gravity for domains added by script.
[i] 122 Domains from script in whitelist already.
[i] Checking Gravity for domains added by user that are also in script.
[i] Found 0 domains added by the user that would be added by script.
[i] Checking Gravity for domains previously added by script that are NOT in new script.
[i] Found 0 domain(s) added previously by script that are not in script.
[i] Checking script for domains not in Gravity.
[i] 69 domain(s) NOT in Gravity that are in new script.

- Adding android.clients.google.com
- Adding apps.skype.com
- Adding apt.sonarr.tv
- Adding c.s-microsoft.com
- Adding cdn.vidible.tv
- Adding clients2.google.com
- Adding clients3.google.com
- Adding clients4.google.com
- Adding cpms.spop10.ams.plex.bz
- Adding cpms35.spop10.ams.plex.bz
- Adding gfwsl.geforce.com
- Adding dashboard.plex.tv
- Adding delivery.vidible.tv
- Adding dev.virtualearth.net
- Adding displaycatalog.mp.microsoft.com
- Adding dl.delivery.mp.microsoft.com
- Adding dl.dropboxusercontent.com
- Adding download.sonarr.tv
- Adding ecn.dev.virtualearth.net
- Adding edge.api.brightcove.com
- Adding forums.sonarr.tv
- Adding g.live.com
- Adding geo-prod.do.dsp.mp.microsoft.com
- Adding gravatar.com
- Adding img.vidible.tv
- Adding login.live.com
- Adding login.microsoftonline.com
- Adding meta-db-worker02.pop.ric.plex.bz
- Adding meta.plex.bz
- Adding meta.plex.tv
- Adding msftncsi.com
- Adding nine.plugins.plexapp.com
- Adding node.plexapp.com
- Adding ns1.dropbox.com
- Adding ns2.dropbox.com
- Adding o1.email.plex.tv
- Adding o2.sg0.plex.tv
- Adding officeclient.microsoft.com
- Adding outlook.office365.com
- Adding placehold.it
- Adding placeholdit.imgix.net
- Adding pricelist.skype.com
- Adding products.office.com
- Adding proxy.plex.bz
- Adding proxy.plex.tv
- Adding proxy02.pop.ord.plex.bz
- Adding pubsub.plex.bz
- Adding pubsub.plex.tv
- Adding s.gateway.messenger.live.com
- Adding s.youtube.com
- Adding sa.symcb.com
- Adding services.sonarr.tv
- Adding skyhook.sonarr.tv
- Adding spclient.wg.spotify.com
- Adding staging.plex.tv
- Adding status.plex.tv
- Adding t0.ssl.ak.dynamic.tiles.virtualearth.net
- Adding t0.ssl.ak.tiles.virtualearth.net
- Adding themoviedb.com
- Adding thetvdb.com
- Adding tvdb2.plex.tv
- Adding tvthemes.plexapp.com
- Adding ui.skype.com
- Adding video-stats.l.google.com
- Adding videos.vidible.tv
- Adding www.msftncsi.com
- Adding connectivitycheck.gstatic.com
- Adding connectivitycheck.android.com
- Adding www.msftconnecttest.com

[i] Checking Gravity for newly added domains.

[i] All 69 new domain(s) have not been added to Gravity.
[i] There are a total of 274 domains in your whitelist (regex(0) & exact(274))
[i] The database connection is closed
[i] Restarting Pi-hole. This could take a few seconds

Done. Happy ad-blocking :)
defconxt commented 10 months ago

pro tip - use free chatgpt, copy all these lists in...ask it to append pihole -w, ssh in and copy and paste. done in 5 mins. I don't think this is maintained anymore.