Skip to content

Blocklists of adult contents in different formarts including DNS RPZ and the fucked up hosts file formatting

License

Notifications You must be signed in to change notification settings

kakamband/porn-records

Repository files navigation

Codacy Badge Build Status

Porn Domains

This is an endeavour to find all porn domains and list them in the shortest as possible format it can be done. This means we are not generating any pre- configured output zone files in this project, we are simply only storing, and verifying the availability's of the records.

We do however serve a fully DNS RPZ Firewall zone from adult.mypdns.cloud purely based of the records from this repository.

DNS zones

If you are so lucky that you have updated your system to use a DNS resolver rather than abusing your disk-IO with the hosts file, we also generate a few zone files for Unbound, dnsmasq and regular RPZ supported resolvers.

Note: If you'll read more about why you should switch to a local DNS resolver, Please read this wiki

hosts file Location

You can see the full matrix for hosts file locations here: https://www.mypdns.org/w/dnshosts/#location-in-the-file-system

Safe search enabled

Additionally, there is a new source file which will enforce Safe Search in the safer and privacy enhanged duckduckgo.

For unsafe search portals, we have added Bing and Google "safe search ips".

However it has not been tested yet as both are blocked privately for SpyWare issues with both domains in question. It can be found here

Submit

This is where you contributes with new domains matching any of these sub files.

lang=shell, name=submit_here, lines=10
submit_here/
├── domains.list
├── hosts.txt
├── mobile.txt
├── README.md
├── rpz-ip
├── snuff.list
├── strict_adult.list
├── whitelist.list
├── wildcard.list
└── wildcard.rpz-nsdname
File Contents / Category
domains.list This file is only for domains that do can not be blocked with the wildcard.list. This is a list of subdomains, which solely is used for porn hosting, This file is relevant in ie. open blogs domains as *.blogspot.TLD.
hosts.txt Domain who solely serves Porno in hosts file formatted files requirement. This list is unrelated to domains.list and only supplementary to hosts files generation, such as lang.$domain.TLD or cdn.$domain.TLD
mobile.txt Same as hosts.txt but only mobile specific domains like m.example.net as this is otherwise covered by the wildcard.list
README.md This File
rpz-ip To block any porn hosted over ip addresses, yes, yet another cool DNS RPZ feature, hosts files doesn't have 😃
snuff.list Snuff Porno (No wildcard this far as the zone is way to small for that) These records will be part of the adult.mypdns.cloud RPZ Firewall zone
strict_adult.list This is the VERY strict list containing domain with a mixed content like ex. 4chan.org or fastpic.ru. It will later be served as strict.adult.mypdns.cloud RPZ Firewall zone
wildcard.list Domain who solely serves Porno in wildcard formats used for proper DNS recursors that understand DNS RPZ
wildcard.rpz-nsdname This file will blacklist all DNS AUTH servers, that is solely used for serving porn. By using a zone like this, we can actually minimize the entire quit a bit, as ex. all .xxxdomains is served from the same root server 😃
whitelist.list The locally hosted list for domains that never should be put into any of the above categories or lists

Combining the lists

DNS RPZ Firewall

If you like the rest of the world who knows just a bit about DNS and how a OS (Operating System) is doing it's queries over the network protocols, you have of curse updated your local network with a DNS resolver that do support the Response Policy zones in full, such as the PowerDNS Recursor or ICS Bind9+.

In this case you'll only need to combine the following files, preferred by The "NXDOMAIN" Action:

  • domains.list
  • rpz-ip
  • snuff.list
  • strict_adult.list (Optional as this is tight ass blocking)
  • wildcard.list
  • wildcard.rpz-nsdname

Hosts files

If you are stocked on the very weird and extremely outdated way of blocking DNS queries with a hosts file. You'll need to combine all the above files into a flat hosts file with the exception of README.md, rpz-ip and wildcard.rpz-nsdname, however, this //WILL// gives you to many records, as not necessary all domains are served over both www.$domain.tld and $domain.tld equally, you will however be covered in full.

Contributing

Any helpful contributions are appreciated

About

Blocklists of adult contents in different formarts including DNS RPZ and the fucked up hosts file formatting

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published