#DNS Policy w/ big.oisd.nl list

3 messages · Page 1 of 1 (latest)

shy sinew
#

Hello! I’m trying to implement adblocking into the DNS policy through (Rust) regex. I found that someone was able to format it like this:

(advert|adserv|adsystem|doubleclick|2mdn|truecaller|uberads|206ads|360in|360yield|3lift|a2z|aarki|ad2iction|adcolony|addthis|adform|adhaven|adlooxtracking|admicro|adnxs|adpushup|adroll|adsafeprotected|adsbynimbus)

I was wondering if there is a parser that I can use to convert the regex from https://big.oisd.nl/regex to the regex supported by cloudflare. I’m not familiar with regex but I would appreciate if anyone can help!

lusty shadow
#

You are not going to be able to upload a 8mb regex

sand valley
#

You can just use terrafork to upload lists with the domains of the ads and then use those lists in a policy.