-
Notifications
You must be signed in to change notification settings - Fork 36
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
Please provide this list in RPZ format #13
Comments
@ppaeps
👍 |
Hah! You are not wrong. sed would be easier than awk. I put together that one-liner from a larger (more gruesome) awk script that converts and combines a bunch of blocklists into an RPZ for me. :) Since the nice folks of @AdguardTeam are already providing a list in AdBlock format, it shouldn't be too much of a hardship for them to add the additional one-liner to produce RPZ too. More formats, more better. The easier we can make it for everyone to block these cretins, the less incentivised more cretins will be to join the party and the slower these lists grow. |
@ppaeps as i'm really not familar with RPZ format i see in your script you're substituting |
An example in the RFC @ https://tools.ietf.org/id/draft-vixie-dnsop-dns-rpz-00.html#rfc.appendix.A does show such commenting. |
Thanks @TPS 👍 For some reason i couldn't find it. Anyway,here is reworked final Result(partial sample):
|
@dnmTX You'll want to add a This is all academic though. I just submitted pull request #14 which generates the RPZ formatted files directly. It would be great if @AdguardTeam could merge this. 🙏 |
Philip @ppaeps your wish came through(congrats 👏 😄 ) so you can close the issue here if you want 👍 |
Hooray! Thanks for the merge @adguard! |
what diff use IN and without IN in cname |
How about this command? awk '{print $1" IN CNAME ."}' combined_disguised_trackers_justdomains.txt >> combined_disguised_trackers_justdomains.zone |
No difference. Check section 5.1 of RFC 1035. "Omitted class [...] default to the last explicitly stated values". In practice, every DNS implementation I've encountered, defaults them to IN even when they don't appear anywhere in a zone file. |
This list is very useful; many thanks!
It would be even more useful if it were in RPZ format. This (horrible) awk hack does exactly that:
Please consider providing an RPZ version of this list in addition to the AdBlock formatted version.
The text was updated successfully, but these errors were encountered: