Setup Pihole To Block Adult Websites (Porn)
Overview
Pihole was designed with the purpose of blocking ads and/or advertisement domains. However, we can use the same technology to block adult domains (porn) as well. We can kill two birds with one stone.
Ad-lists that block adult websites (porn)
- I've found a lot of porn ad-lists and added all of them below.
- I've sorted by date, so you can see actively-maintained lists on top.
- Since I've added this on 2020-05-22, you can look at that as the latest date.
Name | Updated | # of domains | Add link to Pihole | Source |
---|---|---|---|---|
cbuijs | 2020-05-22 | 727,922 | Add link to Pihole | Source |
SteveBlack | 2020-05-22 | 77,201 | Add link to Pihole | Source |
mhhakim | 2020-05-22 | 17,802 | Add link to Pihole | Source |
Clefspeare13 | 2020-05-17 | 8,961 | Add link to Pihole | Source |
energized.pro | 2020-05-14 | 368,695 | Add link to Pihole | Source |
Sinfonietta | 2020-04-15 | 14,433 | Add link to Pihole | Source |
chadmayfield | 2019-12-02 | 11,868 | Add link to Pihole | Source |
chadmayfield | 2019-12-02 | 1,906,596 | Add link to Pihole | Source |
blocklist | 2019-03-18 | 2,154,201 | Add link to Pihole | Source |
mhxion | 2018-08-03 | 31,187 | Add link to Pihole | Source |
CyanideBrother | 2018-02-04 | 352,338 | Add link to Pihole | Source |
Which ones to choose?
- You can choose ad-lists that are frequently updated
- You can choose ad-lists with most domains
- You can choose ad-lists which have a good community following (ex. stars on Github)
Up to you! Yes, you can use multiple if you want!
How to exclude one or more clients
We can also exclude a device from filtering these adult websites.
- Pihole, Group Management, Groups, Add new:
- Name:
AllowPorn
- Description:
AllowPorn
- This will add the group below
- Name:
- Pihole, Group Management, Clients
- Select a device from the dropdown
- Comment: (Name of Device)
- This will add the client below
- Change Group Assignment from Default to AllowPorn (only)
- Pihole, Group Management, Adlists
- For each porn ad-list, select Group Assignment
- Change from Default to AllowPorn (only)
- For all other non-porn ad-lists, select Group Assignment
- Change from Default to All (only)
- For each porn ad-list, select Group Assignment
Double the Protection
tip
In addition to using Pihole to block DNS domains, we can use public DNS resolvers that block porn as well.
Which public DNS servers block porn domains as well?
- Cloudflare (new DNS servers, since April 2020)
1.1.1.3
1.0.0.3
- OpenDNS (since June 2010)
208.67.222.123
208.67.220.123
Using these Public DNS servers will double your protection against adult websites (porn).