How to add blocklists - V5 and later

Hi
I have installed PIHOLE 5

Now it is not possible to ADD MULTIBLE Blacklists over COPY and PASTE.
For Example the Firebog Lists

How is it possible to ADD MULTIBLE Lists in Pihole 5 ?

Thank you regdards

It is possible if you separate the lists with spaces.

Only spaces ?
ok i will try

Yes.
I just tried myself with

test.com test.org test.test and t worked.

I testet

<List of Lists that only mods can see now.>

i got the Message

pihole

Every LINE has a SPACE at the END

AAAHHHHHH the COMMAND

You have to leave empty the command field

No, you can add something in the comment filed - it will be the same comment for all domains added at once.

The warning says that you are trying to add at least one domain that is already added or your trying to add now. Look for duplicated lists.

Yes you are right

So i sorted by name

I can not find duplicated list entrys

Here the sorted list

<List of Lists that only mods can see now.>

Lets try this

regards

Maybe you have already some adlists configured and now one of those you try to add is a duplicate?


You could also try to add them in smaller chunks to see which one is the duplicate

List of configured adlists

= It is empty
I have completely deleted the list before the import.
There are no entries.

Each line has a space at the end.
No URL is double

Lets try this list

Source = https://firebog.net/

Hi i solved it

You have to put it in ONE LINE !!! (incl. spaces)

The LIST look like this

<List of Lists that only mods can see now.>

ONE LINE

Than it works - it is SOLVED for PHOLE 5

Command = pihole -g in SSH you can update the lists

or in web gui under TOOLS / UPDATE GRAVITY

Regards

The piHole can import lists with just
domain ?

Normaly the host list looks like
0.0.0.0 domain

Like the KADhosts_without_controversies.txt from https://firebog.net/ .

But what if there is another IP Address related to a domain and not 0.0.0.0, this cloud be harmful . Or is piHole replacing the IP anyway?

Yes. Pi-hole strips the leading IP, which is not required in the gravity list. Many lists are published with the leading IP 0.0.0.0 or 127.0.0.1 so the list can be used directly in the hosts file on an operating system, which does require an IP to domain name match on each line.

2 Likes

I tried the "TR-PhishingList" list, there where no errors on your pihole?

There are obviously umlaute Àâ ...
The new pi5 Version can not understand it, or the list is broken - wrong encoded?

  [i] Target: https://raw.githubusercontent.com/HorusTeknoloji/TR-PhishingList/master/url-lists.txt
  [βœ“] Status: Retrieval successful
  [i] Received 221316 domains, 19 domains invalid!
      Sample of invalid domains:
      - bitcoin-f%c3%bcr-anf%c3%a4nger.de
      - die-mobilit%c3%a4tsdesigner.de
      - e-%e2%80%8brech%c2%adt24.de
      - fpn81171321mp.hol.es?
      - gl%c3%bcckscard.at

I think this was not the case, as shown in the screen capture posted with the final result.

The new gravity import routine for Pi-hole V5 will skip domains that do not meet the HOSTS requirements, and will report how many domains were loaded. If all domains were not loaded, it will also report how many domains were not loaded.

The worst offender in the group that @stone1978 loaded was:

  [i] Target: https://www.joewein.net/dl/bl/dom-bl-base.txt
  [βœ“] Status: Retrieval successful
  [i] Received 71444 domains, 18010 domains invalid!
      Sample of invalid domains:
      - 0-as69vh7k2.biz;1
      - 001linker.net;1
      - 0034ufow.com;1
      - 00hotmlsecure.live;419
      - 01aj78cz5spx-9n3.com;1

Several of the other lists had a few domains rejected, but not near this many. I wouldn't subscribe to this list.

1 Like

The Adlist Group Management page will also accept entries separated by line breaks. If you go to the Wally3K ticked lists page, select all, copy to your clipboard, you should be able to paste the contents of the clipboard directly into the Address: window and hit Add.

I think the problem people are encountering is that the whole command seems to file when one of the X listes supplied is a duplicate.

Would be sensible to just ignore that one entry and add the rest, imho.

Feature requests are always welcomed.