Giter VIP home page Giter VIP logo

Comments (7)

yubiuser avatar yubiuser commented on July 22, 2024

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.

oywino avatar oywino commented on July 22, 2024

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.

yubiuser avatar yubiuser commented on July 22, 2024

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.

oywino avatar oywino commented on July 22, 2024

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.

yubiuser avatar yubiuser commented on July 22, 2024

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.

yubiuser avatar yubiuser commented on July 22, 2024

Closing due to inactivity.

from pihole_adlist_tool.

gosnil avatar gosnil commented on July 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.