question-mark

Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please provide this list in RPZ format

See original GitHub issue

Issue Description

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:

awk '{ if ($0 !~ /^#/) print $0 " CNAME ." ; else { sub(/#/, ";"); print $0 }}' combined_disguised_trackers_justdomains.txt

Please consider providing an RPZ version of this list in addition to the AdBlock formatted version.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
ppaepscommented, Aug 12, 2021

Hooray! Thanks for the merge @adguard!

4reactions
ppaepscommented, Jul 28, 2021

@dnmTX You’ll want to add a ;/^$/d;$G or something similar (;$a\, ;$s/$/\'$'\n'$'/, depending on your mood) to ensure there’s a newline at the end of the output file. Some DNS servers (e.g. NSD) will cry about files that don’t end with a newline.

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. 🙏

Read more comments on GitHub >

github_iconTop Results From Across the Web

BIND9 - Response Policy Zone Configuration
The BIND9.10 feature set is defined here (RPZ Format 3). ... An allow-query statement listing all slave servers or referencing an ACL clause ......
Read more >
DNS Response Policy Zones
Domain Name Service Response Policy Zones (DNS RPZ) is a method that ... on top of the global DNS to provide alternate responses...
Read more >
Response Policy Zones
When you create RPZ yourself, it is often called a “Local RPZ”. Local RPZs typically consist of whitelist and blacklist items that your...
Read more >
Tutorial on Configuring BIND to use Response Policy ...
very basic sample configuration. ... RPZ provides a way to “rewrite” a DNS response. ... You will see a new directory created called...
Read more >
How to define your DNS RPZ Zones for logging
Learn how to setup your DNS server to collect RPZ logs. ... This command will give you access to the necessary libraries.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found