chark1es
CDCloudflare Developers
•Created by chark1es on 8/1/2023 in #general-help
DNS Policy w/ big.oisd.nl list
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!
3 replies