oznu / dns-zone-blacklist

This project generates dnsmasq, bind and unbound zone files to be used in DNS based AD Blockers.
https://hub.docker.com/r/oznu/dns-ad-blocker
MIT License
169 stars 24 forks source link

hosts file #11

Closed sido420 closed 3 years ago

sido420 commented 5 years ago

In addition to DNS zone files, can you also add functionality to generate hosts file? It shouldn't be too hard I believe. The use-case is for personal computers.

The other project StevenBlack/hosts where you collect data from uses python.

Also, does this project include data from all sources mentioned in https://github.com/StevenBlack/hosts#list-of-all-hosts-file-variants?

bahirul commented 3 years ago

@sido420 you can try my script for generating hosts file, pihole, and bind rpz format.

https://github.com/bahirul/dns-blacklist

oznu commented 3 years ago

The source data is a hosts file, so it doesn't make much sense to convert it back to a hosts file.