Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

also sort the whitelist that is generated #1

Open
ajayramaswamy opened this issue Mar 1, 2020 · 0 comments
Open

also sort the whitelist that is generated #1

ajayramaswamy opened this issue Mar 1, 2020 · 0 comments

Comments

@ajayramaswamy
Copy link

I have been playing with the output of this progam for the last 2 days to give me dns rpz blocklists with unbound-1.10

I have used the nextdns.io blocklist as a starting point they have a large number of curated lists at https://github.com/nextdns/metadata

first I generated the text list from my feeds then I used awk to make zone files
format for whitelist zone file is lines like this

so perhaps you may want to make an additional output format too

v10.events.data.microsoft.com.wl.example.com. IN CNAME rpz-passthru. *.v10.events.data.microsoft.com.wl.example.com. IN CNAME rpz-passthru. settings-win.data.microsoft.com.wl.example.com. IN CNAME rpz-passthru. *.settings-win.data.microsoft.com.wl.example.com. IN CNAME rpz-passthru. s.youtube.com.wl.example.com. IN CNAME rpz-passthru. *.s.youtube.com.wl.example.com. IN CNAME rpz-passthru.

and also for your reference the format of blaclist rpz zone lines when blocking domains

ap76rmx3.accountant.rpz.krithika.net. IN CNAME . *.ap76rmx3.accountant.rpz.krithika.net. IN CNAME . chameleon.ad.rpz.krithika.net. IN CNAME . *.chameleon.ad.rpz.krithika.net. IN CNAME . content.ad.rpz.krithika.net. IN CNAME . *.content.ad.rpz.krithika.net. IN CNAME . token.ad.rpz.krithika.net. IN CNAME . *.token.ad.rpz.krithika.net. IN CNAME . something-wrong5.agency.rpz.krithika.net. IN CNAME . *.something-wrong5.agency.rpz.krithika.net. IN CNAME .

for just blocking a single host

www.weknow.ac.rpz.example.com. IN CNAME . apple.com-analysis-safety-antimalware-support.accountant.rpz.example.com. IN CNAME . files.native.ad.rpz.example.com. IN CNAME . centro.pixel.ad.rpz.example.com. IN CNAME . ads.emirates.net.ae.rpz.example.com. IN CNAME .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant