# Reseting Pi-hole Default Blacklist

**URL:** <https://discourse.pi-hole.net/t/reseting-pi-hole-default-blacklist/33152>\
**Category:** Customizing Pi-hole\
**Created:** [May 23, 2020, 7:22am UTC](https://discourse.pi-hole.net/t/reseting-pi-hole-default-blacklist/33152 "2020-05-23T07:22:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hot2use](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/hot2use/32/15832_2.png) [@hot2use](https://discourse.pi-hole.net/u/hot2use)\
**Post date:** [May 23, 2020, 7:22am UTC](https://discourse.pi-hole.net/t/reseting-pi-hole-default-blacklist/33152/1 "2020-05-23T07:22:39Z")

</div>

After upgrading my pi-hole from version 4.0 to version 5.0 I went ahead and deleted all the adlists in order to run `pihole -g` to update the database. What I didn't realize at the time, was that pi-hole still has to rely on a list of adlists to populate the database.

After searching for a couple of hours on the internet for a list of default adlists provided with the initial installation of pi-hole, the only reference I found was a screen shot on the GitHub page.

[https://github.com/pi-hole/graphics/blob/22dd62825e88c34e090b48e3bc5f4e9819ad25ec/Screenshots/v4\_pihole\_blocklist\_settings.png](https://github.com/pi-hole/graphics/blob/master/Screenshots/v4_pihole_blocklist_settings.png)  
_(doesn't display correctly)_

The screen shot contains the following items:

`https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts`  
`https://mirror1.malwaredomains.com/files/justdomains`  
`https://sysctl.org/cameleon/hosts` (actually without SSL)  
`https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist` (results in zero additons)  
`https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt`  
`https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt`  
`https://hosts-file.net/ad_servers.txt`

I couldn't find this list in written form anywhere in the pi-hole documentation or in the forum.

Would it be possible to add **an actual list of the default adlists** you provide to the documentation section of pi-hole?

While this topic might be an actual feature-request, I have placed this topic in the **General | Customizing Pi-hole** section for everybody to discuss.

---

<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:** [May 23, 2020, 8:07am UTC](https://discourse.pi-hole.net/t/reseting-pi-hole-default-blacklist/33152/2 "2020-05-23T08:07:17Z")

</div>

> [@Restoring default Pi-hole adlist(s)](https://discourse.pi-hole.net/t/restoring-default-pi-hole-blocklists/32323):
>
> Pi-hole ships with optional adlist(s) (publicly maintained block lists), which you can enable if you choose. If you find that you need to restore the default list(s), they are as follows - current as of the V5.2 release and a pending change to remove a discontinued list. https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts To restore these lists to your Pi-hole, you have several options: Pi-hole V4: From the web Admin GUI \> Settings \> Blocklists you can paste any of the URL's …

> [@Reset list of adlists to defaults](https://discourse.pi-hole.net/t/reset-list-of-adlists-to-defaults/32832/5):
>
> I just tried pihole -r with no adlists and I still have no adlists: [i] Building tree... [✗] Unable to build gravity tree in /etc/pihole/gravity\_temp.db Error: no such table: main.gravity [i] Number of gravity domains: 0 (0 unique domains) [i] Number of exact blacklisted domains: 0 [i] Number of regex blacklist filters: 0 [i] Number of exact whitelisted domains: 0 [i] Number of regex whitelist filters: 0 [✓] Flushing DNS cache [✓] Cleaning up stray matter

---

<div class="post-metadata">

**Author:** ![hot2use](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/hot2use/32/15832_2.png) [@hot2use](https://discourse.pi-hole.net/u/hot2use)\
**Post date:** [May 23, 2020, 8:59am UTC](https://discourse.pi-hole.net/t/reseting-pi-hole-default-blacklist/33152/3 "2020-05-23T08:59:32Z")

</div>

Thank you for the links. I added the following text to the first original topic:

> Could we add some tags to this post and pin it? While the title states blocklists, the actual configuration is for adlists. The word blacklist also pops to mind when thinking about finding the correct information.

And if the original documentation could encompass this information, then I guess this would benefit the whole pi-hole community. However, that is currently possibly only my opinion.

---

<div class="post-metadata">

**Author:** ![triatic](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/t/258eb7/32.png) [@triatic](https://discourse.pi-hole.net/u/triatic)\
**Post date:** [May 23, 2020, 11:55am UTC](https://discourse.pi-hole.net/t/reseting-pi-hole-default-blacklist/33152/4 "2020-05-23T11:55:13Z")

</div>

Documentation will likely become out of date as Adlists are altered. I would suggest the better solution is to fix `pihole -r` when the list of Adlists is empty.

I raised a bug report for this issue: [Pi-hole fails to restore default list of adlists · Issue #3402 · pi-hole/pi-hole · GitHub](https://github.com/pi-hole/pi-hole/issues/3402)

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [May 23, 2020, 1:51pm UTC](https://discourse.pi-hole.net/t/reseting-pi-hole-default-blacklist/33152/5 "2020-05-23T13:51:57Z")

</div>

> [@hot2use](#):
>
> if the original documentation could encompass this information, then I guess this would benefit the whole pi-hole community

I don't think the documentation is the correct place for that. The documentation explains program operation and options. We have the FAQ section for just this type of question, and this one was just updated in the past two weeks for V6. As you noted, this one may have been difficult to find, and the wording and tagging has been updated.

You can find the adlists that ship with Pi-hole in the source code of the installer script. This is always current and available online:

> <https://github.com/pi-hole/pi-hole/blob/4d25f695267590b61a4061f9bb43448005d99b85/automated%20install/basic-install.sh#L1226>
