# Features white/black/block-lists

**URL:** <https://discourse.pi-hole.net/t/features-white-black-block-lists/9852>\
**Category:** Closed or Out Of Scope\
**Created:** [May 25, 2018, 7:53pm UTC](https://discourse.pi-hole.net/t/features-white-black-block-lists/9852 "2018-05-25T19:53:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MJMW](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/m/c37758/32.png) [@MJMW](https://discourse.pi-hole.net/u/MJMW)\
**Post date:** [May 25, 2018, 7:53pm UTC](https://discourse.pi-hole.net/t/features-white-black-block-lists/9852/1 "2018-05-25T19:53:49Z")

</div>

hi there,  
as i use pihole now for some months and i am happy with it,  
i would like to bring in ideas for my better usage..

a) a possibility to save / export the "list of blocklists"  
my list of all imported blocklists wants to be saved somewhere.

b) a possibility to have smthng like the blocklists, but for white-listing  
as you can import additional blocklists to the standard-implemented, why isnt there any option to do the same with a / many whitelists ?  
and maybe an option to save my "list of imported whitelists"..  
those lists would not need any standard-installed lists (like the blocklists) - but you could then export those standard-whitelisted entries to a single standard-whitelist.. as there are entries in the whitelist..

c) an option to save the logs in RAM instead on SD-Card..  
yes, any reboot may kill the logs, but the sd-card usage would go down massively for anyone not needing all the logs saved or is only live-logging..

d)  
that may/is not be a feature-request,  
i need to find a solution for sd-card-backup that does not need to remove my sd-card (i expect at least stopping of several services during the backup)  
i can provide a drive of my PC (winX) or my NAS (synology) but have not found any good idea yet..

---

<div class="post-metadata">

**Author:** ![RamSet](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/ramset/32/3497_2.png) [@RamSet](https://discourse.pi-hole.net/u/RamSet)\
**Post date:** [May 25, 2018, 8:39pm UTC](https://discourse.pi-hole.net/t/features-white-black-block-lists/9852/2 "2018-05-25T20:39:28Z")

</div>

> [@MJMW](#):
>
> a) a possibility to save / export the “list of blocklists”

Your current list of "blocklists" is located at: `/etc/pihole/adlists.list`  
You can save this file and restore it when needed. after that you'd have to run a `pihole -g` to update local list.

> [@MJMW](#):
>
> b) a possibility to have smthng like the blocklists, but for white-listening

Both whitelist and blacklist "lists" are located under `/etc/pihole/whitelist.txt` and `/etc/pihole/blacklist.txt`  
If you're missing the files, that means that no whitelist or blacklist entries have been saved.

> [@MJMW](#):
>
> c) an option to save the logs in RAM instead on SD-Card…  
> yes, any reboot may kill the logs, but the sd-card usage would go down massively for anyone not needing all the logs saved or is only live-logging…

The newest version (in the works - [currently in Beta](https://discourse.pi-hole.net/t/help-us-beta-test-ftldns/8224) ) of Pi-hole addresses that problem.  
You can read this guide too on how to move the log file destination:

> [@Moving the Pi-hole log to another location/device](https://discourse.pi-hole.net/t/moving-the-pi-hole-log-to-another-location-device/2041):
>
> I will describe in this FAQ how to use the powerful symbolic links Linux offer to move the Pi-hole log to any destination. It does not matter if the location is local as in another folder a plugged in USB stick / USB hard drive or if it is a distant device like a server that is connected via sshfs as long as the directory is available (mounted) within the local file system. Note that this will (by intention) render the log flushing Pi-hole installs useless, since it is unlikely that you wil…

> [@MJMW](#):
>
> d)  
> that may/is not be a feature-request,  
> i need to find a solution for sd-card-backup

Due to the nature of file system access required for this type of operation, you'd have to remove the SD card and backup it in another device.

I recommended reading this article:

> **[Backing up and Restoring your Raspberry Pi's SD Card](https://thepihut.com/blogs/raspberry-pi-tutorials/17789160-backing-up-and-restoring-your-raspberry-pis-sd-card)**
>
> As with all computers, it is a good idea to back up your Raspberry Pi's SD (or microSD) card from time to time; I'm just going to call them 'SD cards' from here on.  This is especially true when you first get a pre-installed card from a...

---

<div class="post-metadata">

**Author:** ![MJMW](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/m/c37758/32.png) [@MJMW](https://discourse.pi-hole.net/u/MJMW)\
**Post date:** [May 26, 2018, 8:46am UTC](https://discourse.pi-hole.net/t/features-white-black-block-lists/9852/3 "2018-05-26T08:46:53Z")

</div>

thnx for & according to your answer:

a) compared to how a external blocklist is imported, that way is more complicated and not possible over web-ui.

b) i talk about a possibility for white-lists like blOcklists, your answer is about blAcklists and whitelists..  
so where can i import some external whitelists from internet (if there were some / selfmade) ?

c) & d) thnx for the links.

---

<div class="post-metadata">

**Author:** ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)\
**Post date:** [May 27, 2018, 1:28pm UTC](https://discourse.pi-hole.net/t/features-white-black-block-lists/9852/4 "2018-05-27T13:28:10Z")

</div>

> [@MJMW](#):
>
> where can i import some external whitelists from internet

this is currently not available without external scripting by yourself

---

<div class="post-metadata">

**Author:** ![MJMW](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/m/c37758/32.png) [@MJMW](https://discourse.pi-hole.net/u/MJMW)\
**Post date:** [June 9, 2018, 6:56pm UTC](https://discourse.pi-hole.net/t/features-white-black-block-lists/9852/5 "2018-06-09T18:56:20Z")

</div>

i know, it was a feature-request..

to import some whitelists like blocklists,  
i dont have a new word for that kind of collection as you found with blacklist/blocklist..  
maybe you invent one.

---

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [July 17, 2020, 8:03pm UTC](https://discourse.pi-hole.net/t/features-white-black-block-lists/9852/6 "2020-07-17T20:03:04Z")

</div>

Closing this FR.

> [@MJMW](#):
>
> a) a possibility to save / export the “list of blocklists”

This is possible with Teleporter backup function.

> [@MJMW](#):
>
> b) a possibility to have smthng like the blocklists, but for white-listing

Please vote here

> [@Subscribe to user-maintained whitelists, and whitelist from a file](https://discourse.pi-hole.net/t/subscribe-to-user-maintained-whitelists-and-whitelist-from-a-file/3327):
>
> It would be awesome to be able to subscribe to user-maintained whitelists, as well as locally hosted whitelists. I had the idea a few months ago, and created a repository with lists seperated by service type. https://github.com/deathbybandaid/pihole-whitelists [Here is on reddit where PromoFaux made a comment on the idea](https://www.reddit.com/r/pihole/comments/66dwwx/wally3k_whitelist_domain_suggestion_and_help/dgl1lnc/) Edited above from: A script I'm writing does a file loop that trims the domain name from a link. saves the domain name as a variable saves the domain-variable to a file (…

> [@MJMW](#):
>
> c) an option to save the logs in RAM instead on SD-Card…

Has been answered above by RamSet

> [@MJMW](#):
>
> that may/is not be a feature-request,  
> i need to find a solution for sd-card-backup that does not need to remove my sd-card (i expect at least stopping of several services during the backup)  
> i can provide a drive of my PC (winX) or my NAS (synology) but have not found any good idea yet…

Has been answerd by RamSet as well.

---

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [July 17, 2020, 8:03pm UTC](https://discourse.pi-hole.net/t/features-white-black-block-lists/9852/7 "2020-07-17T20:03:07Z")

</div>


