EIgene Adliste erstellen, hosten und im Pi importieren lassen

You don't need the numbers. Pi-Hole strips them from the file anyway, and gravity contains domains only.

1 Like

@jfb
thank you for the info, because i have a problem with some lists, i cant update it in all these lists there are the numbers

i get:
Status: connection refused
list download failed: no cached list available

do you know why?

Please generate a Pi-Hole debug log, upload it when prompted and post the token here. I'll take a look at your configuration, and particularly at your blocklists.

1 Like

thank you very much! The token is: 65f5rmj46c

i think i saw a problem with this: [i] Default IPv4 gateway: 192.168.2.1

I think that is the problem - your defined gateway is on entirely different range.

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
   192.168.178.199/24 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)

i] Default IPv4 gateway: 192.168.2.1
   * Pinging 192.168.2.1...
[✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] www.prjcode.com is 0.0.0.0 via localhost (127.0.0.1)
[✓] www.prjcode.com is 0.0.0.0 via Pi-hole (192.168.178.199)
[✗] Failed to resolve doubleclick.com via a remote, public DNS server (8.8.8.8)


*** [ DIAGNOSING ]: Setup variables
    PIHOLE_INTERFACE=eth0
    IPV4_ADDRESS=192.168.178.199

pihole -r and select "reconfigure"

1 Like

@jfb
Thank you, I tried to reconfig it, and changed the wrong IP address to the right one (192.168.178.1) than I restarted the Pi.

I tried to update the lists, but same problem. Generated a new debug log and saw the same Problem:

I dont know why, because i changed it :frowning:

Edit /etc/dhcpcd.conf and fix the entry there as required. Then restart the Pi.

1 Like

@jfb thank you very much, now it works!

Little question, i have 3 similar entrys is this right? The first one was the wrong entry

interface eth0
        static ip_address=**192.168.178.199/24**
**        static routers=192.168.178.1**
        static domain_name_servers=127.0.0.1
interface eth0
        static ip_address=192.168.178.199
        static routers=192.168.178.1
        static domain_name_servers=127.0.0.1
interface eth0
        static ip_address=192.168.178.199/24
        static routers=192.168.178.1
        static domain_name_servers=127.0.0.1

You only need one entry for the interface. Delete two of them and make sure the remaining one is correct. The last one looks correct, with the /24 subnet and the correct router and DNS servers. I would delete the first two.

1 Like

Ich habe das genau so gemacht, leider bekomme ich die Meldung:

Status: Not found/empty list
List download failed: no cached list available

die File liegt im file://home/pi/blocklist-1
das habe ich genau so im PiHole unter Groupmanagement/Adlist eingetragen

Es gibt einen kleinen Unterschied: es müssen 3x / sein

file:///home/pi/blocklist-1

Ich Schaf. Danke dir :slightly_smiling_face:

Hi habe wie folgt erstell und eingetragen /home/pi/mail.txt
in /etc/pihole/adlists.list
file:///home/pi/mail.txt

Meine Frage. Habe meine Liste im Pi-Hole gesucht aber nicht gefunden.
Wird sie nicht angezeigt?

Gruß Freeage

Hallo zusammen,
ist es irgendwie möglich eine liste von extern auszulesen und intern zu speichern damit man dann die interne liste einfügen kann?

Grüße KaMi

Hallo freeage,
eigentlich sollte die liste in "/home/pi/" angezeigt werde.

Gruß

Diese Liste wird schon seit >1 Jahr nicht mehr von Pi-hole verwendet. Stattdessen werden alle Adlisten über die Datenbank gravity.db verwaltet. Am einfachsten ist es, du fügst

file:///home/pi/mail.txt

über das Webinterface als Adliste hinzu.

1 Like

Was meinst du mit "extern auslesen" und "intern speichern"

Beispiel:
Von www.hieristeineliste.com auslesen und dann in www.meineliste.de/listeneu.txt schreiben. Damit ich dann meine Liste hinzufügen kann

Du kannst die Liste doch einfach lokal speichern und dann einbinden.

Aber warum willst du das machen?