From f0d532fd39d3394eca054ee1e3200e369c23cbac Mon Sep 17 00:00:00 2001 From: DasMoorhuhn Date: Fri, 28 Aug 2026 15:52:32 +0200 Subject: [PATCH] add collection --- README.md | 3 + generate_collections.py | 47 ++++++ lists/0_collection_allowed_domains.txt | 181 ++++++++++++++++++++++ lists/0_collection_disallowed_domains.txt | 9 ++ 4 files changed, 240 insertions(+) create mode 100644 generate_collections.py create mode 100644 lists/0_collection_allowed_domains.txt create mode 100644 lists/0_collection_disallowed_domains.txt diff --git a/README.md b/README.md index bf87946..94329a1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # PiHole +- [Collection of all allowed domains](https://gitlab.com/DasMoorhuhn/pihole/-/raw/main/lists/0_collection_allowed_domains.txt) +- [Collection of all disallowed domains](https://gitlab.com/DasMoorhuhn/pihole/-/raw/main/lists/0_collection_disallowed_domains.txt) + ## Services Allowed Lists - [Commerzbank](https://gitlab.com/DasMoorhuhn/pihole/-/raw/main/lists/commerzbank_allowed_domains.txt) diff --git a/generate_collections.py b/generate_collections.py new file mode 100644 index 0000000..02d416a --- /dev/null +++ b/generate_collections.py @@ -0,0 +1,47 @@ +import os + +files = os.listdir("./lists") +files = [f for f in files if f.endswith(".txt") and not f.startswith("0_collection_") and not "template" in f] +allows = [f for f in files if "_allowed" in f] +disallows = [f for f in files if "_disallowed" in f] + +allow_lines = [] +disallow_lines = [] + +for f in allows: + with open(f"./lists/{f}", mode="r", encoding="utf-8") as file: content = file.readlines() + allow_lines.extend([l.strip() for l in content if l.startswith("0.0.0.0 ")]) + +for f in disallows: + with open(f"./lists/{f}", mode="r", encoding="utf-8") as file: content = file.readlines() + disallow_lines.extend([l.strip() for l in content if l.startswith("0.0.0.0 ")]) + +allow_lines = sorted(set(allow_lines)) +disallow_lines = sorted(set(disallow_lines)) +allow_count = len(allow_lines) +disallow_cont = len(disallow_lines) +print(f"Allows: {allow_count}\nDisallows: {disallow_cont}") + +allow_header = f"""# Title: Collection of all allowed domains from https://gitlab.com/DasMoorhuhn/pihole +# Description: ... +# Syntax: Hosts (including possible subdomains) +# Number of entries: {allow_count} +# ALLOW +# +""" + +disallow_header = f"""# Title: Collection of all disallowed domains from https://gitlab.com/DasMoorhuhn/pihole +# Description: ... +# Syntax: Hosts (including possible subdomains) +# Number of entries: {disallow_cont} +# DISALLOW +# +""" + +allow_final = allow_header + "\n".join(allow_lines) +disallow_final = disallow_header + "\n".join(disallow_lines) + +with open(file="./lists/0_collection_allowed_domains.txt", mode="w", encoding="utf-8") as file: file.write(allow_final) +with open(file="./lists/0_collection_disallowed_domains.txt", mode="w", encoding="utf-8") as file: file.write(disallow_final) + +print("Done") diff --git a/lists/0_collection_allowed_domains.txt b/lists/0_collection_allowed_domains.txt new file mode 100644 index 0000000..c4e2f09 --- /dev/null +++ b/lists/0_collection_allowed_domains.txt @@ -0,0 +1,181 @@ +# Title: Collection of all allowed domains from https://gitlab.com/DasMoorhuhn/pihole +# Description: ... +# Syntax: Hosts (including possible subdomains) +# Number of entries: 175 +# ALLOW +# +0.0.0.0 account-api.proton.me +0.0.0.0 account-public-service-prod03.ol.epicgames.com +0.0.0.0 account.proton.me +0.0.0.0 accounts.ebay.com +0.0.0.0 accounts.ebay.de +0.0.0.0 accounts.youtube.com +0.0.0.0 accountsettings.ebay.com +0.0.0.0 accountsettings.ebay.de +0.0.0.0 ap.item.exchange +0.0.0.0 api-m.paypal.com +0.0.0.0 api.epicgames.dev +0.0.0.0 api.kleinanzeigen.de +0.0.0.0 api.kws.ol.epicgames.com +0.0.0.0 api.nebenan.de +0.0.0.0 api.protonmail.ch +0.0.0.0 api.signalstickers.org +0.0.0.0 api.steampowered.com +0.0.0.0 apisd.ebay.com +0.0.0.0 app.commerzbank.de +0.0.0.0 avatars.steamstatic.com +0.0.0.0 c.paypal.com +0.0.0.0 cache1-fra1.steamcontent.com +0.0.0.0 cache1-fra2.steamcontent.com +0.0.0.0 cache10-fra1.steamcontent.com +0.0.0.0 cache10-fra2.steamcontent.com +0.0.0.0 cache11-fra1.steamcontent.com +0.0.0.0 cache11-fra2.steamcontent.com +0.0.0.0 cache12-fra1.steamcontent.com +0.0.0.0 cache12-fra2.steamcontent.com +0.0.0.0 cache13-fra1.steamcontent.com +0.0.0.0 cache13-fra2.steamcontent.com +0.0.0.0 cache14-fra1.steamcontent.com +0.0.0.0 cache14-fra2.steamcontent.com +0.0.0.0 cache15-fra1.steamcontent.com +0.0.0.0 cache15-fra2.steamcontent.com +0.0.0.0 cache2-fra1.steamcontent.com +0.0.0.0 cache2-fra2.steamcontent.com +0.0.0.0 cache3-fra1.steamcontent.com +0.0.0.0 cache3-fra2.steamcontent.com +0.0.0.0 cache4-fra1.steamcontent.com +0.0.0.0 cache4-fra2.steamcontent.com +0.0.0.0 cache5-fra1.steamcontent.com +0.0.0.0 cache5-fra2.steamcontent.com +0.0.0.0 cache6-fra1.steamcontent.com +0.0.0.0 cache6-fra2.steamcontent.com +0.0.0.0 cache7-fra1.steamcontent.com +0.0.0.0 cache7-fra2.steamcontent.com +0.0.0.0 cache8-fra1.steamcontent.com +0.0.0.0 cache8-fra2.steamcontent.com +0.0.0.0 cache9-fra1.steamcontent.com +0.0.0.0 cache9-fra2.steamcontent.com +0.0.0.0 catalog-public-service-prod.ak.epicgames.com +0.0.0.0 cdn-ca.signal.org +0.0.0.0 cdn.fastly.steamstatic.com +0.0.0.0 cdn.signal.org +0.0.0.0 cdn.steamstatic.com +0.0.0.0 cdn1.epicgames.com +0.0.0.0 cdn2.epicgames.com +0.0.0.0 cdn2.signal.org +0.0.0.0 cdn3.signal.org +0.0.0.0 cdsi.signal.org +0.0.0.0 chat.signal.org +0.0.0.0 checkout.ebay.com +0.0.0.0 checkout.ebay.de +0.0.0.0 clan.fastly.steamstatic.com +0.0.0.0 clan.steamstatic.com +0.0.0.0 clientconfig.akamai.steamstatic.com +0.0.0.0 cloudflare.epicgamescdn.com +0.0.0.0 cmp1-ams1.steamserver.net +0.0.0.0 cmp2-ams1.steamserver.net +0.0.0.0 cmp2-fra1.steamserver.net +0.0.0.0 cmp2-fra2.steamserver.net +0.0.0.0 community.fastly.steamstatic.com +0.0.0.0 connect.cdn.ubisoft.com +0.0.0.0 connect.epicgames.dev +0.0.0.0 connect.ol.epicgames.com +0.0.0.0 connect.ubisoft.com +0.0.0.0 core.trackmania.nadeo.live +0.0.0.0 download.epicgames.com +0.0.0.0 ebay.com +0.0.0.0 ebay.de +0.0.0.0 embark.games +0.0.0.0 entitlement-public-service-prod08.ol.epicgames.com +0.0.0.0 execution.ci360.tpp.commerzbank.de +0.0.0.0 experimentation-apex.data.ea.com +0.0.0.0 fastly-download.epicgames.com +0.0.0.0 fastpatch-general.r5prod.stryder.respawn.com +0.0.0.0 fastpatch-rules.r5prod.stryder.respawn.com +0.0.0.0 gateway.kleinanzeigen.de +0.0.0.0 gb.nebenan.de +0.0.0.0 grpc.chat.signal.org +0.0.0.0 i.ebayimg.com +0.0.0.0 id.embark.games +0.0.0.0 images.steamusercontent.com +0.0.0.0 img.kleinanzeigen.de +0.0.0.0 img.nebenan.de +0.0.0.0 ir.ebaystatic.com +0.0.0.0 item.exchange +0.0.0.0 itm.ebaydesc.com +0.0.0.0 kleinanzeigen.de +0.0.0.0 lancache.steamcontent.com +0.0.0.0 launcher.store.epicgames.com +0.0.0.0 library-service.live.use1a.on.epicgames.com +0.0.0.0 live-services.trackmania.nadeo.live +0.0.0.0 login.kleinanzeigen.de +0.0.0.0 mail-api.proton.me +0.0.0.0 mail.proton.me +0.0.0.0 media-cdn.epicgames.com +0.0.0.0 meet.trackmania.nadeo.club +0.0.0.0 merchantpool1.epicgames.com +0.0.0.0 mobifts.ebay.com +0.0.0.0 modules-cdn.eac-prod.on.epicgames.com +0.0.0.0 nadeo-download.cdn.ubi.com +0.0.0.0 nebenan.de +0.0.0.0 nelly-service-prod-cloudflare.ecosec.on.epicgames.com +0.0.0.0 nelly-service-prod-fastly.ecosec.on.epicgames.com +0.0.0.0 nelly-service-prod.ecbc.live.use1a.on.epicgames.com +0.0.0.0 openplanet.dev +0.0.0.0 orderprocessor-public-service-ecomprod01.ol.epicgames.com +0.0.0.0 p2p-fra1.discovery.steamserver.net +0.0.0.0 p2p-fra2.discovery.steamserver.net +0.0.0.0 pages.ebay.com +0.0.0.0 paypal.com +0.0.0.0 pics.paypal.com +0.0.0.0 prod.trackmania.core.nadeo.online +0.0.0.0 public-ubiservices.ubi.com +0.0.0.0 public-ws-ubiservices.ubi.com +0.0.0.0 r5-assets.stryder.respawn.com +0.0.0.0 r5-crossplay-sub-6.r5prod.stryder.respawn.com +0.0.0.0 r5-crossplay.r5prod.stryder.respawn.com +0.0.0.0 returnyoutubedislikeapi.com +0.0.0.0 s.youtube.com +0.0.0.0 sfu.voip.signal.org +0.0.0.0 shared-static-prod.epicgames.com +0.0.0.0 shared.fastly.steamstatic.com +0.0.0.0 shared.steamstatic.com +0.0.0.0 signal.art +0.0.0.0 signal.org +0.0.0.0 signalstickers.org +0.0.0.0 signin.ebay.com +0.0.0.0 signin.ebay.de +0.0.0.0 social-overlay-launchdarkly-api-prod.ol.epicgames.com +0.0.0.0 sofe.ebay.de +0.0.0.0 sp.nebenan.de +0.0.0.0 static.nebenan.de +0.0.0.0 steam-chat.com +0.0.0.0 steamcloud-dub.s3.dualstack.eu-west-1.amazonaws.com +0.0.0.0 steamcloud-eu-ams.storage.googleapis.com +0.0.0.0 steamcloudams2.blob.core.windows.net +0.0.0.0 steamcommunity-a.akamaihd.net +0.0.0.0 steamcommunity.com +0.0.0.0 storage.signal.org +0.0.0.0 store-content-ipv4.ak.epicgames.com +0.0.0.0 store.fastly.steamstatic.com +0.0.0.0 store.steampowered.com +0.0.0.0 talon-website-prod.ecosec.on.epicgames.com +0.0.0.0 test.steampowered.com +0.0.0.0 trackmania-prod-media-s3.cdn.ubi.com +0.0.0.0 trackmania-prod-storage-map-thumbnail-s3.cdn.ubi.com +0.0.0.0 trackmania-prod-storage-skin-s3.cdn.ubi.com +0.0.0.0 trackmania-status.cdn.ubi.com +0.0.0.0 trackmania.exchange +0.0.0.0 updates.signal.org +0.0.0.0 updates2.signal.org +0.0.0.0 video.fastly.steamstatic.com +0.0.0.0 wiki.trackmania.io +0.0.0.0 www.commerzbank.de +0.0.0.0 www.ebay.com +0.0.0.0 www.ebay.de +0.0.0.0 www.epicgames.com +0.0.0.0 www.paypal.com +0.0.0.0 www.paypalobjects.com +0.0.0.0 www.trackmania.com +0.0.0.0 www.youtube.com +0.0.0.0 youtubei.googleapis.com \ No newline at end of file diff --git a/lists/0_collection_disallowed_domains.txt b/lists/0_collection_disallowed_domains.txt new file mode 100644 index 0000000..1a3087c --- /dev/null +++ b/lists/0_collection_disallowed_domains.txt @@ -0,0 +1,9 @@ +# Title: Collection of all disallowed domains from https://gitlab.com/DasMoorhuhn/pihole +# Description: ... +# Syntax: Hosts (including possible subdomains) +# Number of entries: 3 +# DISALLOW +# +0.0.0.0 ebaylive.queue-it.net +0.0.0.0 liveweb.ebay.com +0.0.0.0 liveweb.ebay.de \ No newline at end of file