How do i enable or disable multiple adlists at once?

The issue I am facing:
I want to use a multi selection to enable /disable blocklists
So far there is only one trash can icon to delete them. Is there an easier way than doing it one by one?

Details about my system:
irrelevant

What I have changed since installing Pi-hole:
added new lists

Like this?

pihole-multi-delete-adlists

You would like to have an enable/disable button next to that trashcan?

Can you go into more detail about what you wish to achieve? There may be a simpler way. For example if you want to enable or disable the blocking effect for several adlists all at once you can achieve similar with groups.

Groups
Default - The default group
Group1 - Group to mass enable/disable

Adlists
List 1 --> Default
List 2 --> Default
List 3 --> Default
List 4 --> Group1
List 5 --> Group1
List 6 --> Group1

Clients
Put these in both groups

Now to enable or disable the blocking effect of Lists 4, 5 and 6 in one go, simply go into Groups and enable or disable Group1 as needed.

1 Like

A friend of mine wanted to migrate to pihole in steps.
So i made her a copy of my settings.
Before we check out what filters and whitelist&blacklist entries she needs, we want to do just statistics first without disrupting the normal behaviour of the devices.
It is a bit tedious to disable and enable things one by one so i was thinking about having a "disable/enable" method exactly like the "delete all selected" that Bucking_Horn showed above.
Start with "all disabled" and work our way up depending on the needs.

Grouping Lists wasn't on my radar at all.

I see, it's good to have taken a thoughful approach to getting her up and running. When you say migrate, are you coming from some other product to Pi-hole or are you just referring to starting to use Pi-hole for the first time?

It can be tricky to know what needs white/blacklisting until you hit it in real use. In this situation it would probably be best to get the Pi-hole up and running and stick with the single default adlist, at least initially. If there is a need to be more specific, eg blocking Facebook, there are lists out there that can be added for those purposes. Tweak the whitelisting and blacklisting as needed over time.

I agree you probably don't need groups for this approach, but if you do want to get fancy with enabling and disabling multiple lists and rules for different clients, that's what groups are for.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.