Comments (7)
You download the tool, either via git clone
or link.
Make the script executable chmod +x ./pihole_adlist_tool
and run it with ./pihole_adlist_tool
from pihole_adlist_tool.
It works, but I got a number of messages like this, sometimes up to 8 identical lines consecutively :
sudo: unable to resolve host <lxc_container_name>
(I put <lxc_container_name> above instead of the real name of my container)
Does this indicate that parts of the script failed to execute due to lack of required privileges?
from pihole_adlist_tool.
Are you running pihole within a container?
I have a bare metal pihole installation and the tool was designed for that. I don't know if it works with containers.
The script does only need sudo
for writing to the pihole database, not to resolve any hostnames. Unless you choose to "enable all adlists" then a normal run of pihole gravity is performed. If that fails with the message above, you have network/DNS problem which is outside of the script.
from pihole_adlist_tool.
Yes, I'm running Pi-Hole in an LXC container.
I have it set up using a static IP address and my DHCP server is configured to supply this IP as DNS to all clients.
It worked very well initially ( for a couple of years), but lately I experience that an increasing number of ads manages somehow to bypass Pi-Hole, even though I have increased the gravity DB with almost anything I could find of publicly available lists.
It seems this is a loosing battle where the core Pi-Hole technology (methodology) comes out short in the end.
Am I right?
from pihole_adlist_tool.
There should be no apparent increase in ads if you haven't change your browsing habits. Most often it is due to DoH or IPv6, circumventing pihole. Please open an issue on https://discourse.pi-hole.net/ for that type of questions.
from pihole_adlist_tool.
Closing due to inactivity.
from pihole_adlist_tool.
Using docker and Portainer:
copy pihole_adlist_tool from lockal disk to container see: https://www.geeksforgeeks.org/copying-files-to-and-from-docker-containers
In portainer access pihole/Console
Run bash pihole_adlist_tool
Thats worked for me!
from pihole_adlist_tool.
Related Issues (20)
- Regex analysis not supported on docker HOT 2
- Receiving an error "database disk image is malformed" HOT 1
- Starting with version 2.4.0, you get multiple 'environment: line 5: docker: command not found' messages HOT 3
- "SUDO_SQLITE: command not found" HOT 3
- Does regex checking account for Filter Lists? HOT 2
- Regex Mode does not work in docker HOT 2
- Wrong detection of PIHOLE_DOCKER?! HOT 8
- Shellcheck is complaining a lot about pihole_adlist_tool HOT 1
- Installation HOT 3
- Question HOT 3
- Can't read /etc/pihole/pihole-FTL.db HOT 5
- Running tool outside the Docker-container throws some errors HOT 7
- Error: stepping, database is locked HOT 1
- Possibility to Deactivate redundant Blocklists HOT 7
- Add assigned group(s) for adlist in result HOT 3
- Instructions HOT 2
- Parse error near line 14: no such column: additional_info HOT 12
- ABP style adlists HOT 4
- Please add a licence HOT 1
- List the domains which generated a hit HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pihole_adlist_tool.